CN117032704A - Page generation method, page generation device, computer equipment and computer storage medium - Google Patents

Page generation method, page generation device, computer equipment and computer storage medium Download PDF

Info

Publication number
CN117032704A
CN117032704A CN202311027774.9A CN202311027774A CN117032704A CN 117032704 A CN117032704 A CN 117032704A CN 202311027774 A CN202311027774 A CN 202311027774A CN 117032704 A CN117032704 A CN 117032704A
Authority
CN
China
Prior art keywords
page
active page
component
active
generating
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
CN202311027774.9A
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 International Financial Leasing Co Ltd
Original Assignee
Ping An International Financial Leasing 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 Ping An International Financial Leasing Co Ltd filed Critical Ping An International Financial Leasing Co Ltd
Priority to CN202311027774.9A priority Critical patent/CN117032704A/en
Publication of CN117032704A publication Critical patent/CN117032704A/en
Pending legal-status Critical Current

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application discloses a page generation method, a page generation device, computer equipment and a storage medium, wherein the page generation method comprises the following steps: acquiring the current scene requirement of page configuration; mining and comparing the scene demand with the historical active page to obtain a page configuration parameter of the current scene demand; generating a to-be-selected active page according to the page configuration parameters, wherein one or more operable components are associated with the to-be-selected active page; responding to a selection instruction of an active page to be selected, and acquiring the attribute of an operable component associated with the active page to be selected; and generating a target active page according to the selected active page to be selected and the attribute of the operable component so as to display the target active page. The current scene requirements and the historical active pages are mined and compared, and visual pages to be selected and components are provided for users to select and edit to generate target active pages, so that the generation efficiency of different pages is improved.

Description

Page generation method, page generation device, computer equipment and computer storage medium
Technical Field
The present application relates to the field of web page configuration, and in particular, to a method and apparatus for generating a web page, a computer device, and a computer storage medium.
Background
In the current webpage page design process, some schemes adopt independent page designs, the process from the requirement to the webpage design is fixed, the consumed time is more, and the webpage design and generation efficiency is low.
Disclosure of Invention
The invention aims to provide a page generation method and device, computer equipment and a computer storage medium, which at least solve the problems of low customization degree and low configuration efficiency of different webpage pages at present.
In order to solve the above technical problems, the present invention provides a page generating method, including:
acquiring the current scene requirement of page configuration;
mining and comparing the scene demand with the historical active page to obtain a page configuration parameter of the current scene demand;
generating a to-be-selected active page according to the page configuration parameters, wherein one or more operable components are associated with the to-be-selected active page;
Responding to a selection instruction of an active page to be selected, and acquiring the attribute of an operable component associated with the active page to be selected;
and generating a target active page according to the selected active page to be selected and the attribute of the operable component so as to display the target active page.
Optionally, the generating a to-be-selected active page according to the page configuration parameter, where after the to-be-selected active page is associated with one or more operable components, the method further includes:
displaying the active page to be selected and the operable component in a low-code platform;
and in the low-code platform, receiving a selection operation of the to-be-selected active page, and responding to a selection instruction of the to-be-selected active page to acquire the attribute of an operable component associated with the to-be-selected active page.
Optionally, the selected active page to be selected includes a first active page and a second active page; the generating a target active page according to the selected active page to be selected and the attribute of the operable component comprises the following steps:
acquiring the association information of the first active page and the second active page;
determining a jump rule of the first active page and the second active page according to the association information;
And applying the jump rule to the first active page and the second active page to generate target active pages containing different layers.
Optionally, after the target active page is generated according to the selected active page to be selected and the attribute of the operable component, the method further includes:
responding to the selection operation of the user on the data source of the component, and carrying out association binding on the component and the selected data source;
generating a mapping relationship between the component and the selected data source;
and storing the mapping relation association into the configuration information of the target active page.
Optionally, after the association binding of the component with the selected data source is performed in response to the user selection operation of the data source of the component, the method further includes:
acquiring a data rule of the component in response to binding selection of a data source of the component by a user;
acquiring data information of the data source;
and adjusting the data information of the data source according to the data rule to generate a target data source conforming to the data rule of the component.
Optionally, after the displaying the active page to be selected and the operable component, the method further includes:
Displaying a preconfigured page template;
responding to the preview of a user on any page template, and generating a preview page matched with the page template according to the active page so as to enable the user to preview the active page;
and responding to a determining instruction of any page template, and generating a target active page matched with the page template according to the active page.
Optionally, after the target active page is generated according to the selected active page to be selected and the attribute of the operable component, the method further includes:
acquiring recommended configuration information of the component in response to editing actions on the component;
generating a corresponding component to be selected according to the recommended configuration information;
responding to the selection of any component to be selected, and acquiring configuration information of the selected component to be selected;
and modifying the configuration information of the target active page according to the configuration information of the selected component to be selected so as to apply the selected component to the target active page.
In order to solve the above technical problem, an embodiment of the present invention further provides a page generating device, including:
the demand acquisition module is used for acquiring the current scene demand of the page configuration;
The mining comparison module is used for carrying out mining comparison on the basis of the scene requirement and the historical active page to obtain page configuration parameters of the current scene requirement;
the parameter configuration module is used for generating a to-be-selected active page according to the page configuration parameters, wherein one or more operable components are associated with the to-be-selected active page;
the attribute configuration module is used for responding to a selection instruction of an active page to be selected and acquiring the attribute of an operable component associated with the active page to be selected;
and the page generation module is used for generating a target active page according to the selected active page to be selected and the attribute of the operable component so as to display the target active page.
Optionally, the attribute configuration module is further configured to:
displaying the active page to be selected and the operable component in a low-code platform;
and in the low-code platform, receiving a selection operation of the to-be-selected active page, and responding to a selection instruction of the to-be-selected active page to acquire the attribute of an operable component associated with the to-be-selected active page.
Optionally, the selected active page to be selected includes a first active page and a second active page; the page generation module is further configured to:
Acquiring the association information of the first active page and the second active page;
determining a jump rule of the first active page and the second active page according to the association information;
and applying the jump rule to the first active page and the second active page to generate target active pages containing different layers.
Optionally, the system further comprises a data configuration module for:
responding to the selection operation of the user on the data source of the component, and carrying out association binding on the component and the selected data source;
generating a mapping relationship between the component and the selected data source;
and storing the mapping relation association into the configuration information of the target active page.
Optionally, the data configuration module is further configured to;
responding to binding selection of a data source of the component by a user, and acquiring a data rule of the component;
acquiring data information of the data source;
and adjusting the data information of the data source according to the data rule to generate a target data source conforming to the data rule of the component.
Optionally, the system further comprises a page template module for;
displaying a preconfigured page template;
Responding to the preview of a user on any page template, and generating a preview page matched with the page template according to the active page so as to enable the user to preview the active page;
and responding to a determining instruction of any page template, and generating a target active page matched with the page template according to the active page.
Optionally, the system further comprises a component editing module for:
acquiring recommended configuration information of the component in response to editing actions on the component;
generating a corresponding component to be selected according to the recommended configuration information;
responding to the selection of any component to be selected, and acquiring configuration information of the selected component to be selected;
and modifying the configuration information of the target active page according to the configuration information of the selected component to be selected so as to apply the selected component to the target active page.
In order to solve the above technical problem, an embodiment of the present invention further provides a computer device, including a memory and a processor, where the memory stores computer readable instructions, and when the computer readable instructions are executed by the processor, the processor is caused to execute the steps of the page generating method.
To solve the above technical problem, embodiments of the present invention further provide a storage medium storing computer readable instructions, where the computer readable instructions when executed by one or more processors cause the one or more processors to perform the steps of the page generating method described above.
The beneficial effects of the invention are: acquiring the current scene requirement of page configuration; mining and comparing the scene demand with the historical active page to obtain a page configuration parameter of the current scene demand; generating a to-be-selected active page according to the page configuration parameters, wherein one or more operable components are associated with the to-be-selected active page; responding to a selection instruction of an active page to be selected, and acquiring the attribute of an operable component associated with the active page to be selected; generating a target activity page according to the selected activity page to be selected and the attribute of the operable component so as to display the target activity page, carrying out mining comparison on the basis of the scene requirement and the historical activity page, thereby determining the configuration parameters of the activity page corresponding to the current scene requirement, enabling the output activity page to be selected for the user to select, enabling the component contained in the activity page to be selected for the user to select, ensuring the flexibility of page design, and enabling the determined page configuration parameters to face different operating systems, different browsers or different application programs through mining comparison, thereby improving the development and generation efficiency of the pages with different scene requirements.
Drawings
The foregoing and/or additional aspects and advantages of the application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a schematic diagram of a basic flow of a page generation method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of the basic structure of a page generating apparatus according to an embodiment of the present application;
fig. 3 is a block diagram showing the basic structure of a computer device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It will be understood by those skilled in the art that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs unless defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As will be appreciated by those skilled in the art, a "terminal" as used herein includes both devices of a wireless signal receiver that have only wireless signal receivers without transmitting capabilities and devices of receiving and transmitting hardware that have devices capable of performing two-way communications over a two-way communications link. Such a device may include: a cellular or other communication device having a single-line display or a multi-line display or a cellular or other communication device without a multi-line display; a PCS (Personal Communications Service, personal communication system) that may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant ) that can include a radio frequency receiver, pager, internet/intranet access, web browser, notepad, calendar and/or GPS (Global Positioning System ) receiver; a conventional laptop and/or palmtop computer or other appliance that has and/or includes a radio frequency receiver. As used herein, a "terminal" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or adapted and/or configured to operate locally and/or in a distributed fashion, to operate at any other location(s) on earth and/or in space. The "terminal" used herein may also be a communication terminal, a network access terminal, a music/video playing terminal, for example, a PDA, a MID (Mobile Internet Device ) and/or a mobile phone with music/video playing function, and may also be a smart tv, a set-top box, etc.
The application refers to hardware such as a server, a client, a service node, and the like, which essentially is an electronic device with personal computer and other functions, and is a hardware device with necessary components disclosed by von neumann principles such as a central processing unit (including an arithmetic unit and a controller), a memory, an input device, an output device, and the like, wherein a computer program is stored in the memory, and the central processing unit calls the program stored in the memory to run, executes instructions in the program, and interacts with the input and output devices, thereby completing specific functions.
It should be noted that the concept of the present application, called "server", is equally applicable to the case of server clusters. The servers should be logically partitioned, physically separate from each other but interface-callable, or integrated into a physical computer or group of computers, according to network deployment principles understood by those skilled in the art. Those skilled in the art will appreciate this variation and should not be construed as limiting the implementation of the network deployment approach of the present application.
One or more technical features of the present application, unless specified in the clear, may be deployed either on a server for implementation and the client remotely invokes an online service interface provided by the acquisition server for implementation of the access, or may be deployed and run directly on the client for implementation of the access.
The neural network model cited or possibly cited in the application can be deployed on a remote server and can be used for implementing remote call on a client, or can be deployed on a client with sufficient equipment capability for direct call, unless specified by plaintext, and in some embodiments, when the neural network model runs on the client, the corresponding intelligence can be obtained through migration learning so as to reduce the requirement on the running resources of the hardware of the client and avoid excessively occupying the running resources of the hardware of the client.
The various data related to the present application, unless specified in the plain text, may be stored either remotely in a server or in a local terminal device, as long as it is suitable for being invoked by the technical solution of the present application.
Those skilled in the art will appreciate that: although the various methods of the present application are described based on the same concepts so as to be common to each other, the methods may be performed independently of each other unless specifically indicated otherwise. Similarly, for the various embodiments disclosed herein, all concepts described herein are presented based on the same general inventive concept, and thus, concepts described herein with respect to the same general inventive concept, and concepts that are merely convenient and appropriately modified, although different, should be interpreted as equivalents.
The various embodiments of the present application to be disclosed herein, unless the plain text indicates a mutually exclusive relationship with each other, the technical features related to the various embodiments may be cross-combined to flexibly construct a new embodiment as long as such combination does not depart from the inventive spirit of the present application and can satisfy the needs in the art or solve the deficiencies in the prior art. This variant will be known to the person skilled in the art.
Referring to fig. 1, fig. 1 is a basic flow chart of a page generating method according to the present embodiment.
As shown in fig. 1, includes:
s1100, acquiring the current scene requirement of page configuration;
the method and the device are applied to a scene generated by the design and configuration of the webpage, the webpage is a carrier capable of intuitively providing various information for a user in an internet scene, the user can know relevant information of webpage display by browsing the content on the webpage, based on the relevant information, each webpage has a specific purpose and information to be displayed when the webpage is designed, when a webpage developer develops and designs the webpage, firstly, the scene requirement of the webpage needs to be determined, for example, the scene requirement can be a generalized requirement, for example, the scene requirement of the webpage is determined to be a homepage, and related information of a company is displayed in a concise mode, the scene requirement can also be a detailed requirement, for example, the scene requirement of the webpage is determined to be a product for displaying, including pictures, videos, introduction of the product for displaying A, sales volume data, evaluation data and other relevant information.
It should be noted that, the web page development tool of this embodiment includes a low code platform, where the low code platform is a set of visual development tools, and the low code platform of this embodiment has been preconfigured with basic functions of front and back ends, and a web page developer only needs to complete building of a front and back system of a web page by visually configuring a front end component, so as to effectively improve efficiency of web page development.
It should be noted that, the current scene requirement of the page configuration is obtained, the standard style of the scene requirement can be preset, the user submits after filling in the related information of the standard style, and the scene requirement of the webpage to be configured by the user is obtained, namely, the current scene requirement of the page configuration is obtained in response to the related information of the standard style submitted by the user.
It should be noted that, the obtaining of the current scene requirement of the page configuration may be that the scene requirement is analyzed through a large language model, the user only needs to describe the requirement of the page configuration by using natural language and then submit the requirement, the description of the user is analyzed through the large language model in response to the description submitted by the user, and then the description of the user is converted into the scene requirement with standard style, so as to obtain the current scene requirement of the page configuration.
It should be noted that the large language model includes a large language model such as ChatGPT 3.0 or GPT 4.0.
S1200, carrying out mining comparison on the scene demand and the historical active page to obtain a page configuration parameter of the current scene demand;
after the current scene demand of the page configuration is obtained, mining and comparing the current scene demand with the historical active page, comparing the current scene demand with the historical generated active page and the corresponding scene demand thereof, comparing the similarity of the scene demand of the current scene demand with the scene demand of the historical active page, selecting the historical active page with the similarity meeting the preset condition, extracting the page configuration parameter of the historical active page, thereby obtaining the page configuration parameter of the current scene demand, wherein the mining and comparing with the historical active page can be used for determining a most similar historical active page, then obtaining the page configuration parameter of the historical active page as the page configuration parameter of the current scene demand, or determining at least more than two similar historical active pages, then selecting similar parts from the at least more than two similar historical active pages, combining to obtain a more similar historical active page, and obtaining the page configuration parameter of the historical active page as the page configuration parameter of the current scene demand.
It should be noted that, in the process of performing mining comparison based on the scene requirement and the historical active page to obtain the page configuration parameter of the current scene requirement, one or more models are linked to perform mining comparison and determine the page configuration parameter, wherein the process of establishing the models and deploying the application comprises the following steps:
1) And (3) data collection: the method comprises the steps of collecting active page data of a system under different configurations, wherein the active page data comprise index data such as user organization, identity, active subjects, activity purposes, popularization products, various operation data and the like;
2) Data preprocessing: the collected data are cleaned and preprocessed, including data deduplication, outlier processing, missing value filling and the like, and meanwhile, the data are subjected to standardized processing so as to ensure that the data are in the same range, and subsequent data analysis is facilitated;
3) Data analysis: analyzing the processed data, including statistical analysis, data mining and other methods, so as to find out the relation between the configuration and the active page;
4) And (3) establishing a model: and establishing an automatic configuration recommendation model by using an analysis result, wherein the automatic configuration recommendation model comprises methods such as linear regression, decision trees, neural networks and the like, and mapping configuration parameters and performance indexes in historical data into a function so as to realize automatic configuration.
5) Model verification: the accuracy of the model is verified using the historical data and the predictive power and error range of the model are evaluated by comparison with the actual configuration results.
6) Deployment application: after the prediction capability and the error range of the model meet the conditions, the model is deployed into an actual system, and then corresponding Haw webpage configuration parameters are recommended according to scene requirements of users.
S1300, generating a to-be-selected active page according to the page configuration parameters, wherein one or more operable components are associated with the to-be-selected active page;
after the mining comparison is performed on the basis of the scene requirement and the historical active page to obtain the page configuration parameter of the current scene requirement, generating a to-be-selected active page according to the page configuration parameter, wherein in the embodiment, the active page generated on the basis of the page configuration parameter comprises one or more to-be-selected active pages, the generated active pages are defined as to-be-selected active pages and can be selected by a user, wherein the to-be-selected active pages are associated with one or more operable components, namely, each active page is formed by combining one operable component, and each component can be edited and reconfigured so as to meet the webpage design requirement of the user.
It should be noted that, in one embodiment, the generated active pages to be selected may be oriented to different operating systems, to different browsers, or to different applications, i.e., the active pages generated based on the page configuration parameters are different under different operating systems, different browsers, or different applications.
It should be noted that, in another embodiment, the page configuration parameter is associated with an identifier of a corresponding operating system, browser or application program, and at this time, the generated active page meets the requirements of a specific operating system, a specific browser or a specific application program, so as to improve the page generation efficiency under different operating systems, different browsers or different application programs.
S1400, responding to a selection instruction of an active page to be selected, and acquiring the attribute of an operable component associated with the active page to be selected;
after generating a to-be-selected active page according to the page configuration parameters, wherein one or more operable components are associated with the to-be-selected active page, a user can select the generated to-be-selected active page, the attribute of the operable component associated with the to-be-selected active page is obtained in response to a selection instruction of the to-be-selected active page, and when the user determines that one or more to-be-selected active pages are selected, the attribute of the component contained in the selected active page is obtained, and the attribute of the component is editable.
It should be noted that the active page to be selected may be selected visually, or may be selected by default, for example, the first active page to be selected is selected as the selected active page by default.
S1500, generating a target active page according to the selected active page to be selected and the attribute of the operable component so as to display the target active page.
After the attribute of the operable component associated with the to-be-selected active page is obtained in response to the selection instruction of the to-be-selected active page, a target active page is generated according to the selected to-be-selected active page and the attribute of the operable component so as to display the target active page, and after the to-be-selected active page and the operable component contained in the active page are determined and the attribute of the component is obtained, the target active page can be generated according to the configuration information of the to-be-selected active page and the attribute of each component, namely, the selected to-be-selected active page is output, including outputting the related configuration file, the resource file and the script file of the selected active page, and the URL of the selected active page is output, so that the target active page can be accessed through the URL, and the target active page is displayed to a user.
In the above embodiment, the current scene requirement of the page configuration is obtained; mining and comparing the scene demand with the historical active page to obtain a page configuration parameter of the current scene demand; generating a to-be-selected active page according to the page configuration parameters, wherein one or more operable components are associated with the to-be-selected active page; responding to a selection instruction of an active page to be selected, and acquiring the attribute of an operable component associated with the active page to be selected; generating a target activity page according to the selected activity page to be selected and the attribute of the operable component so as to display the target activity page, carrying out mining comparison on the basis of the scene requirement and the historical activity page, thereby determining the configuration parameters of the activity page corresponding to the current scene requirement, enabling the output activity page to be selected for the user to select, enabling the component contained in the activity page to be selected for the user to select, ensuring the flexibility of page design, and enabling the determined page configuration parameters to face different operating systems, different browsers or different application programs through mining comparison, thereby improving the development and generation efficiency of the pages with different scene requirements.
In some embodiments, S1300 generates a to-be-selected active page according to the page configuration parameter, where after the to-be-selected active page is associated with one or more operable components, the method further includes:
s1311, displaying the active page to be selected and the operable component in a low-code platform;
in one embodiment, after generating a to-be-selected active page according to the page configuration parameters, where one or more operable components are associated with the to-be-selected active page, in order to allow a user to intuitively browse the generated to-be-selected active page, the web page development tool of this embodiment accesses a low code platform, where the page configuration parameters may complete compiling and rendering in the low code platform, and after the page configuration parameters are compiled and run in the low code platform, the to-be-selected active page and the operable components are displayed in the low code platform, in one embodiment, each to-be-selected active page is displayed in a thumbnail form, and the user may browse the style of the to-be-selected active page through browsing the thumbnail, further, after the user motors the thumbnail, the content of the to-be-selected active page may be browsed in detail, and each operable component in the to-be-selected active page is displayed for the user to view.
S1312, in the low-code platform, receiving a selection operation of the to-be-selected active page, and responding to a selection instruction of the to-be-selected active page, and acquiring the attribute of an operable component associated with the to-be-selected active page.
In the low code platform, after the to-be-selected active page and the operable components are displayed, receiving a selection operation of the to-be-selected active page in the low code platform, wherein the selection operation of the to-be-selected active page can be an operation of manually selecting one or more to-be-selected active pages by a user, in other words, the selection operation can be a default selection, namely, a first to-be-selected active page generated by a default selection page development tool, after receiving the selection operation, responding to a selection instruction of the to-be-selected active page, acquiring the attribute of the operable component associated with the to-be-selected active page, namely, acquiring the attribute of the operable component contained in the to-be-selected active page, in addition, selecting a plurality of to-be-selected active pages, determining the selected operable component from the plurality of to-be-selected active pages, and then acquiring the attribute of the operable component associated with each selected to-be-selected active page.
According to the method, the to-be-selected active page and the operable components are displayed in the low-code platform, selection operation of the to-be-selected active page is received, the attribute of the operable components associated with the to-be-selected active page is obtained in response to a selection instruction of the to-be-selected active page, the to-be-selected active page and the associated components are visually output in the low-code platform for a user to view and select, and the attribute of the components associated with the to-be-selected active page is determined, so that the efficiency of configuration of the webpage page is improved.
In some implementations, the selected active pages to be selected include a first active page and a second active page; generating a target active page according to the selected active page to be selected and the attribute of the operable component in S1500, including:
s1511, acquiring association information of the first active page and the second active page;
in one embodiment, the selected active page to be selected includes a first active page and a second active page, that is, the selected active page includes at least two active pages, and in order to establish a link between the two active pages, association information of the first active page and the second active page is acquired, where the association information includes a jump rule of the first active page and the second active page.
S15512, determining a jump rule of the first active page and the second active page according to the association information;
after the association information of the first active page and the second active page is acquired, determining a jump rule of the first active page and the second active page according to the association information, wherein the jump rule comprises a path for jumping the first active page to the second active page and a path for jumping the second active page to the first active page, and the jump rule further comprises page changes of the first active page and/or the second active page after the first active page jumps to the second active page and page changes of the first active page and/or the second active page after the second active page jumps to the first active page.
S1513, applying the jump rule to the first active page and the second active page, and generating a target active page containing different layers.
After determining the jump rule of the first active page and the second active page according to the association information, applying the jump rule to the first active page and the second active page to generate target active pages containing different levels, configuring relevant information of the jump rule of the first active page and the second active page in the generated webpage configuration, so as to generate target active pages containing different levels, wherein the target active pages can firstly display the first active page, then jump to the second active page according to the jump rule, or firstly display the second active page, and then jump to the first active page according to the jump rule.
According to the method, the related information of the first active page and the second active page is obtained, the jump rule of the first active page and the jump rule of the second active page are determined according to the related information, the jump rule is applied to the first active page and the second active page, the target active page containing different layers is generated, the hierarchical relation of a plurality of different active pages is quickly established, and therefore the generation efficiency of the multi-level page is improved.
In some embodiments, after generating the target active page according to the selected candidate active page and the attribute of the operable component, S1500 further includes:
s1521, responding to the selection operation of the data source of the component by a user, and carrying out association binding on the component and the selected data source;
after the target activity page is generated according to the selected to-be-selected activity page and the attribute of the operable component, the related data is required to be linked for the target activity page, so that the target activity page can dynamically change the displayed information according to the linked data, each component in the target activity page can be linked with the related data, when one or more components are selected by a user, the component is associated and bound with the selected data source in response to the selection operation of the user on the data source of the component, namely, the component selected by the user and the data source selected for the component are bound, and the component can display corresponding information based on the linked data source.
S1522, generating a mapping relation between the component and the selected data source;
and generating a mapping relation between the components and the selected data sources after the components are associated and bound with the selected data sources in response to the selection operation of the data sources of the components by a user, and generating the mapping relation between the components and the data sources after each component and the selected data sources are determined, wherein the mapping relation meets the configuration information requirement of an active page, namely the mapping relation is generated according to the configuration information requirement of the active page.
S1523, storing the mapping relation association into the configuration information of the target active page.
After the mapping relation between the components and the selected data sources is generated, the mapping relation is associated and stored in the configuration information of the target activity page, and after the generated mapping relation meets the requirement of the configuration information of the target activity page, the mapping relation is stored in the configuration information of the target activity page, so that when the target activity page is browsed, the data sources associated with each component can be determined according to the mapping relation, and the related information of the components is displayed based on the data sources, thereby improving the configuration efficiency of the associated data in the target activity page.
According to the method, the data sources of the components are selected by a user, the components and the selected data sources are associated and bound, the mapping relation between the components and the selected data sources is generated, the mapping relation is associated and stored in the configuration information of the target activity page, the fact that the data sources connected with each component can be written into the configuration information of the target activity page is ensured, and therefore relevant information is displayed on the components of the target activity page based on the data sources, and accordingly configuration efficiency of associated data in the target activity page is improved.
In some embodiments, after the step S1521 of binding the component with the selected data source in response to the user' S selection operation of the data source of the component, the method further includes:
s1531, responding to the binding selection of the data source of the component by the user, and acquiring the data rule of the component.
After the data source of the component is selected by the user, the component is associated and bound with the selected data source, and then the data rule of the component is acquired when the data source is selected by the user, and after the data source is selected by the user for one component, the data rule of the component is acquired firstly because the data format of the data source does not necessarily meet the data requirement of the component.
S1532, acquiring data information of the data source;
and acquiring the data rule of the component, and then acquiring the data information of the data source, namely acquiring the data information of the data source selected to be bound by the component, wherein the data information comprises the data format, the data volume, the data updating rule and the like of the data source.
S1533, adjusting the data information of the data source according to the data rule, and generating a target data source conforming to the data rule of the component.
After the data rule of the component is obtained and the data information of the data source is obtained, the data information of the data source is adjusted according to the data rule to generate a target data source conforming to the data rule of the component, in one implementation mode, the data source is mapped into a virtual storage space, then the data information of the data source is adjusted in the virtual storage space according to the data rule, and the target data source conforming to the data rule of the component is generated and applied to the corresponding component without affecting the data storage and updating of the original data source.
After determining the data source selected by the component, the embodiment obtains the data rule of the component in response to the binding selection of the data source by the user on the component, obtains the data information of the data source, adjusts the data information of the data source according to the data rule, generates the target data source conforming to the data rule of the component, and improves the success rate and the efficiency of applying different data sources to the component.
In some embodiments, after S1311 shows the active page to be selected and the operable component, the method further includes:
s1321, displaying a preconfigured page template;
after the active page to be selected and the operable components are displayed, a preconfigured page template is displayed, wherein the page template can be a template of different styles or a template used in different occasions, such as an enterprise internal active page template, and a plurality of different types of activities, such as annual meeting, group building, training and the like, exist in an enterprise; e-commerce sales promotion, the E-commerce platform needs to regularly hold various sales promotion activities, such as double 11, 618 and the like; the page template is preconfigured to allow the user to select.
S1322, responding to the preview of any page template by a user, and generating a preview page matched with the page template according to the active page so as to enable the user to preview the active page;
After a preconfigured page template is displayed, responding to the preview of a user on any page template, generating a preview page matched with the page template according to the active page so as to enable the user to preview the active page, and when the user selects to preview a certain page template, applying the selected active page to be selected to the page template so as to generate a preview page matched with the page template for the user to preview the active page, wherein the user can intuitively and clearly preview the pattern of the active page under the template, thereby improving the configuration efficiency of the active page under different styles or different occasion demands.
S1323, responding to a determining instruction of any page template, and generating a target active page matched with the page template according to the active page.
After the active page is output for the user to preview, responding to a determining instruction of any page template, generating a target active page matched with the page template according to the active page, applying the content of the active page and contained components to the page template, thereby generating the target active page matched with the page template, and improving the configuration efficiency of the active page under different styles or different occasion demands by pre-configuring the page template, wherein the page template can be modified, and the user can edit and store the page template when selecting the page template, thereby generating the page template suitable for the user demands.
According to the method, the page template is preconfigured, the preview page matched with the page template is generated according to the active page in response to the preview of any page template by a user, so that the user previews the active page, the target active page matched with the page template is generated according to the active page in response to the determining instruction of any page template, and the user can intuitively and clearly preview the pattern of the active page under the template, so that the configuration efficiency of the active page under different styles or different occasion demands is improved.
In some embodiments, after the generating the target active page according to the selected candidate active page and the attribute of the operable component, the S1500 further includes:
s1541, acquiring recommended configuration information of the component in response to editing actions of the component;
after generating a target activity page according to the selected activity page to be selected and the attribute of the operable component, acquiring recommended configuration information of the component in response to an editing action on the component, wherein a user can edit the component contained in the target activity page, such as changing the display style of the component, changing the display rule of the component, changing the trigger logic of the component and the like, and when the user edits the component, the system pre-configures configuration information of the component in different scenes to push the component of the configuration information to the user.
S1542, generating a corresponding component to be selected according to the recommended configuration information;
after the recommended configuration information of the components is obtained, corresponding components to be selected are generated according to the recommended configuration information, each component to be selected can replace a corresponding component in a current target activity page, namely, different components to be selected can be selected by a user, so that the corresponding component in the target activity page is replaced, further, the user can freely edit the configuration information of the components, so that the components to be selected corresponding to the configuration information are generated, for example, the configuration information comprises the length, width and height information of the components, the display style information of the components, the display rule information of the components and the like, the user can freely edit the configuration information of the components, and the components to be selected generated based on the configuration information can be previewed in real time.
S1543, responding to the selection of any component to be selected, and acquiring configuration information of the selected component to be selected;
after corresponding components to be selected are generated according to the recommended configuration information, the configuration information of the selected components to be selected is obtained in response to the selection of any components to be selected, and when one component to be selected is determined to be selected, the configuration information of the selected components to be selected is activated.
S1544, modifying the configuration information of the target active page according to the configuration information of the selected component to be selected so as to apply the selected component to the target active page.
After the configuration information of the selected component to be selected is obtained, the configuration information of the target active page is modified according to the configuration information of the selected component to be selected so as to apply the selected component to the target active page.
According to the method, the recommended configuration information of the component is obtained in response to the editing action of the component, the corresponding component to be selected is generated according to the recommended configuration information, the configuration information of the selected component to be selected is obtained in response to the selection of any component to be selected, the configuration information of the target active page is modified according to the configuration information of the selected component to be selected, and the selected component to be selected is applied to the target active page, so that a user can adaptively modify the attribute of the component in the target active page, and the flexibility of page configuration and the efficiency of different page configurations are improved.
Referring specifically to fig. 2, fig. 2 is a schematic diagram of a basic structure of a page generating apparatus according to the present embodiment.
As shown in fig. 2, a page generating apparatus includes: the requirement acquisition module 1100 is configured to acquire a current scene requirement of the page configuration; the mining comparison module 1200 is configured to perform mining comparison based on the scene requirement and the historical active page, so as to obtain a page configuration parameter of the current scene requirement; a number configuration module 1300, configured to generate a to-be-selected active page according to the page configuration parameter, where one or more operable components are associated with the to-be-selected active page; the attribute configuration module 1400 is configured to obtain an attribute of an operable component associated with a to-be-selected active page in response to a selection instruction of the to-be-selected active page; the page generating module 1500 is configured to generate a target active page according to the selected active page to be selected and the attribute of the operable component, so as to display the target active page.
The page generating device acquires the current scene requirement of the page configuration; mining and comparing the scene demand with the historical active page to obtain a page configuration parameter of the current scene demand; generating a to-be-selected active page according to the page configuration parameters, wherein one or more operable components are associated with the to-be-selected active page; responding to a selection instruction of an active page to be selected, and acquiring the attribute of an operable component associated with the active page to be selected; generating a target activity page according to the selected activity page to be selected and the attribute of the operable component so as to display the target activity page, carrying out mining comparison on the basis of the scene requirement and the historical activity page, thereby determining the configuration parameters of the activity page corresponding to the current scene requirement, enabling the output activity page to be selected for the user to select, enabling the component contained in the activity page to be selected for the user to select, ensuring the flexibility of page design, and enabling the determined page configuration parameters to face different operating systems, different browsers or different application programs through mining comparison, thereby improving the development and generation efficiency of the pages with different scene requirements.
Optionally, the attribute configuration module 1400 is further configured to:
displaying the active page to be selected and the operable component in a low-code platform;
and in the low-code platform, receiving a selection operation of the to-be-selected active page, and responding to a selection instruction of the to-be-selected active page to acquire the attribute of an operable component associated with the to-be-selected active page.
Optionally, the selected active page to be selected includes a first active page and a second active page; the page generation module 1500 is further configured to:
acquiring the association information of the first active page and the second active page;
determining a jump rule of the first active page and the second active page according to the association information;
and applying the jump rule to the first active page and the second active page to generate target active pages containing different layers.
Optionally, the data configuration module 1600 is further included for:
responding to the selection operation of the user on the data source of the component, and carrying out association binding on the component and the selected data source;
generating a mapping relationship between the component and the selected data source;
and storing the mapping relation association into the configuration information of the target active page.
Optionally, the data configuration module 1600 is further configured to;
responding to binding selection of a data source of the component by a user, and acquiring a data rule of the component;
acquiring data information of the data source;
and adjusting the data information of the data source according to the data rule to generate a target data source conforming to the data rule of the component.
Optionally, a page template module 1700 is further included for;
displaying a preconfigured page template;
responding to the preview of a user on any page template, and generating a preview page matched with the page template according to the active page so as to enable the user to preview the active page;
and responding to a determining instruction of any page template, and generating a target active page matched with the page template according to the active page.
Optionally, a component editing module 1800 is also included for:
acquiring recommended configuration information of the component in response to editing actions on the component;
generating a corresponding component to be selected according to the recommended configuration information;
responding to the selection of any component to be selected, and acquiring configuration information of the selected component to be selected;
and modifying the configuration information of the target active page according to the configuration information of the selected component to be selected so as to apply the selected component to the target active page.
In order to solve the technical problems, the embodiment of the application also provides computer equipment. Referring specifically to fig. 3, fig. 3 is a basic structural block diagram of a computer device according to the present embodiment.
As shown in fig. 3, the internal structure of the computer device is schematically shown. The computer device includes a processor, a non-volatile storage medium, a memory, and a network interface connected by a system bus. The nonvolatile storage medium of the computer device stores an operating system, a database and computer readable instructions, the database can store a control information sequence, and the computer readable instructions can enable the processor to realize a transaction certificate chaining method when the computer readable instructions are executed by the processor. The processor of the computer device is used to provide computing and control capabilities, supporting the operation of the entire computer device. The memory of the computer device may have stored therein computer readable instructions that, when executed by the processor, cause the processor to perform a page generation method. The network interface of the computer device is for communicating with a terminal connection. It will be appreciated by those skilled in the art that the structure shown in FIG. 3 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
The processor in this embodiment is configured to perform specific functions of the requirement obtaining module 1100, the mining comparing module 1200, the parameter configuring module 1300, the attribute configuring module 1400 and the page generating module 1500 in fig. 2, and the memory stores program codes and various data required for executing the foregoing modules. The network interface is used for data transmission between the user terminal or the server. The memory in this embodiment stores program codes and data necessary for executing all the sub-modules in the page generating device, and the server can call the program codes and data of the server to execute the functions of all the sub-modules.
The computer equipment obtains the current scene requirement of page configuration; mining and comparing the scene demand with the historical active page to obtain a page configuration parameter of the current scene demand; generating a to-be-selected active page according to the page configuration parameters, wherein one or more operable components are associated with the to-be-selected active page; responding to a selection instruction of an active page to be selected, and acquiring the attribute of an operable component associated with the active page to be selected; generating a target activity page according to the selected activity page to be selected and the attribute of the operable component so as to display the target activity page, carrying out mining comparison on the basis of the scene requirement and the historical activity page, thereby determining the configuration parameters of the activity page corresponding to the current scene requirement, enabling the output activity page to be selected for the user to select, enabling the component contained in the activity page to be selected for the user to select, ensuring the flexibility of page design, and enabling the determined page configuration parameters to face different operating systems, different browsers or different application programs through mining comparison, thereby improving the development and generation efficiency of the pages with different scene requirements.
The application also provides a storage medium storing computer readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of any of the embodiment page generation methods described above.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored in a computer-readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a random access Memory (Random Access Memory, RAM).
Those of skill in the art will appreciate that the various operations, methods, steps in the flow, acts, schemes, and alternatives discussed in the present application may be alternated, altered, combined, or eliminated. Further, other steps, means, or steps in a process having various operations, methods, or procedures discussed herein may be alternated, altered, rearranged, disassembled, combined, or eliminated. Further, steps, measures, schemes in the prior art with various operations, methods, flows disclosed in the present application may also be alternated, altered, rearranged, decomposed, combined, or deleted.
The foregoing is only a partial embodiment of the present application, and it should be noted that it will be apparent to those skilled in the art that modifications and adaptations can be made without departing from the principles of the present application, and such modifications and adaptations are intended to be comprehended within the scope of the present application.

Claims (10)

1. A page generation method, comprising:
acquiring the current scene requirement of page configuration;
mining and comparing the scene demand with the historical active page to obtain a page configuration parameter of the current scene demand;
generating a to-be-selected active page according to the page configuration parameters, wherein one or more operable components are associated with the to-be-selected active page;
responding to a selection instruction of an active page to be selected, and acquiring the attribute of an operable component associated with the active page to be selected;
and generating a target active page according to the selected active page to be selected and the attribute of the operable component so as to display the target active page.
2. The page generation method according to claim 1, wherein the generating a to-be-selected active page according to the page configuration parameter, wherein after the to-be-selected active page is associated with one or more operable components, further comprises:
Displaying the active page to be selected and the operable component in a low-code platform;
and in the low-code platform, receiving a selection operation of the to-be-selected active page, and responding to a selection instruction of the to-be-selected active page to acquire the attribute of an operable component associated with the to-be-selected active page.
3. The page generation method of claim 1, wherein the selected active page to be selected comprises a first active page and a second active page; the generating a target active page according to the selected active page to be selected and the attribute of the operable component comprises the following steps:
acquiring the association information of the first active page and the second active page;
determining a jump rule of the first active page and the second active page according to the association information;
and applying the jump rule to the first active page and the second active page to generate target active pages containing different layers.
4. The page generation method according to claim 1, wherein after generating the target active page according to the selected candidate active page and the attribute of the operable component, further comprising:
Responding to the selection operation of the user on the data source of the component, and carrying out association binding on the component and the selected data source;
generating a mapping relationship between the component and the selected data source;
and storing the mapping relation association into the configuration information of the target active page.
5. The page generation method according to claim 4, wherein after the association binding of the component with the selected data source is performed in response to the user selection operation of the data source of the component, further comprising:
responding to binding selection of a data source of the component by a user, and acquiring a data rule of the component;
acquiring data information of the data source;
and adjusting the data information of the data source according to the data rule to generate a target data source conforming to the data rule of the component.
6. The page generation method of claim 2, further comprising, after the presenting the active page to be selected and the operable component:
displaying a preconfigured page template;
responding to the preview of a user on any page template, and generating a preview page matched with the page template according to the active page so as to enable the user to preview the active page;
And responding to a determining instruction of any page template, and generating a target active page matched with the page template according to the active page.
7. The page generation method according to claim 1, wherein after generating the target active page according to the selected candidate active page and the attribute of the operable component, further comprising:
acquiring recommended configuration information of the component in response to editing actions on the component;
generating a corresponding component to be selected according to the recommended configuration information;
responding to the selection of any component to be selected, and acquiring configuration information of the selected component to be selected;
and modifying the configuration information of the target active page according to the configuration information of the selected component to be selected so as to apply the selected component to the target active page.
8. A page generating apparatus, comprising:
the demand acquisition module is used for acquiring the current scene demand of the page configuration;
the mining comparison module is used for carrying out mining comparison on the basis of the scene requirement and the historical active page to obtain page configuration parameters of the current scene requirement;
the parameter configuration module is used for generating a to-be-selected active page according to the page configuration parameters, wherein one or more operable components are associated with the to-be-selected active page;
The attribute configuration module is used for responding to a selection instruction of an active page to be selected and acquiring the attribute of an operable component associated with the active page to be selected;
and the page generation module is used for generating a target active page according to the selected active page to be selected and the attribute of the operable component so as to display the target active page.
9. A computer device comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the page generation method of any of claims 1 to 7.
10. A storage medium storing computer readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the page generation method of any of claims 1 to 7.
CN202311027774.9A 2023-08-15 2023-08-15 Page generation method, page generation device, computer equipment and computer storage medium Pending CN117032704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311027774.9A CN117032704A (en) 2023-08-15 2023-08-15 Page generation method, page generation device, computer equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311027774.9A CN117032704A (en) 2023-08-15 2023-08-15 Page generation method, page generation device, computer equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN117032704A true CN117032704A (en) 2023-11-10

Family

ID=88624146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311027774.9A Pending CN117032704A (en) 2023-08-15 2023-08-15 Page generation method, page generation device, computer equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN117032704A (en)

Similar Documents

Publication Publication Date Title
CN109918607B (en) Page construction method and device, medium and computing equipment
JP7312780B2 (en) Online predictive model training method, apparatus, electronic device, computer readable storage medium and computer program
US20210209446A1 (en) Method for generating user interactive information processing model and method for processing user interactive information
US11748557B2 (en) Personalization of content suggestions for document creation
CN112286513A (en) Visual design method and device based on component metadata
US20160259630A1 (en) Systems, apparatus and methods for sharing visual model-based applications
US11822870B2 (en) Customizable user interface layouts
US20190340230A1 (en) System and method for generating websites from predefined templates
US11468786B2 (en) Generating tool-based smart-tutorials
CN104239298A (en) Text message recommendation method, server, browser and system
EP3944592B1 (en) Voice packet recommendation
CN115329131A (en) Material label recommendation method and device, electronic equipment and storage medium
US11556315B2 (en) Methods and systems for operationalizing artificial intelligence models using web-based user interfaces
US11114131B2 (en) System for creating an interactive video using a markup language
US11334606B2 (en) Managing content creation of data sources
US10459994B2 (en) Dynamically tagging webpages based on critical words
CN117032704A (en) Page generation method, page generation device, computer equipment and computer storage medium
CN115080039A (en) Front-end code generation method, device, computer equipment, storage medium and product
US9304830B1 (en) Fragment-based multi-threaded data processing
CN114820883A (en) Poster generation method, poster generation system, electronic device and storage medium
CN113190509A (en) Animation processing method and device, electronic equipment and computer readable storage medium
CN113704593B (en) Operation data processing method and related device
CN113806596B (en) Operation data management method and related device
CN113672794B (en) Page generation method, device and medium
US11886807B2 (en) Method and system to provide object for content arrangement

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