CN110597511A - 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
CN110597511A
CN110597511A CN201910764778.2A CN201910764778A CN110597511A CN 110597511 A CN110597511 A CN 110597511A CN 201910764778 A CN201910764778 A CN 201910764778A CN 110597511 A CN110597511 A CN 110597511A
Authority
CN
China
Prior art keywords
page
module
data
configuration
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910764778.2A
Other languages
Chinese (zh)
Other versions
CN110597511B (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 Muchenglin Technology Co Ltd
Original Assignee
Shenzhen Muchenglin Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Muchenglin Technology Co Ltd filed Critical Shenzhen Muchenglin Technology 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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention is suitable for the technical field of computers, and provides a method, a system, terminal equipment and a storage medium for automatically generating a page, which comprises the steps of receiving a page generation request of a front end; acquiring background page configuration data according to the page generation request; obtaining module information required for generating a pre-generated page from the configuration data; and rendering on the corresponding page template according to a preset rule and the module information to generate a target page. The automatic page generation method avoids secondary development, reduces development cost and time cost, and improves overall efficiency; and the page generated by the automatic configuration of the system has a uniform format and high 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 a page automatic generation method, a page automatic generation system, terminal equipment and a storage medium.
Background
At present, the development of the network purchasing process page needs coordination in multiple aspects, such as code writing of the page, design aiming at page patterns, character description information aiming at the page and the like. It can be seen that the existing webpage generation process is too complicated and requires cooperation of multiple personnel, and especially, a new network flow page development needs to be performed once every time a new product appears, so that the development cost is high and the efficiency is low; and 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 this, 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 a page 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;
obtaining module information required for generating a pre-generated page from the configuration data;
and rendering on the corresponding page template according to a preset rule and the module information to generate a target page.
In one embodiment, the obtaining module information required for generating a pre-generated page from the configuration data includes:
acquiring pre-generated page information according to the page generation request;
acquiring a required configuration rule and required module information according to the pre-generated page information;
and 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 the 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, rules of elements and modules, and rules of elements and elements.
In one embodiment, the rendering and generating a target page on a corresponding page template according to a preset rule and the module information includes:
determining a page template and the preset rule of the configuration page according to the pre-generated page;
updating rendering data according to the page template and the configuration rule;
and rendering on the page template according to a preset rule and the rendering data to generate a target page.
In one embodiment, after the rendering and generating the target page on the corresponding page template according to the preset rule and the module information further includes:
receiving data input by a user;
verifying data input by a user;
if the data input by the user passes the verification, updating the rendering data and rendering the current page;
and if the data input by the user fails to be verified, reporting an error and prompting error data.
In one embodiment, after the rendering and generating the target page on the corresponding page template according to the preset rule and the module information further includes:
acquiring a target element corresponding to data input by a user;
updating the attribute of the target element according to data input by a user;
and defining the attribute interval of the element having 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 a page generation request of a front end;
the first acquisition module is used for acquiring page configuration data of a background according to the page generation request;
the second acquisition module is used for acquiring module information required for generating a pre-generated page from the configuration data;
and the generating module is used for rendering and generating a target page on the corresponding page template according to a preset rule and the module information.
A third aspect of an embodiment of the present invention provides a terminal device, including:
memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the page generation method according to the first aspect when executing the computer program.
A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, which stores a computer program, where the computer program, when executed by a processor, implements the steps of the page generation method according to the first aspect.
The embodiment of the invention has the beneficial effects that:
the invention provides a page automatic generation method, a system, terminal equipment and a storage medium, which can automatically generate a corresponding page through preset configuration data at a background, do not need to repeatedly develop the page, and can directly display the corresponding page according to the requirements of a user so that the user can quickly make a decision; 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, the development cost and the time cost are reduced, and the overall efficiency is improved; and the page generated by the automatic configuration of the system has a uniform format and high readability.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for automatically generating a page according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of acquiring module information required for generating a pre-generated page from the configuration data according to the embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating a process of parsing configuration data according to a preset protocol and extracting configuration rules and module information from the configuration data according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a process of generating a target page by rendering on a corresponding page template according to a preset rule 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 to make the technical solutions of the present invention better understood by those skilled in the art, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "comprises" and "comprising," and any variations thereof, in the description and claims of this invention and the above-described drawings are intended to cover non-exclusive inclusions. For example, a process, method, or system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. Furthermore, the terms "first," "second," and "third," etc. are used to distinguish between different objects and are not used to describe a particular order.
Example one
As shown in fig. 1, the method for automatically generating a page provided by this embodiment includes:
s101: a page generation request of a front end is received.
In application, because the function of the home page is used for displaying corresponding superior information, and the home page generally does not have large change, the home page can be generated in advance, certainly, when the content of the home page needs to be changed, the rendering data of the home page can be updated so as to carry out certain change on the home page, and the method is characterized in that a corresponding page generation request is sent to a background by detecting a corresponding link selected by a user on the home page; in addition to the above, the generation of the home page may be performed when the user requests to view the home page, and this way may make a large change to the home page.
S102: and acquiring background page configuration data according to the page generation request.
In 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 front-end page generation request is received; the page configuration data can also be divided into different configuration data according to the type of the page, the configuration data corresponding to the page comprises module information, element information and configuration rules required for generating the type of the page, when a front-end page generation request is received, the type of the request generated page is judged, and the corresponding configuration data is obtained according to the type of the page.
The module information comprises a module identification (id), a key value (key), a module reproducible type, the maximum and minimum sub-module number in the reproducible module type and elements contained by the module, and the element information comprises the id, the key, a name, a type, a default value, a default display and privacy, whether to be transmitted or not, a unit, a default error reporting file, element constraint and constraint elements.
S103: and acquiring module information required for generating a pre-generated page from the configuration data.
In application, the configuration data includes module backup data, module rule data, preference data, cache data, page data, and page template data.
The module backup data is backup data converted based on the source data and can be used for adding modules, the initialization module backup data further comprises element data corresponding to module names and function management data, and the function management data is used for managing corresponding elements, such as giving enumeration element type data selectable attributes and performing format processing on the elements.
After module backup data is initialized, the rule data needs to be extracted from the module backup data to be used for updating rendering data.
The configuration rule data not only comprises a dynamic rule configured in a background, but also comprises a static rule defaulted by a system, for example, when insurance is invested and protected, a protected person defaults to only have a father, a mother, a spouse and a principal; when the applicant and the insured person are both the own person, comparing the module elements of the applicant and the insured person, and assigning the element values of the same key of the insured person 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 the required configuration rule and the required module information according to the pre-generated page information.
S203: and 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 among elements.
In the application, taking the copy rule of the module as an example, assuming that the module is of a copy type, the default minimum number of modules and the maximum minimum number of modules that can be copied need to be extracted.
Taking insurance products as an example, if an insurance product a supports 1-3 insured persons to apply insurance, the insured person module rule of the background configuration data is as follows: the insured module is of a reproducible type, the default module number is 1, the maximum number of copies is 3, and the minimum number of copies is 1.
And forming page format data according to the extracted configuration rules and module backup data, bringing the data into a data processing system according to the page format data 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 following steps:
s301: and acquiring element information contained in the 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 element names contained in the module and the association rules of the elements and 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, rules of elements and modules, and rules of elements and elements.
In application, the element self-verification rule and the association rule of the element and other elements can be extracted according to the element attribute and the association relation between the elements.
For example, the insurance product has a premium element associated with the insured life element, the value of the premium element is 10 ten thousand, 15 ten thousand, 20 ten thousand, and if the insured life element value is greater than 50 years old, 20 ten thousand of the premium cannot be selected. The background configuration rule of the product is as follows: the type of the premium element in the application scheme is enumeration type, the front-end display type is tiling selection type, the value of the premium element is 10 ten thousand, 15 ten thousand or 20 ten thousand, and the association rule of the premium element and the age element of the insured person is as follows: if the insured life element value is greater than 50 years old, then the premium element value excludes 20 million.
For another example, an insurance product specifies that when the type of insured certificate selects the birth certificate, the gender and the birth date are hidden, and the association rules of the certificate elements, the gender elements and the birth date elements in the insured module of the product are as follows: if the certificate element type of the insured module is a birth certificate, the sex element information and the birth date information of the insured 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 application information filling page, the pre-generated page is determined to be an information acquisition page, and as the insurance application information filling page needs to acquire information of an insured person, an insured person and a beneficiary, the generated application trial calculation page needs to acquire information of the insured person, the insured person and the beneficiary module and corresponding rules from corresponding configuration data; certainly, it is possible to set a rule in the background in advance for generating what page needs to obtain what information, and a trigger condition of the rule may be a name of the page, may also be an exclusive code of the page, and of course, may also be another unique condition for identifying the page.
S104: and rendering on the corresponding page template according to a preset rule and the module information to generate a target page.
In one embodiment, as shown in fig. 4, S104 includes the steps of:
s401: and determining a page template and the preset rule of the configuration page according to the pre-generated page.
In the application, there may be a plurality of page templates, and preset rules of pages configured corresponding to different page modules may also be different, so after determining a page template, it is further necessary to determine a relevant preset rule according to the page template.
S402: and updating rendering data according to the page template and the configuration rule.
The background may have system brought data, including preferred data, cached data, in addition to configurable element defaults.
The cache data is data stored in a front-end page and used for specifying a page name and id and key of the 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 inquires that the historical data of the user is stored in the server, if the historical data of the user is stored in the server, the historical data of the user is extracted, meanwhile, the preferred data in the interface returns to the historical data of the user, then 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 only configured with 1 insurance applicant module and 1 to 3 insured persons module, and 1 insured person module is displayed by default. The user history data comprises 2 applicant data and 2 insured person data, the first of the applicant and insured person array can be selected according to the module rule, the number of the insured person modules is preferably larger than the number of the default insured person modules, 1 insured person module is added by combining the initialized module backup data, at the moment, the number of the insured person modules is 2, the module elements are traversed, and the element values in the modules are assigned as the element values in the user history data.
According to the display requirement of the front-end page component, description fields need to be added to elements such as enumeration type, date type, occupation type and the like, 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 configuration rules.
S403: and rendering on the page template according to a preset rule and the rendering data to generate a target page.
In application, after a page template, a preset rule and 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, after S104, further comprising:
receiving data input by a user;
verifying data input by a user;
if the data input by the user passes the verification, updating the rendering data and rendering the current page;
and if the data input by the user fails to be verified, reporting an error and prompting error data.
In application, some elements have range limitation in their own attribute interval, for example, an identification number element, because the identification number is composed of numbers and letters, when characters which do not belong to the numbers and letters appear, it can be determined that data input by a user exceeds the attribute interval of the identification number element, thereby causing verification failure, and displaying error information at a corresponding position.
The verification method of the elements comprises the following steps of verifying all rules of the elements, carrying out self-verification according to the self-verification rules, verifying whether the value range of the elements is correct or not, prompting the corresponding error-reporting file if the value range of the elements does not pass through the self-verification rules, and not associating and influencing other elements.
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 data input by a user;
and defining the attribute interval of the element having the association relation with the target element according to the association rule among the elements.
In the application, the elements and the elements have association rules, if a certain element passes the verification, other elements associated with the element are continuously verified according to the extracted association rules with other elements, and whether the association rules are met is judged.
For example, a certificate number element value has an associative relationship with a certificate type element. When the certificate type element is selected as the identity card, the element attribute of the certificate type is changed, and according to the association rule of the certificate number element and the certificate type element, the value of the certificate number element must be an element value consisting of numbers and letters. If the element value exceeds the limited attribute interval, prompting the corresponding error-reporting file and canceling the down verification.
The invention provides an automatic page generation method, which can automatically generate a corresponding page through preset background configuration data without repeatedly developing the page, and can directly display the corresponding page according to the user requirement, so that a user can make a decision quickly; 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, the development cost and the time cost are reduced, and the overall efficiency is improved; and the page generated by the automatic configuration of the system has a uniform format and high readability.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Example two
As shown in fig. 5, the present embodiment provides an automatic page generation system, configured to execute the method steps in the first embodiment, where the automatic page generation system includes: a receiving module 51, a first obtaining module 52, a second obtaining module 53, and a generating module 54.
A receiving module 51, configured to receive a front-end page generation request;
the first obtaining module 52 is configured to obtain page configuration data of the background according to the page generation request;
a second obtaining module 53, configured to obtain, from the configuration data, module information required to generate a pre-generated page;
and the generating module 54 is configured to render and generate a target page on the corresponding page template according to a 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 the required configuration rule and the required module information according to the pre-generated page information;
and 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 includes:
a third obtaining unit, configured to obtain element information included 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, rules of elements and modules, and rules of elements and elements.
In one embodiment, the generating module 54 includes:
the determining unit is used for determining a page template and the preset rule of the configuration page according to the pre-generated page;
the updating unit is used for updating rendering data according to the page template and the configuration rule;
and the generating 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 includes:
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 rendering data and rendering a current page when the data input by the user passes verification;
and the error reporting module is used for reporting errors and prompting error data when the data input by the user fails to be verified.
In one embodiment, after the rendering and generating the target page on the corresponding page template according to the preset rule and the module information further includes:
the element acquisition module is used for acquiring a target element corresponding to data input by a 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 having 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 a corresponding page through preset configuration data in a background, does not need to repeatedly develop the page, and can directly display the corresponding page according to the requirements of a user so that the user can make a decision quickly; 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, the development cost and the time cost are reduced, and the overall efficiency is improved; and the page generated by the automatic configuration of the system has a uniform format and high readability.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments 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 said memory 61 and operable on said processor 60. The processor 60, when executing the computer program 62, implements the steps in the above-described embodiments of the automatic page generation method, such as S101 to S104 shown in fig. 1. Alternatively, the processor 60, when executing the computer program 62, implements the functions of the modules/units in the above-mentioned device embodiments, 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 implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe 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 obtaining module, a second obtaining module, and a generating module, and each module has the following specific functions:
the receiving module is used for receiving a page generation request of a front end;
the first acquisition module is used for acquiring page configuration data of a background according to the page generation request;
the second acquisition module is used for acquiring module information required for generating a pre-generated page from the configuration data;
and the generating module is used for rendering and generating a target page on the corresponding page template according to a preset rule and the module information.
The terminal device 6 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 60, a memory 61. Those skilled in the art will appreciate that fig. 6 is merely an example of a terminal device 6 and does not constitute a limitation of terminal device 6 and may include more or less components than those shown, or some components in combination, or different components, for example, the terminal device may also include input output devices, network access devices, buses, etc.
The Processor 60 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. 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 also 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), and 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 to temporarily store 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-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of 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 processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
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 implementation. 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 ways. For example, the above-described terminal device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical function division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A method for automatically generating a page 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;
obtaining module information required for generating a pre-generated page from the configuration data;
and rendering on the corresponding page template according to a preset rule and the module information to generate a target page.
2. The method for automatically generating pages according to claim 1, wherein said obtaining module information required for generating pre-generated pages from said configuration data comprises:
acquiring pre-generated page information according to the page generation request;
acquiring a required configuration rule and required module information according to the pre-generated page information;
and analyzing the configuration data according to a preset protocol and extracting the configuration rule and the module information from the configuration data.
3. The method for automatically generating pages according to claim 1, wherein said parsing configuration data according to a preset protocol and extracting said configuration rules and said module information from 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, rules of elements and modules, and rules of elements and elements.
4. The method for automatically generating pages according to claim 3, wherein the rendering and generating the target page on the corresponding page template according to the preset rule and the module information comprises:
determining a page template and the preset rule of the configuration page according to the pre-generated page;
updating rendering data according to the page template and the configuration rule;
and rendering on the page template according to a preset rule and the rendering data to generate a target page.
5. The method for automatically generating pages according to any one of claims 1 to 4, wherein after the generating of the target page on the corresponding page template according to the preset rule and the module information, the method further comprises:
receiving data input by a user;
verifying data input by a user;
if the data input by the user passes the verification, updating the rendering data and rendering the current page;
and if the data input by the user fails to be verified, reporting an error and prompting error data.
6. The method for automatically generating pages according to claim 5, wherein after the generating of the target page by rendering 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 data input by a user;
and defining the attribute interval of the element having the association relation with the target element according to the association rule among the elements.
7. An automatic page generation system, comprising:
the receiving module is used for receiving a page generation request of a front end;
the first acquisition module is used for acquiring page configuration data of a background according to the page generation request;
the second acquisition module is used for acquiring module information required for generating a pre-generated page from the configuration data;
and the generating module is used for rendering and generating a target page on the corresponding page template according to a preset rule and the module information.
8. The automatic page generation system of claim 7, said second acquisition module comprising:
the first acquisition unit acquires pre-generated page information according to the page generation request;
the second acquisition unit is used for acquiring the required configuration rule and the required module information according to the pre-generated page information;
and the 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.
9. A terminal device comprising a memory, a processor and a computer program stored in said memory and executable on said processor, characterized in that said processor implements the steps of the page generation method according to any of claims 1 to 6 when executing said computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the page generation method according to any one of claims 1 to 6.
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 true CN110597511A (en) 2019-12-20
CN110597511B 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)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111563771A (en) * 2020-04-27 2020-08-21 深圳木成林科技有限公司 Policy ordering method and device and terminal equipment
CN111598707A (en) * 2020-04-16 2020-08-28 中国人民财产保险股份有限公司 Page generation method and electronic equipment
CN112698826A (en) * 2021-03-23 2021-04-23 杭州数式网络科技有限公司 Low code page creation system, method and equipment
CN113050921A (en) * 2019-12-26 2021-06-29 中国移动通信集团江西有限公司 Webpage conversion method, device, storage medium and computer equipment
CN113139075A (en) * 2021-04-25 2021-07-20 中国工商银行股份有限公司 Method and device for generating customer insurance transaction interface image
CN113448578A (en) * 2021-06-28 2021-09-28 中国工商银行股份有限公司 Page data processing method, processing system, electronic device and readable storage medium
CN114217795A (en) * 2021-12-03 2022-03-22 北京达佳互联信息技术有限公司 Page generation method and device, electronic equipment and readable storage medium
CN114327463A (en) * 2021-12-31 2022-04-12 浙江吉利控股集团有限公司 Automatic generation method, device, medium, equipment and program product of webpage form
CN118170414A (en) * 2024-05-14 2024-06-11 北京微步在线科技有限公司 Webpage updating method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388396A (en) * 2018-09-18 2019-02-26 深圳壹账通智能科技有限公司 Page generation method, device, computer equipment and storage medium
CN109710328A (en) * 2018-08-20 2019-05-03 深圳壹账通智能科技有限公司 Page configuration method, apparatus, equipment and readable storage medium storing program for executing
CN109739604A (en) * 2018-12-28 2019-05-10 北京城市网邻信息技术有限公司 Page rendering method, apparatus, server and storage medium
CN109901834A (en) * 2019-01-25 2019-06-18 平安科技(深圳)有限公司 Document file 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
CN110020321A (en) * 2018-04-13 2019-07-16 深圳壹账通智能科技有限公司 Generation method, device, equipment and the computer storage medium of product index

Patent Citations (6)

* 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
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
CN109739604A (en) * 2018-12-28 2019-05-10 北京城市网邻信息技术有限公司 Page rendering method, apparatus, server and storage medium
CN109901834A (en) * 2019-01-25 2019-06-18 平安科技(深圳)有限公司 Document file 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

Cited By (11)

* 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
CN111598707A (en) * 2020-04-16 2020-08-28 中国人民财产保险股份有限公司 Page generation method and electronic 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
CN112698826A (en) * 2021-03-23 2021-04-23 杭州数式网络科技有限公司 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
CN113139075B (en) * 2021-04-25 2024-06-18 中国工商银行股份有限公司 Customer application transaction interface image generation method and device
CN113448578A (en) * 2021-06-28 2021-09-28 中国工商银行股份有限公司 Page data processing method, processing system, electronic device and readable storage medium
CN114217795A (en) * 2021-12-03 2022-03-22 北京达佳互联信息技术有限公司 Page generation method and device, electronic equipment and readable storage medium
CN114327463A (en) * 2021-12-31 2022-04-12 浙江吉利控股集团有限公司 Automatic generation method, device, medium, equipment and program product of webpage form
CN118170414A (en) * 2024-05-14 2024-06-11 北京微步在线科技有限公司 Webpage updating method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110597511B (en) 2023-05-02

Similar Documents

Publication Publication Date Title
CN110597511A (en) Page automatic generation method, system, terminal equipment and storage medium
CN110264288A (en) Data processing method and relevant apparatus based on information discriminating technology
CN107798579B (en) Method for generating protocol file and terminal thereof
CN107784063B (en) Algorithm generation method and terminal equipment
CN110704519A (en) Business document conversion method and device, storage medium and computer equipment
CN110851298B (en) Abnormality analysis and processing method, electronic device and storage medium
CN109271564B (en) Policy query method and device
CN111737246A (en) Data fusion method and device, electronic equipment and storage medium
CN112948418A (en) Dynamic query method, device, equipment and storage medium
CN112115107A (en) Contract text automatic generation method and device
CN110806866A (en) Generation method and device of front-end management system
CN111723210A (en) Method and device for storing data table, computer equipment and readable storage medium
CN109214362B (en) Document processing method and related equipment
CN111177099A (en) Data processing method and device of business system, electronic equipment and storage medium
CN113434122A (en) Multi-role page creation method and device, server and readable storage medium
CN112053058A (en) Index model generation method and device
CN111901299A (en) Application authentication method and device, electronic equipment and storage medium
CN115760404A (en) Stock reduction scheme generation method, system, terminal and storage medium
CN113282837A (en) Event analysis method and device, computer equipment and storage medium
CN114169306A (en) Method, device and equipment for generating electronic receipt and readable storage medium
CN112950154A (en) Flow information matching method, device, equipment and storage medium
CN111581497A (en) Health notification information display method, device and equipment
CN112907395A (en) Client type identification method, device and equipment
CN109584087B (en) Information processing method, device and storage medium
CN112053227B (en) Information processing method, information processing device, second electronic 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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant