CN110597511B - Page automatic generation method, system, terminal equipment and storage medium - Google Patents

Page automatic generation method, system, terminal equipment and storage medium Download PDF

Info

Publication number
CN110597511B
CN110597511B CN201910764778.2A CN201910764778A CN110597511B CN 110597511 B CN110597511 B CN 110597511B CN 201910764778 A CN201910764778 A CN 201910764778A CN 110597511 B CN110597511 B CN 110597511B
Authority
CN
China
Prior art keywords
page
data
module
configuration
rule
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.)
Active
Application number
CN201910764778.2A
Other languages
Chinese (zh)
Other versions
CN110597511A (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.)
Shenzhen Handhui Technology Group Co ltd
Original Assignee
Shenzhen Handhui Technology Group 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 Shenzhen Handhui Technology Group Co ltd filed Critical Shenzhen Handhui Technology Group Co ltd
Priority to CN201910764778.2A priority Critical patent/CN110597511B/en
Publication of CN110597511A publication Critical patent/CN110597511A/en
Application granted granted Critical
Publication of CN110597511B publication Critical patent/CN110597511B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The invention is applicable to the technical field of computers, and provides an automatic page generation method, an automatic page generation system, terminal equipment and a storage medium, wherein the automatic page generation method comprises the steps of receiving a page generation request of a front end; acquiring background page configuration data according to the page generation request; acquiring module information required by generating a pre-generated page from the configuration data; and rendering and generating a target page on the corresponding page template according to a preset rule and the module information. The automatic page generation method avoids secondary development, reduces development cost and time cost, and improves overall efficiency; and the page generated through the automatic configuration of the system has a uniform format and higher readability.

Description

Page automatic generation method, system, terminal equipment and storage medium
Technical Field
The invention belongs to the technical field of computers, and particularly relates to an automatic page generation method, an automatic page generation system, terminal equipment and a storage medium.
Background
The development of the web purchasing process page at present requires various coordination, such as code writing of the page, design of page patterns, text description information of the page and the like. Therefore, the existing webpage generation process is complicated, cooperation of multiple parties is needed, and especially, each time a new product appears, new network flow page development needs to be carried out, so that the development cost is high and the efficiency is low; moreover, the existing page generation process is too complicated, and the page can not be quickly and automatically generated in a short time.
Disclosure of Invention
In view of the above, the embodiments of the present invention provide a method, a system, a terminal device and a storage medium for automatically generating a page, so as to solve the problem of repeatedly designing and developing pages in the prior art.
A first aspect of an embodiment of the present invention provides a method for automatically generating a page, including:
receiving a page generation request of a front end;
acquiring background page configuration data according to the page generation request;
acquiring module information required by generating a pre-generated page from the configuration data;
and rendering and generating a target page on the corresponding page template according to a preset rule and the module information.
In one embodiment, the obtaining module information required for generating the pre-generated page from the configuration data includes:
acquiring pre-generated page information according to the page generation request;
acquiring required configuration rules and required module information according to the pre-generated page information;
analyzing the configuration data according to a preset protocol and extracting the configuration rule and the module information from the configuration data.
In one embodiment, the parsing the configuration data according to a preset protocol and extracting the configuration rule and the module information from the configuration data includes:
acquiring element information contained in a module required by the pre-generated page;
initializing the configuration data and extracting element information, module information and configuration rules required by the pre-generated page from the initialized configuration data, wherein the configuration rules comprise module rules, element-to-module rules and element-to-element rules.
In one embodiment, the rendering the target page on the corresponding page template according to the preset rule and the module information includes:
determining a page template and configuring the preset rule of the page according to the pre-generated page;
updating rendering data according to the page template and the configuration rule;
and rendering and generating a target page on the page template according to a preset rule and the rendering data.
In one embodiment, after rendering and generating the target page on the corresponding page template according to the preset rule and the module information, the method further includes:
receiving data input by a user;
verifying the data input by the user;
if the data input by the user passes the verification, updating the rendering data and rendering the current page;
if the verification of the data input by the user fails, the error is reported and the error data is prompted.
In one embodiment, after rendering and generating the target page on the corresponding page template according to the preset rule and the module information, the method further includes:
acquiring a target element corresponding to data input by a user;
updating the attribute of the target element according to the data input by the user;
and defining the attribute interval of the element with the association relation with the target element according to the association rule among the elements.
A second aspect of an embodiment of the present invention provides an automatic page generation system, including:
the receiving module is used for receiving the page generation request of the front end;
the first acquisition module is used for acquiring the background page configuration data according to the page generation request;
the second acquisition module is used for acquiring module information required by generating a pre-generated page from the configuration data;
and the generation module is used for rendering and generating a target page on the corresponding page template according to the preset rule and the module information.
A third aspect of an embodiment of the present invention provides a terminal device, including:
a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the page generation method according to the aforementioned first aspect when executing the computer program.
A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the page generation method according to the foregoing first aspect.
The embodiment of the invention has the beneficial effects that:
the invention provides an automatic page generation method, an automatic page generation system, terminal equipment and a storage medium, which can automatically generate corresponding pages through configuration data preset in a background without repeatedly developing the pages, and can directly display the corresponding pages according to the requirements of users so that the users can quickly make decisions; the page is generated through the configuration of the module information and the rule data corresponding to the background, so that secondary development is avoided, development cost and time cost are reduced, and overall efficiency is improved; and the page generated through the automatic configuration of the system has a uniform format and higher readability.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of an automatic page generation method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of acquiring module information required for generating a pre-generated page from the configuration data according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of analyzing configuration data according to a preset protocol and extracting the configuration rule and the module information from the configuration data according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a process of rendering a target page on a corresponding page template according to preset rules and the module information according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an automatic page generation system according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution of an embodiment of the present invention will be clearly described below with reference to the accompanying drawings in the embodiment of the present invention, and it is apparent that the described embodiment is a part of the embodiment of the present invention, but not all the embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
The term "comprising" in the description of the invention and the claims and in the above figures and any variants thereof is intended to cover a non-exclusive inclusion. For example, a process, method, or system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed but may optionally include additional steps or elements not listed or inherent to such process, method, article, or apparatus. Furthermore, the terms "first," "second," and "third," etc. are used for distinguishing between different objects and not for describing a particular sequential order.
Example 1
As shown in fig. 1, the method for automatically generating a page provided in this embodiment includes:
s101: a page generation request of a front end is received.
In the application, the function of the home page is used for displaying corresponding upper-level information, and the home page generally does not have larger change, so the home page can be pre-generated, of course, when the content of the home page needs to be changed, the rendering data of the home page can be updated so as to change the home page to a certain extent, and the method sends a corresponding page generation request to the background by detecting a corresponding link selected by a user on the home page; in addition to the above, the home page generation may be performed when the user requests to view the home page, and this manner may vary significantly from the home page.
S102: and acquiring background page configuration data according to the page generation request.
In the application, the page configuration data may be total configuration data including module information, element information and configuration rules of all types of pages, and the total configuration data is directly obtained when a page generation request of a front end is received; the page configuration data can be divided into different configuration data according to the page type correspondence, the configuration data corresponding to the page comprises module information, element information and configuration rules required by generating the page of the type, when a page generation request of the front end is received, the type of the page requested to be generated is judged, and the corresponding configuration data is obtained according to the page type.
The module information comprises a module identification (id), a key value (key), a module replicable category, the maximum and minimum sub-module number in the replicable module category and elements contained in the module, and the element information comprises the id, the key, a name, a type, a default value, a default display and hidden, whether the information is transmitted, a unit, a default message file, constrained elements and constrained elements.
S103: and acquiring module information required for generating the pre-generated page from the configuration data.
In an application, the configuration data includes module backup data, module rule data, preference data, cache data, page template data.
The module backup data is backup data converted based on the source data and can be used for adding modules, wherein the initialization module backup data also comprises element data corresponding to a module name and function management data, and the function management data is used for managing corresponding elements, such as endowing enumeration element type data with selectable attributes and carrying out format processing on the elements.
The module rule data is configuration rule data, the application page is composed of all modules, and after the module backup data is initialized, the rule data needs to be extracted from the module backup data for updating the rendering data.
The configuration rule data not only has dynamic rules configured in the background, but also has static rules defaulted by the system, for example, when insurance is applied, the insured defaults only one father, one mother, one spouse and one principal; when the applicant and the insured person are the same, the elements of the modules of the applicant and the insured person are compared, and the element values of the same key of the insured person are assigned as the element values of the same key of the applicant.
In one embodiment, as shown in fig. 2, S103 includes the steps of:
s201: and acquiring pre-generated page information according to the page generation request.
The type and the function of the pre-generated page can be known according to the page generation request, and if the background configuration data is divided into different configuration data according to the type of the page, the configuration data corresponding to the pre-generated page can be determined.
S202: and acquiring required configuration rules and required module information according to the pre-generated page information.
S203: analyzing the configuration data according to a preset protocol and extracting the configuration rule and the module information from the configuration data.
The configuration rule data comprises rules of modules, rules of modules and elements and rules between elements.
In an application, taking the replicable rule of a module as an example, assuming that the module is of replicable type, it is necessary to extract the default minimum number of modules and the maximum minimum number of modules that can be replicated.
Taking an insurance product as an example, if a certain insurance product A supports 1-3 insured persons to apply for insurance, the rules of the insured person modules of the background configuration data are as follows: the insured life module is of replicable type, the default number of modules is 1, the maximum number of replications is 3, and the minimum number of replications is 1.
And forming page format data according to the extracted configuration rules and the module backup data, carrying in the data according to the page format data processing system to generate final page data, and updating rendering data according to the final page data.
In one embodiment, further, as shown in fig. 3, S203 includes the steps of:
s301: and acquiring element information contained in a module required by the pre-generated page.
The module comprises a plurality of elements, and the attributes of the required elements can be further acquired according to the association rule of the elements and the module according to the names of the elements contained in the module.
S302: initializing the configuration data and extracting element information, module information and configuration rules required by the pre-generated page from the initialized configuration data, wherein the configuration rules comprise module rules, element-to-module rules and element-to-element rules.
In the application, the element self-verification rule and the association rule of the element and other elements can be extracted according to the element attributes and the association relation between the elements.
For example, if the value of the insured life element is greater than 50 years, 20 ten thousand insured amount cannot be selected. The background configuration rule of the product is as follows: the insurance element type in the insurance scheme is enumeration type, the front end display type is tiling selection type, the insurance element value is 10 ten thousand, 15 ten thousand and 20 ten thousand, and the association rule of the insurance element and the insured age element is as follows: if the insured life age element value is greater than 50 years old, the insured life element value is excluded from 20 ten thousand.
For another example, if a certain insurance product specifies that when the type of the secured document selects the birth certificate, the sex and the birth date are hidden, the association rules of the document element, the sex element and the birth date element in the secured module of the product are as follows: if the certificate element type of the protected person module is a birth certificate, the sex element information and the birth date information of the protected person module are hidden.
After the pre-generated page information is obtained, the background can obtain corresponding module information, element information and configuration rules from corresponding configuration data according to preset rules.
For example, when the generated page is an insurance product insurance information filling page, confirming that the pre-generated page is an information acquisition page, and because the insurance information filling page needs to acquire information of an insured person, an insured person and a beneficiary, generating an insurance test calculation page needs to acquire information of the insured person, the insured person and a beneficiary module and corresponding rules from corresponding configuration data; of course, rules may be set in the background in advance to generate what information needs to be acquired for what page, and the triggering condition of the rules may be the name of the page, or may be a specific code of the page, or may be other unique conditions for identifying the page.
S104: and rendering and generating a target page on the corresponding page template according to a preset rule and the module information.
In one embodiment, as shown in fig. 4, S104 includes the steps of:
s401: and determining a page template and configuring the preset rule of the page according to the pre-generated page.
In the application, there may be multiple page templates, and the preset rules corresponding to the pages configured by different page modules may also be different, so after determining the page templates, the relevant preset rules need to be determined according to the page templates.
S402: and updating rendering data according to the page template and the configuration rule.
In addition to the default values of the configurable elements, the background can also have system brought-in data, including preferred data and cached data.
The cache data is data stored in a front page and is used for designating a page name and an id and a key of an insurance commodity, and the cache data is actual data of the whole page. When the user refreshes, the front-end cache is stored in the rendering data, and then the page is updated according to the rendering data.
After the user logs in the corresponding page, the background can inquire the historical data of the user stored in the server, if the user is in the corresponding page, the historical data of the user is extracted, meanwhile, the preferred data in the interface returns the historical data of the user, the historical data of the user is processed according to the corresponding rule, and the rendering data is updated according to the historical data of the user.
For example, the insurance product A insurance information page module is configured with only 1 insurance applicant module, 1 to 3 insured modules, and 1 insured module is displayed by default. The user history data comprises 2 applicant data and 2 insured person data, the first one of the applicant and insured person arrays is selected according to a module rule, the number of the insured person modules is preferably larger than the default number of the insured person modules, 1 insured person module is added in combination with initialized module backup data, the number of the insured person modules is 2 at the moment, module elements are traversed, and element values in the modules are assigned to element values in the user history data.
According to the display requirement of the front-end page component, description fields are required to be added to elements such as enumeration type, date type and occupation type, element information and configuration rules in configuration data can be obtained according to display rules, the element information is adjusted or limited according to corresponding verification rules, and then rendering data is updated according to the adjusted or limited element information and the configuration rules.
S403: and rendering and generating a target page on the page template according to a preset rule and the rendering data.
In the application, after the page template, the preset rule and the rendering data are determined, the corresponding data are transmitted to the front end, and the front end generates a target page according to the data transmitted by the background.
In one embodiment, S104 further comprises, after:
receiving data input by a user;
verifying the data input by the user;
if the data input by the user passes the verification, updating the rendering data and rendering the current page;
if the verification of the data input by the user fails, the error is reported and the error data is prompted.
In the application, the attribute interval of some elements is limited in scope, for example, the identification card number element, because the identification card number is composed of numbers and letters, when characters which do not belong to the numbers and the letters appear, it is determined that the data input by a user exceeds the attribute interval of the identification card number element, so that verification failure is caused, and error information is displayed at the corresponding position.
The verification method of the elements is as follows, all rules of the elements are verified, the elements are verified according to the self verification rules, whether the self value range is correct or not is verified, if the self value range does not pass, the corresponding error message is prompted, and other elements are not affected by downward association.
Further, after S104, the method further includes:
acquiring a target element corresponding to data input by a user;
updating the attribute of the target element according to the data input by the user;
and defining the attribute interval of the element with the association relation with the target element according to the association rule among the elements.
In the application, the elements have association rules, if the verification of one element passes, the verification of other elements associated with the element is continued according to the extracted association rules of the other elements, and whether the association rules are met is judged.
For example, the credential number element value has an association with a credential type element. When the certificate type element is selected as an identity card, the attribute of the element of the certificate type is changed, and the value of the certificate number element is an element value consisting of digits and letters according to the association rule of the certificate number element and the certificate type element. If the element value exceeds the defined attribute interval, prompting the corresponding error message case, and canceling the downward verification.
The invention provides an automatic page generation method, which can automatically generate corresponding pages through configuration data preset in the background without repeatedly developing the pages, and can directly display the corresponding pages according to the requirements of users, so that the users can quickly make decisions; the page is generated through the configuration of the module information and the rule data corresponding to the background, so that secondary development is avoided, development cost and time cost are reduced, and overall efficiency is improved; and the page generated through the automatic configuration of the system has a uniform format and higher readability.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
Example two
As shown in fig. 5, the present embodiment provides an automatic page generating system for executing the method steps in the first embodiment, the automatic page generating system including: a receiving module 51, a first acquiring module 52, a second acquiring module 53, a generating module 54.
A receiving module 51, configured to receive a page generation request from a front end;
a first obtaining module 52, configured to obtain page configuration data of a background according to the page generation request;
a second obtaining module 53, configured to obtain, from the configuration data, module information required for generating a pre-generated page;
and the generating module 54 is used for rendering and generating a target page on the corresponding page template according to the preset rule and the module information.
In one embodiment, the second obtaining module 53 includes:
the first acquisition unit is used for acquiring pre-generated page information according to the page generation request;
the second acquisition unit is used for acquiring required configuration rules and required module information according to the pre-generated page information;
the first extraction unit is used for analyzing the configuration data according to the preset protocol and extracting the configuration rule and the module information from the configuration data.
In one embodiment, the first extraction unit comprises:
the third acquisition unit is used for acquiring element information contained in a module required by the pre-generated page;
and the second extraction unit is used for initializing the configuration data and extracting element information, module information and configuration rules required by the pre-generated page from the initialized configuration data, wherein the configuration rules comprise module rules, element-to-module rules and element-to-element rules.
In one embodiment, the generation module 54 includes:
the determining unit is used for determining a page template and configuring the preset rule of the page according to the pre-generated page;
the updating unit is used for updating the rendering data according to the page template and the configuration rule;
and the generation unit is used for rendering and generating a target page on the page template according to a preset rule and the rendering data.
In one embodiment, the automatic page generation system further comprises:
the data receiving module is used for receiving data input by a user;
the verification module is used for verifying the data input by the user;
the rendering module is used for updating the rendering data and rendering the current page when the data input by the user passes the verification;
and the error reporting module is used for reporting errors and prompting error data when the data input by the user fails to verify.
In one embodiment, after rendering and generating the target page on the corresponding page template according to the preset rule and the module information, the method further includes:
the element acquisition module is used for acquiring a target element corresponding to the data input by the user;
the updating module is used for updating the attribute of the target element according to the data input by the user;
and the limiting module is used for limiting the attribute interval of the element with the association relation with the target element according to the association rule among the elements.
The invention provides an automatic page generation system, which can automatically generate corresponding pages through configuration data preset in the background without repeatedly developing the pages, and can directly display the corresponding pages according to the requirements of users, so that the users can quickly make decisions; the page is generated through the configuration of the module information and the rule data corresponding to the background, so that secondary development is avoided, development cost and time cost are reduced, and overall efficiency is improved; and the page generated through the automatic configuration of the system has a uniform format and higher readability.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
Example III
As shown in fig. 6, fig. 6 is a schematic diagram of a terminal device according to an embodiment of the present invention, where the terminal device 6 includes: a processor 60, a memory 61 and a computer program 62, such as a configuration data parser, stored in the memory 61 and executable on the processor 60. The steps in the above-described respective page automatic generation method embodiments are implemented when the processor 60 executes the computer program 62, for example, S101 to S104 shown in fig. 1. Alternatively, the processor 60, when executing the computer program 62, performs the functions of the modules/units of the apparatus embodiments described above, such as the functions of the modules 51 to 54 shown in fig. 5.
Illustratively, the computer program 62 may be partitioned into one or more modules/units that are stored in the memory 61 and executed by the processor 60 to complete the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program 62 in the terminal device 6. For example, the computer program 62 may be divided into a receiving module, a first acquiring module, a second acquiring module, and a generating module, where each module specifically functions as follows:
the receiving module is used for receiving the page generation request of the front end;
the first acquisition module is used for acquiring the background page configuration data according to the page generation request;
the second acquisition module is used for acquiring module information required by generating a pre-generated page from the configuration data;
and the generation module is used for rendering and generating a target page on the corresponding page template according to the preset rule and the module information.
The terminal device 6 may be a computing device such as a desktop computer, a notebook computer, a palm computer, a cloud server, etc. The terminal device may include, but is not limited to, a processor 60, a memory 61. It will be appreciated by those skilled in the art that fig. 6 is merely an example of the terminal device 6 and does not constitute a limitation of the terminal device 6, and may include more or less components than illustrated, or may combine certain components, or different components, e.g., the terminal device may further include an input-output device, a network access device, a bus, etc.
The processor 60 may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6. The memory 61 may be an external storage device of the terminal device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the terminal device 6. The memory 61 is used for storing the computer program and other programs and data required by the terminal device. The memory 61 may also be used for temporarily storing data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed terminal device and method may be implemented in other manners. For example, the above-described embodiments of the terminal device are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.

Claims (8)

1. An automatic page generation method is characterized by comprising the following steps:
receiving a page generation request of a front end;
acquiring background page configuration data according to the page generation request;
acquiring module information required by generating a pre-generated page from the configuration data, wherein the configuration data comprises module backup data, module rule data, preference data, cache data, page data and page template data; the module backup data is standby data converted based on source data and is used for adding modules, the initialization module backup data also comprises element data corresponding to the module name and function management data, and the function management data is used for managing corresponding elements; the module rule data is configuration rule data, and after the module backup data is initialized, the rule data is extracted from the module backup data so as to be used for updating rendering data;
rendering and generating a target page on a corresponding page template according to a preset rule and the module information;
the obtaining module information needed by generating the pre-generated page from the configuration data comprises the following steps:
acquiring pre-generated page information according to the page generation request;
acquiring required configuration rules and required module information according to the pre-generated page information;
analyzing the configuration data according to a preset protocol and extracting the configuration rule and the module information from the configuration data.
2. The method for automatically generating a page according to claim 1, wherein the parsing the configuration data according to a preset protocol and extracting the configuration rule and the module information from the configuration data comprises:
acquiring element information contained in a module required by the pre-generated page;
initializing the configuration data and extracting element information, module information and configuration rules required by the pre-generated page from the initialized configuration data, wherein the configuration rules comprise module rules, element-to-module rules and element-to-element rules.
3. The method for automatically generating a page according to claim 2, wherein rendering the target page on the corresponding page template according to the preset rule and the module information comprises:
determining a page template and configuring the preset rule of the page according to the pre-generated page;
updating rendering data according to the page template and the configuration rule;
and rendering and generating a target page on the page template according to a preset rule and the rendering data.
4. The automatic page generation method as claimed in any one of claims 1 to 3, wherein after rendering the generated target page on the corresponding page template according to the preset rule and the module information, further comprises:
receiving data input by a user;
verifying the data input by the user;
if the data input by the user passes the verification, updating the rendering data and rendering the current page;
if the verification of the data input by the user fails, the error is reported and the error data is prompted.
5. The method for automatically generating a page according to claim 4, wherein the rendering the target page on the corresponding page template according to the preset rule and the module information further comprises:
acquiring a target element corresponding to data input by a user;
updating the attribute of the target element according to the data input by the user;
and defining the attribute interval of the element with the association relation with the target element according to the association rule among the elements.
6. An automatic page generation system, comprising:
the receiving module is used for receiving the page generation request of the front end;
the first acquisition module is used for acquiring the background page configuration data according to the page generation request;
the second acquisition module is used for acquiring module information required by generating the pre-generated page from the configuration data, wherein the configuration data comprises module backup data, module rule data, preference data, cache data, page data and page template data; the module backup data is standby data converted based on source data and is used for adding modules, the initialization module backup data also comprises element data corresponding to the module name and function management data, and the function management data is used for managing corresponding elements; the module rule data is configuration rule data, and after the module backup data is initialized, the rule data is extracted from the module backup data so as to be used for updating rendering data;
the generation module is used for rendering and generating a target page on a corresponding page template according to a preset rule and the module information;
wherein the second acquisition module includes:
the first acquisition unit acquires pre-generated page information according to the page generation request;
the second acquisition unit acquires required configuration rules and required module information according to the pre-generated page information;
and the extraction unit analyzes the configuration data according to the preset protocol and extracts the configuration rule and the module information from the configuration data.
7. Terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the page generating method according to any of claims 1 to 5 when the computer program is executed.
8. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the page generating method according to any one of claims 1 to 5.
CN201910764778.2A 2019-08-19 2019-08-19 Page automatic generation method, system, terminal equipment and storage medium Active CN110597511B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910764778.2A CN110597511B (en) 2019-08-19 2019-08-19 Page automatic generation method, system, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910764778.2A CN110597511B (en) 2019-08-19 2019-08-19 Page automatic generation method, system, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110597511A CN110597511A (en) 2019-12-20
CN110597511B true CN110597511B (en) 2023-05-02

Family

ID=68854715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910764778.2A Active CN110597511B (en) 2019-08-19 2019-08-19 Page automatic generation method, system, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110597511B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113050921A (en) * 2019-12-26 2021-06-29 中国移动通信集团江西有限公司 Webpage conversion method, device, storage medium and computer equipment
CN111598707B (en) * 2020-04-16 2023-06-13 中国人民财产保险股份有限公司 Page generation method and electronic equipment
CN111563771A (en) * 2020-04-27 2020-08-21 深圳木成林科技有限公司 Policy ordering method and device and terminal equipment
CN112698826B (en) * 2021-03-23 2021-06-22 杭州数式网络科技有限公司 Low code page creation system, method and equipment
CN113139075A (en) * 2021-04-25 2021-07-20 中国工商银行股份有限公司 Method and device for generating customer insurance transaction interface image

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109739604A (en) * 2018-12-28 2019-05-10 北京城市网邻信息技术有限公司 Page rendering method, apparatus, server and storage medium
CN110020321A (en) * 2018-04-13 2019-07-16 深圳壹账通智能科技有限公司 Generation method, device, equipment and the computer storage medium of product index

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710328A (en) * 2018-08-20 2019-05-03 深圳壹账通智能科技有限公司 Page configuration method, apparatus, equipment and readable storage medium storing program for executing
CN109388396A (en) * 2018-09-18 2019-02-26 深圳壹账通智能科技有限公司 Page generation method, device, computer equipment and storage medium
CN109901834B (en) * 2019-01-25 2023-12-26 平安科技(深圳)有限公司 Document page generation method, device, computer equipment and storage medium
CN110007999A (en) * 2019-04-15 2019-07-12 成都四方伟业软件股份有限公司 Page layout method, device and computer readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110020321A (en) * 2018-04-13 2019-07-16 深圳壹账通智能科技有限公司 Generation method, device, equipment and the computer storage medium of product index
CN109739604A (en) * 2018-12-28 2019-05-10 北京城市网邻信息技术有限公司 Page rendering method, apparatus, server and storage medium

Also Published As

Publication number Publication date
CN110597511A (en) 2019-12-20

Similar Documents

Publication Publication Date Title
CN110597511B (en) Page automatic generation method, system, terminal equipment and storage medium
CN108388598B (en) Electronic device, data storage method, and storage medium
CN108257031B (en) Medical insurance product issuing method and device and storage medium
CN110704519A (en) Business document conversion method and device, storage medium and computer equipment
CN107784063B (en) Algorithm generation method and terminal equipment
CN109816330B (en) Rule checking method, device, electronic equipment and computer readable storage medium
EP3457339A1 (en) Information processing system, charge calculation apparatus, and charge calculation program
CN111949550B (en) Method, device, equipment and storage medium for automatically generating test data
CN111737246A (en) Data fusion method and device, electronic equipment and storage medium
CN112115107A (en) Contract text automatic generation method and device
CN110362630B (en) Data management method, device, equipment and computer readable storage medium
CN112053058A (en) Index model generation method and device
CN110334333B (en) Information modification method and related device
CN111723210A (en) Method and device for storing data table, computer equipment and readable storage medium
CN109271564B (en) Policy query method and device
CN114595795B (en) NFC tag source tracing data processing method
CN111275436A (en) Method and terminal for processing information
CN113282837B (en) Event analysis method, device, computer equipment and storage medium
CN112579571A (en) Monitoring data configuration method, data monitoring method, device, equipment and storage medium
CN110264383B (en) Electronic contract filing method and device, readable storage medium and server
CN113434122A (en) Multi-role page creation method and device, server and readable storage medium
CN113722225A (en) Page testing method and device, computer equipment and storage medium
CN113158044A (en) Method, system, terminal equipment and storage medium for on-line full-media reading
CN112907395A (en) Client type identification method, device and equipment
CN116756226B (en) File generation method, device, server, user equipment and storage medium

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 Room 01, 20th Floor, Cuilin Building, No. 10, Kaifeng Road, Maling Community, Meilin Street, Futian District, Shenzhen, Guangdong

Applicant after: Shenzhen Handhui Technology Group Co.,Ltd.

Address before: 518000 2401e, 24 / F, Hainan Huanqing building, No. 24 Futian Road, Weizhen community, Futian street, Futian District, Shenzhen, Guangdong

Applicant before: Shenzhen muchenglin Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant