CN110704143A - Page generation method and device - Google Patents

Page generation method and device Download PDF

Info

Publication number
CN110704143A
CN110704143A CN201910750860.XA CN201910750860A CN110704143A CN 110704143 A CN110704143 A CN 110704143A CN 201910750860 A CN201910750860 A CN 201910750860A CN 110704143 A CN110704143 A CN 110704143A
Authority
CN
China
Prior art keywords
configuration file
page
generating
field
fields
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910750860.XA
Other languages
Chinese (zh)
Inventor
黄建虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Property and Casualty Insurance Company of China 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 Ping An Property and Casualty Insurance Company of China Ltd filed Critical Ping An Property and Casualty Insurance Company of China Ltd
Priority to CN201910750860.XA priority Critical patent/CN110704143A/en
Publication of CN110704143A publication Critical patent/CN110704143A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Human Computer Interaction (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the invention provides a page generation method and device. The invention relates to the field of research and development management, and the method comprises the following steps: receiving a page generation instruction; responding to a page generation instruction, generating a first configuration file, wherein a product identifier and corresponding product information are recorded in the first configuration file, and the product information comprises field information of a target; acquiring a target field of an insurance product; classifying the target fields according to the risk types to obtain field sets of a plurality of risk types; extracting required fields from a field set of a plurality of risk categories; filling the extracted fields into a first configuration file to obtain a second configuration file; and rendering and generating a page according to the second configuration file. The technical scheme provided by the embodiment of the invention can solve the problem of low page generation efficiency in the related technology.

Description

Page generation method and device
[ technical field ] A method for producing a semiconductor device
The invention relates to the field of research and development management, in particular to a page generation method and device.
[ background of the invention ]
Insurance means that the insurance applicant pays insurance premium to the insurance carrier according to contract agreement, and the insurance carrier undertakes the responsibility for compensating insurance premium for property loss caused by the occurrence of the accident possibly caused by the contract agreement, or undertakes the business insurance action for paying insurance premium when the insured dies, is damaged, has diseases or reaches the conditions of the age, the deadline and the like of the contract agreement.
Along with the insurance demand going deep into various industries, the forms of insurance products are diversified more and more, and the guarantee functions are also different. Insurance products usually have corresponding pages, and the corresponding contents such as target, guarantee clauses and the like are related in the pages.
In the related art, the page generation method is as follows: firstly, generating a page effect graph according to user requirements, then, dynamically changing the page effect graph, then, compiling a page code file by a back-end developer according to the dynamic page front end, and finally, generating a page according to the code file.
When the page of the insurance product is generated according to the related art, if the field of the insurance product changes, a new page needs to be generated through the above process again, which is inefficient.
[ summary of the invention ]
In view of this, embodiments of the present invention provide a method and an apparatus for generating a page, so as to solve the problem of low efficiency in generating a page in the related art.
The embodiment of the invention provides a page generation method, which comprises the following steps: receiving a page generation instruction; responding to the page generation instruction, generating a first configuration file, wherein a product identifier and corresponding product information are recorded in the first configuration file, and the product information comprises field information of a target; acquiring a target field of an insurance product; classifying the target fields according to the risk types to obtain field sets of a plurality of risk types; extracting required fields from the field sets of the multiple risk categories; filling the extracted fields into the first configuration file to obtain a second configuration file; and rendering and generating a page according to the second configuration file.
Further, the generating the first configuration file includes: receiving a page layout template, service components and associated information among the service components selected by a user; and generating the first configuration file according to the page layout template selected by the user, the service component and the associated information.
Further, the business components include functional components and data sources, wherein different data sources generate different business components when combined with the same functional component.
Further, the rendering and generating a page according to the second configuration file includes: and sending the second configuration file to a rendering engine so that the rendering engine generates a page according to the second configuration file in a rendering mode.
Further, the populating the extracted field into the first configuration file includes: and filling the extracted fields into the first configuration file according to preset field display names and preset default values.
The embodiment of the invention provides a page generation device, which comprises: the receiving unit is used for receiving a page generation instruction; a first generating unit, configured to generate a first configuration file in response to the page generating instruction, where the first configuration file records a product identifier and corresponding product information, and the product information includes field information of a target; the acquisition unit is used for acquiring a target field of the insurance product; the classification unit is used for classifying the target fields according to the risk types to obtain field sets of a plurality of risk types; an extracting unit, configured to extract required fields from the field sets of the multiple risk categories; the filling-in unit is used for filling the extracted fields into the first configuration file to obtain a second configuration file; and the second generating unit is used for rendering and generating a page according to the second configuration file.
Further, the first generation unit includes: the receiving subunit is used for receiving the page layout template selected by the user, the service components and the associated information among the service components; and the generating subunit is used for generating the first configuration file according to the page layout template selected by the user, the service component and the associated information.
Further, the business components include functional components and data sources, wherein different data sources generate different business components when combined with the same functional component.
Further, the second generation unit includes: and the sending subunit is configured to send the second configuration file to a rendering engine, so that the rendering engine generates a page according to the second configuration file in a rendering manner.
Further, the filling unit includes: and the filling subunit is used for filling the extracted field into the first configuration file according to a preset field display name and a preset default value.
The embodiment of the invention provides a storage medium, which comprises a stored program, wherein when the program runs, a device where the storage medium is located is controlled to execute the page generation method.
An embodiment of the present invention provides a computer device, including a memory and a processor, where the memory is used to store information including program instructions, and the processor is used to control execution of the program instructions, and the program instructions are loaded by the processor and executed to implement the steps of the above-mentioned page generation method.
In the embodiment of the invention, a page generation instruction is received; responding to a page generation instruction, generating a first configuration file, wherein a product identifier and corresponding product information are recorded in the first configuration file, and the product information comprises field information of a target; acquiring a target field of an insurance product; classifying the target fields according to the risk types to obtain field sets of a plurality of risk types; extracting required fields from a field set of a plurality of risk categories; filling the extracted fields into a first configuration file to obtain a second configuration file; and rendering the generated page according to the second configuration file, only updating the second configuration file under the condition that the target field is changed, and because the updated data volume is small, the updating speed is high, so that the page generating speed is accelerated, the problem of low page generating efficiency is solved, and the page generating efficiency is improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments 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 based on these drawings without inventive labor.
Fig. 1 is a flowchart of a page generation method according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a page according to an embodiment of the invention;
FIG. 3 is a flowchart of a method of generating a page according to a third embodiment of the present invention;
FIG. 4 is a schematic diagram of a page generation apparatus according to a fourth embodiment of the present invention;
FIG. 5 is a schematic diagram of a computer device according to an embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and 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 terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Referring to fig. 1, a flowchart of a page generation method according to a first embodiment of the present invention is shown, including steps S101 to S107.
Step S101, receiving a page generation instruction.
Step S102, responding to a page generation instruction, generating a first configuration file, wherein a product identifier and corresponding product information are recorded in the first configuration file, and the product information comprises field information of a target.
Step S103, acquiring the target field of the insurance product.
The insurance target is also called as an "insurance object", "insurance item", "object of insurance guarantee", and is determined according to the requirements of parties of insurance contracts, and in the property insurance, the property of the policyholder and the benefits related to the property are included; in life insurance, people's life or diseases that may occur, and people who retire and care for the elderly; in liability insurance is the insured's liability for civil damage.
And step S104, classifying the target fields according to the risk types to obtain a field set of a plurality of risk type categories.
When the target fields are classified according to the dangerous types, the categories to which the target fields belong can be personnel information categories, aviation insurance categories, cargo transportation categories, engineering insurance categories, fire insurance categories, automobile insurance categories, home property insurance categories, theft insurance categories, agricultural insurance categories and the like, and then the relevant fields are classified into a set of relevant categories according to the classification result, for example, house buildings, devices, furniture, machinery equipment, storage and the like need to be classified into a set of home property insurance categories, and packages, quantity, insurance cargo items and the like are classified into a set of cargo transportation categories.
In step S105, a required field is extracted from a field set of a plurality of risk categories.
Due to the special requirements of partial insurance products, proper fields do not necessarily exist in the field set, so custom fields need to be added according to specific conditions; if the field display name does not meet the requirement, the field display name is required to be modified so as to meet the product requirement; some fields have strict regulations on formats, and potential hazards may exist if filling is out of specification, so that some special fields need to be provided with verification rules, for example, an age field needs to be filled into a digital type, and values of non-digital types are out of specification; some fields are required options or required items, and if the fields are not selected or filled, the fields are not in accordance with the specification, so that default values can be set for the relevant fields according to specific requirements.
Step S106, filling the extracted field into the first configuration file to obtain a second configuration file.
Filling the extracted field into a first configuration file, which may specifically be: and filling the extracted fields into the first configuration file according to the preset field display name and the preset default value.
And step S107, rendering and generating a page according to the second configuration file.
And rendering and generating the page according to the second configuration file, specifically, sending the second configuration file to a rendering engine, so that the rendering engine renders and generates the page according to the second configuration file.
In the embodiment of the invention, a page generation instruction is received; responding to a page generation instruction, generating a first configuration file, wherein a product identifier and corresponding product information are recorded in the first configuration file, and the product information comprises field information of a target; acquiring a target field of an insurance product; classifying the target fields according to the risk types to obtain field sets of a plurality of risk types; extracting required fields from a field set of a plurality of risk categories; filling the extracted fields into a first configuration file to obtain a second configuration file; and rendering the generated page according to the second configuration file, only updating the second configuration file under the condition that the target field is changed, and because the updated data volume is small, the updating speed is high, so that the page generating speed is accelerated, the problem of low page generating efficiency is solved, and the page generating efficiency is improved.
FIG. 2 is a schematic diagram of a page according to an embodiment of the invention. As shown in fig. 2, the fields can be flexibly set, such as setting mandatory items, number range items, and the like; the format of the input frame can be flexibly configured, and the format of the input frame can comprise: text entry boxes, drop-down boxes, scope entry boxes, radio boxes, multiple boxes, and the like.
The second embodiment of the present invention provides a method for generating a page, which includes the above steps S101, S103, … …, and S107, and compared with the method for generating a page provided in the first embodiment of the present invention, the difference is that the step S102 specifically includes the step S201 and the step S202.
Step S201, receiving a page layout template selected by a user, service components and associated information among the service components.
The business components include functional components and data sources, wherein different data sources generate different business components when combined with the same functional component.
The functional components can be components for realizing a certain specific function, such as a text box, a drop-down box, a query button, a save button and the like; or a new functional component that implements a specific function by combining a plurality of functional components that implement a specific function.
The association information between the service components may be information reflecting an association relationship between two or more service components, for example, a data source change of the service component a causes a data source change of the service component B; alternatively, a data source change of the business component A, B causes a data source change in the business component C, and so on.
Step S201 may specifically include: presetting various types of page layout templates, business components and associated information among the business components, and providing the preset various types of page layout templates, business components and associated information among the business components for a user through a visual interface; and the user selects the page layout template and submits the selected page layout template, the service components and the associated information among the service components.
The page layout template can be displayed to the user in a pull-down menu mode, namely, after the user clicks a pull-down frame corresponding to the page layout template, a page layout template name list is provided in the pull-down menu for the user to select; the page layout template can also be displayed to the user in a thumbnail mode; the page layout templates may also be presented to the user in a list.
The service components can be displayed to the user in a pull-down menu mode, namely, after the user clicks a pull-down box corresponding to the service components, a service component name list is provided in the pull-down menu for the user to select; the business components may also be presented to the user in a list.
The associated information can be displayed to the user in a pull-down menu mode, namely, after the user clicks a pull-down box corresponding to the associated information, an associated information name list is provided in the pull-down menu for the user to select; the associated information may also be presented to the user in the form of a list.
The preset page layout template, the business components and the associated information among the business components can be selected and used by a plurality of pages, so that the same business components and page layout templates can be repeatedly used by the plurality of pages, repeated development of back-end developers is reduced, and the efficiency is improved.
Step S202, a first configuration file is generated according to the page layout template, the service components and the associated information selected by the user.
In the second embodiment of the present invention, the page layout template, the service components, and the associated information between the service components submitted by the user are received, and the first configuration file is generated according to the page layout template, the service components, and the associated information. In addition, the preset page layout template, the business components and the associated information among the business components can be selected and used by a plurality of pages, so that the same business components and page layout templates can be repeatedly used by the plurality of pages, thereby reducing repeated development of back-end developers and improving the efficiency.
Referring to fig. 3, a flowchart of a page generation method according to a third embodiment of the present invention is shown, including:
step S301, providing preset page layout templates of various types, business components and associated information among the business components for a user through a visual interface.
The page layout template can be displayed to the user in a pull-down menu mode, namely, after the user clicks a pull-down frame corresponding to the page layout template, a page layout template name list is provided in the pull-down menu for the user to select; the page layout template can also be displayed to the user in a thumbnail mode; the page layout templates may also be presented to the user in a list.
The service components can be displayed to the user in a pull-down menu mode, namely, after the user clicks a pull-down box corresponding to the service components, a service component name list is provided in the pull-down menu for the user to select; the business components may also be presented to the user in a list.
The associated information can be displayed to the user in a pull-down menu mode, namely, after the user clicks a pull-down box corresponding to the associated information, an associated information name list is provided in the pull-down menu for the user to select; the associated information may also be presented to the user in the form of a list.
Step S302, receiving a page layout template selected by a user, business components and associated information among the business components.
Step S303, generating a first configuration file according to the page layout template, the service component and the associated information selected by the user.
In step S304, target fields are extracted from the field sets of the plurality of risk categories.
When the target fields are classified according to the dangerous types, the categories to which the target fields belong can be personnel information categories, aviation insurance categories, cargo transportation categories, engineering insurance categories, fire insurance categories, automobile insurance categories, home property insurance categories, theft insurance categories, agricultural insurance categories and the like, and then the relevant fields are classified into a set of relevant categories according to the classification result, for example, house buildings, devices, furniture, machinery equipment, storage and the like need to be classified into a set of home property insurance categories, and packages, quantity, insurance cargo items and the like are classified into a set of cargo transportation categories.
Step S305, filling the target field into the first configuration file according to the preset field display name and the preset default value to obtain a second configuration file.
Step S306, sending the second configuration file to a rendering engine so that the rendering engine generates a page according to the second configuration file in a rendering mode.
The preset page layout template, the business components and the associated information among the business components can be selected and used by a plurality of pages, so that the same business components and page layout templates can be repeatedly used by the plurality of pages, repeated development of back-end developers is reduced, and the efficiency is improved.
When the target field changes, only the second configuration file needs to be updated according to the target field, and due to the fact that the updated data volume is small, the updating speed is high, and therefore the page generating speed is improved.
Referring to fig. 4, a schematic diagram of a page generation apparatus according to a fourth embodiment of the present invention is shown, where the apparatus is configured to execute the page generation method according to the first embodiment of the present invention, and the apparatus includes: a receiving unit 41, a first generating unit 42, an acquiring unit 43, a classifying unit 44, an extracting unit 45, a filling-in unit 46, and a second generating unit 47.
The receiving unit 41 is configured to receive a page generation instruction.
The first generating unit 42 is configured to generate a first configuration file in response to the page generating instruction, where the first configuration file records a product identifier and corresponding product information, and the product information includes target field information.
An obtaining unit 43 is used for obtaining the target field of the insurance product.
The insurance target is also called as an "insurance object", "insurance item", "object of insurance guarantee", and is determined according to the requirements of parties of insurance contracts, and in the property insurance, the property of the policyholder and the benefits related to the property are included; in life insurance, people's life or diseases that may occur, and people who retire and care for the elderly; in liability insurance is the insured's liability for civil damage.
And the classification unit 44 is configured to classify the target fields according to the risk categories to obtain a field set of multiple risk categories.
When the target fields are classified according to the dangerous types, the categories to which the target fields belong can be personnel information categories, aviation insurance categories, cargo transportation categories, engineering insurance categories, fire insurance categories, automobile insurance categories, home property insurance categories, theft insurance categories, agricultural insurance categories and the like, and then the relevant fields are classified into a set of relevant categories according to the classification result, for example, house buildings, devices, furniture, machinery equipment, storage and the like need to be classified into a set of home property insurance categories, and packages, quantity, insurance cargo items and the like are classified into a set of cargo transportation categories.
An extracting unit 45, configured to extract the required fields from the field sets of the multiple risk categories.
Due to the special requirements of partial insurance products, proper fields do not necessarily exist in the field set, so custom fields need to be added according to specific conditions; if the field display name does not meet the requirement, the field display name is required to be modified so as to meet the product requirement; some fields have strict regulations on formats, and potential hazards may exist if filling is out of specification, so that some special fields need to be provided with verification rules, for example, an age field needs to be filled into a digital type, and values of non-digital types are out of specification; some fields are required options or required items, and if the fields are not selected or filled, the fields are not in accordance with the specification, so that default values can be set for the relevant fields according to specific requirements.
And a filling unit 46, configured to fill the extracted field into the first configuration file to obtain a second configuration file.
Filling the extracted field into a first configuration file, which may specifically be: and filling the extracted fields into the first configuration file according to the preset field display name and the preset default value.
And a second generating unit 47, configured to render and generate a page according to the second configuration file.
And rendering and generating the page according to the second configuration file, specifically, sending the second configuration file to a rendering engine, so that the rendering engine renders and generates the page according to the second configuration file.
In the embodiment of the invention, a page generation instruction is received; responding to a page generation instruction, generating a first configuration file, wherein a product identifier and corresponding product information are recorded in the first configuration file, and the product information comprises field information of a target; acquiring a target field of an insurance product; classifying the target fields according to the risk types to obtain field sets of a plurality of risk types; extracting required fields from a field set of a plurality of risk categories; filling the extracted fields into a first configuration file to obtain a second configuration file; and rendering the generated page according to the second configuration file, only updating the second configuration file under the condition that the target field is changed, and because the updated data volume is small, the updating speed is high, so that the page generating speed is accelerated, the problem of low page generating efficiency is solved, and the page generating efficiency is improved.
As an alternative embodiment, the first generating unit 42 includes: a receiving subunit and a generating subunit.
And the receiving subunit is used for receiving the page layout template selected by the user, the service components and the associated information among the service components.
And the generating subunit is used for generating a first configuration file according to the page layout template, the service component and the associated information selected by the user.
As an alternative embodiment, the business components include functional components and data sources, wherein different data sources, when combined with the same functional component, generate different business components.
As an alternative implementation, the second generating unit 47 includes: and a sending subunit.
And the sending subunit is used for sending the second configuration file to the rendering engine so that the rendering engine generates a page according to the rendering of the second configuration file.
As an alternative embodiment, the filling unit 46 includes: fill in the sub-unit.
And the filling subunit is used for filling the extracted field into the first configuration file according to the preset field display name and the preset default value.
The embodiment of the invention provides a storage medium, which comprises a stored program, wherein when the program runs, equipment where the storage medium is located is controlled to execute the following steps: receiving a page generation instruction; responding to a page generation instruction, generating a first configuration file, wherein a product identifier and corresponding product information are recorded in the first configuration file, and the product information comprises field information of a target; acquiring a target field of an insurance product; classifying the target fields according to the risk types to obtain field sets of a plurality of risk types; extracting required fields from a field set of a plurality of risk categories; filling the extracted fields into a first configuration file to obtain a second configuration file; and rendering and generating a page according to the second configuration file.
Optionally, the apparatus for controlling the storage medium when the program runs further performs the following steps: receiving a page layout template, service components and associated information among the service components selected by a user; and generating a first configuration file according to the page layout template, the service assembly and the associated information selected by the user.
Optionally, the apparatus for controlling the storage medium when the program runs further performs the following steps: and sending the second configuration file to a rendering engine so that the rendering engine generates a page according to the second configuration file in a rendering mode.
Optionally, the apparatus for controlling the storage medium when the program runs further performs the following steps: and filling the extracted fields into the first configuration file according to the preset field display name and the preset default value.
An embodiment of the present invention provides a computer device, including a memory and a processor, where the memory is used to store information including program instructions, and the processor is used to control execution of the program instructions, and the program instructions are loaded and executed by the processor to implement the following steps: receiving a page generation instruction; responding to a page generation instruction, generating a first configuration file, wherein a product identifier and corresponding product information are recorded in the first configuration file, and the product information comprises field information of a target; acquiring a target field of an insurance product; classifying the target fields according to the risk types to obtain field sets of a plurality of risk types; extracting required fields from a field set of a plurality of risk categories; filling the extracted fields into a first configuration file to obtain a second configuration file; and rendering and generating a page according to the second configuration file.
Optionally, the program instructions when loaded and executed by the processor further implement the steps of: receiving a page layout template, service components and associated information among the service components selected by a user; and generating a first configuration file according to the page layout template, the service assembly and the associated information selected by the user.
Optionally, the program instructions when loaded and executed by the processor further implement the steps of: and sending the second configuration file to a rendering engine so that the rendering engine generates a page according to the second configuration file in a rendering mode.
Optionally, the program instructions when loaded and executed by the processor further implement the steps of: and filling the extracted fields into the first configuration file according to the preset field display name and the preset default value.
Fig. 5 is a schematic diagram of a computer device according to an embodiment of the present invention. As shown in fig. 5, the computer apparatus 50 of this embodiment includes: the processor 51, the memory 52, and the computer program 53 stored in the memory 52 and capable of running on the processor 51, where the computer program 53 is executed by the processor 51 to implement the method for generating a page in the embodiment, and in order to avoid repetition, the description is not repeated here. Alternatively, the computer program is executed by the processor 51 to implement the functions of each model/unit in the page generating apparatus in the embodiment, and for avoiding repetition, the description is omitted here.
The computing device 50 may be a desktop computer, a notebook, a palm top computer, a cloud server, or other computing device. The computer device may include, but is not limited to, a processor 51, a memory 52. Those skilled in the art will appreciate that fig. 5 is merely an example of a computer device 50 and is not intended to limit the computer device 50 and that it may include more or fewer components than shown, or some components may be combined, or different components, e.g., the computer device may also include input output devices, network access devices, buses, etc.
The Processor 51 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 device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 52 may be an internal storage unit of the computer device 50, such as a hard disk or a memory of the computer device 50. The memory 52 may also be an external storage device of the computer device 50, such as a plug-in hard disk provided on the computer device 50, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 52 may also include both internal and external storage devices for the computer device 50. The memory 52 is used to store computer programs and other programs and data required by the computer device. The memory 52 may also be used to temporarily store data that has been output or is to be output.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or 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, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for generating a page, the method comprising:
receiving a page generation instruction;
responding to the page generation instruction, generating a first configuration file, wherein a product identifier and corresponding product information are recorded in the first configuration file, and the product information comprises field information of a target;
acquiring a target field of an insurance product;
classifying the target fields according to the risk types to obtain field sets of a plurality of risk types;
extracting required fields from the field sets of the multiple risk categories;
filling the extracted fields into the first configuration file to obtain a second configuration file;
and rendering and generating a page according to the second configuration file.
2. The method of claim 1, wherein generating the first configuration file comprises:
receiving a page layout template, service components and associated information among the service components selected by a user;
and generating the first configuration file according to the page layout template selected by the user, the service component and the associated information.
3. The method of claim 2, wherein the business components comprise functional components and data sources, wherein different data sources, when combined with the same functional component, generate different business components.
4. The method of claim 1, wherein rendering the generated page according to the second configuration file comprises:
and sending the second configuration file to a rendering engine so that the rendering engine generates a page according to the second configuration file in a rendering mode.
5. The method of any of claims 1 to 4, wherein populating the first configuration file with the extracted fields comprises:
and filling the extracted fields into the first configuration file according to preset field display names and preset default values.
6. An apparatus for generating a page, the apparatus comprising:
the receiving unit is used for receiving a page generation instruction;
a first generating unit, configured to generate a first configuration file in response to the page generating instruction, where the first configuration file records a product identifier and corresponding product information, and the product information includes field information of a target;
the acquisition unit is used for acquiring a target field of the insurance product;
the classification unit is used for classifying the target fields according to the risk types to obtain field sets of a plurality of risk types;
an extracting unit, configured to extract required fields from the field sets of the multiple risk categories;
the filling-in unit is used for filling the extracted fields into the first configuration file to obtain a second configuration file;
and the second generating unit is used for rendering and generating a page according to the second configuration file.
7. The apparatus of claim 6, wherein the first generating unit comprises:
the receiving subunit is used for receiving the page layout template selected by the user, the service components and the associated information among the service components;
and the generating subunit is used for generating the first configuration file according to the page layout template selected by the user, the service component and the associated information.
8. The apparatus of claim 7, wherein the business components comprise functional components and data sources, wherein different data sources when combined with the same functional component generate different business components.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein when the program runs, a device where the storage medium is located is controlled to execute the generation method of the page according to any one of claims 1 to 5.
10. A computer device comprising a memory for storing information including program instructions and a processor for controlling execution of the program instructions, characterized in that: the program instructions, when loaded and executed by a processor, implement the steps of a method of generating a page as claimed in any one of claims 1 to 5.
CN201910750860.XA 2019-08-14 2019-08-14 Page generation method and device Pending CN110704143A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910750860.XA CN110704143A (en) 2019-08-14 2019-08-14 Page generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910750860.XA CN110704143A (en) 2019-08-14 2019-08-14 Page generation method and device

Publications (1)

Publication Number Publication Date
CN110704143A true CN110704143A (en) 2020-01-17

Family

ID=69193515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910750860.XA Pending CN110704143A (en) 2019-08-14 2019-08-14 Page generation method and device

Country Status (1)

Country Link
CN (1) CN110704143A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111580873A (en) * 2020-04-01 2020-08-25 北京小米松果电子有限公司 Page updating method and device, terminal and storage medium
CN111598707A (en) * 2020-04-16 2020-08-28 中国人民财产保险股份有限公司 Page generation method and electronic equipment
CN111915445A (en) * 2020-07-10 2020-11-10 中国人民财产保险股份有限公司深圳市分公司 Online platform configuration system and configuration method for non-vehicle insurance
CN113485963A (en) * 2021-06-30 2021-10-08 金蝶软件(中国)有限公司 Information acquisition method and device and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6868389B1 (en) * 1999-01-19 2005-03-15 Jeffrey K. Wilkins Internet-enabled lead generation
CN106648555A (en) * 2015-10-28 2017-05-10 阿里巴巴集团控股有限公司 Page generation method and device
CN109325205A (en) * 2018-09-25 2019-02-12 中国建设银行股份有限公司 A kind of page generation method and device
CN109388397A (en) * 2018-09-26 2019-02-26 中国平安财产保险股份有限公司 Product page generation method, system, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6868389B1 (en) * 1999-01-19 2005-03-15 Jeffrey K. Wilkins Internet-enabled lead generation
CN106648555A (en) * 2015-10-28 2017-05-10 阿里巴巴集团控股有限公司 Page generation method and device
CN109325205A (en) * 2018-09-25 2019-02-12 中国建设银行股份有限公司 A kind of page generation method and device
CN109388397A (en) * 2018-09-26 2019-02-26 中国平安财产保险股份有限公司 Product page generation method, system, computer equipment and storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111580873A (en) * 2020-04-01 2020-08-25 北京小米松果电子有限公司 Page updating method and device, terminal and storage medium
CN111580873B (en) * 2020-04-01 2023-11-07 北京小米松果电子有限公司 Page updating method and device, terminal and storage medium
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
CN111915445A (en) * 2020-07-10 2020-11-10 中国人民财产保险股份有限公司深圳市分公司 Online platform configuration system and configuration method for non-vehicle insurance
CN111915445B (en) * 2020-07-10 2023-12-12 中国人民财产保险股份有限公司深圳市分公司 Online platform configuration system and method for non-vehicle insurance
CN113485963A (en) * 2021-06-30 2021-10-08 金蝶软件(中国)有限公司 Information acquisition method and device and computer storage medium

Similar Documents

Publication Publication Date Title
CN110704143A (en) Page generation method and device
CN108259553B (en) Service mail sending method and terminal equipment
CN102939612B (en) The method and system of the amendment to user interface components is merged in the user-defined situation of protection
CN107479882B (en) Generating method and generating device of application page, medium and electronic equipment
US20060041503A1 (en) Collaborative negotiation methods, systems, and apparatuses for extended commerce
CN110837366A (en) Form generation method, electronic device and computer readable storage medium
CN107146095B (en) Method and device for processing display information of mail and mail system
CN109447674A (en) Electronic device, insurance agent target service area determine method and storage medium
CN110989891A (en) Component deployment method in chart editor, chart editor and related equipment
CN113034178A (en) Multi-system integral calculation method and device, terminal equipment and storage medium
US20150169515A1 (en) Data driven synthesizer
CN110796551A (en) Automatic control method, device and system for fund management
CN110751456A (en) Project management system
CN111831179B (en) Signing method, device and computer readable medium
CN114816405A (en) Business view interface display method and device, computer equipment and storage medium
CN110990643B (en) GoJS-based complex task visualization method, terminal device and storage medium
CN108984318B (en) Message delivery method and device based on driving model and readable storage medium
CN113761415A (en) Page display method and device
CN112363716A (en) Method, system and device for dynamically assembling evaluation model
CN108984488A (en) A kind of method, storage medium and server adding business information into file
CN110851568A (en) Commodity information processing method, terminal device and computer-readable storage medium
EP2624128A2 (en) Standalone data entry for backend system
CN109857991A (en) Date storage method, device and electronic equipment
CN110430267A (en) Ballot associated data processing method and its device on block chain
CN112348298A (en) Designer management method, designer management device, electronic terminal 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