CN114089995A - Page generation method, device, equipment and storage medium - Google Patents

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

Info

Publication number
CN114089995A
CN114089995A CN202110107101.9A CN202110107101A CN114089995A CN 114089995 A CN114089995 A CN 114089995A CN 202110107101 A CN202110107101 A CN 202110107101A CN 114089995 A CN114089995 A CN 114089995A
Authority
CN
China
Prior art keywords
data model
rendering area
page
user
data
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
CN202110107101.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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202110107101.9A priority Critical patent/CN114089995A/en
Publication of CN114089995A publication Critical patent/CN114089995A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • 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
    • 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/10Geometric effects
    • G06T15/20Perspective computation
    • G06T15/205Image-based rendering

Abstract

The application discloses a page generation method, a page generation device, page generation equipment and a storage medium, and relates to the technical field of computer vision. One embodiment of the method comprises: responding to the situation that a user adds a rendering area in a page to be generated, and generating the rendering area in the page to be generated based on the attribute information of the rendering area; responding to a user to add a preset data model to the rendering area, and displaying configuration items corresponding to the data model; responding to the configuration information added by the user for the configuration item, and acquiring the configuration information; content of the rendering area is generated based on the configuration information, and the content is stored. The embodiment provides a method for generating a page based on page data, and the autonomy and the flexibility of page generation are improved.

Description

Page generation method, device, equipment and storage medium
Technical Field
The embodiment of the application relates to the field of computers, in particular to the field of computer vision, and particularly relates to a page generation method, a page generation device, page generation equipment and a storage medium.
Background
With the development of the internet, more and more platforms provide page decoration services, so that users can configure page display contents (such as pictures, documentations, links and the like) through a page decoration system. With electronic commerce (hereinafter referred to as e-commerce) as a background, a decoration system of an e-commerce platform provides page decoration service, and a merchant displays and sells commodities by decorating page contents through the decoration system. With the development of electronic commerce, online sales has become an important channel for merchants to sell products. In order to increase sales volume, merchants can put forward various sales schemes, such as a marketing scheme from mid-autumn to mid-autumn; or adjusting and placing the new commodity to a position with a striking page to show and improve the exposure rate. Therefore, the efficiency and flexibility of page decoration are key indexes for measuring a decoration system. The existing decoration system mainly has the following two modes:
in the first mode, the whole page template is a page-oriented page template, and the system provides the page template, where the page template has a content structure, a pattern CSS (Cascading Style Sheets), and an interaction effect (hereinafter referred to as an effect). Therefore, when a user accesses the decoration page of the merchant, the system issues the configuration data and renders the page by combining the page template.
And in the second mode, the page template is further split, an independent module is provided, the system provides a module template, and the template has independent structure, style and logic. And when the page is finished, the merchant adds the page into the page by the self-line selection module to form the whole page. The modules can be laid out, added and deleted.
Disclosure of Invention
The embodiment of the application provides a page generation method, a page generation device, page generation equipment and a storage medium.
In a first aspect, an embodiment of the present application provides a page generation method, including: responding to the situation that a user adds a rendering area in a page to be generated, and generating the rendering area in the page to be generated based on the attribute information of the rendering area; responding to a user to add a preset data model to the rendering area, and displaying configuration items corresponding to the data model; responding to the configuration information added by the user for the configuration item, and acquiring the configuration information; content of the rendering area is generated based on the configuration information, and the content is stored.
In a second aspect, an embodiment of the present application provides a page generating apparatus, including: the first generation unit is configured to respond to the condition that a user adds a rendering area to a page to be generated, and generate the rendering area on the page to be generated based on the attribute information of the rendering area; a display unit configured to display configuration items corresponding to a data model in response to a user adding a predetermined data model to the rendering area; a first obtaining unit configured to obtain configuration information in response to a user adding the configuration information for the configuration item; a second generation unit configured to generate contents of the rendering area based on the configuration information and store the contents.
In a third aspect, an embodiment of the present application provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described in any one of the implementations of the first aspect.
In a fourth aspect, embodiments of the present application propose a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method as described in any one of the implementations of the first aspect.
According to the page generation method, the device, the equipment and the storage medium provided by the embodiment of the application, firstly, a rendering area is added in a to-be-generated page in response to a user, and the rendering area is generated in the to-be-generated page based on the attribute information of the rendering area; then responding to a user to add a preset data model to the rendering area, and displaying configuration items corresponding to the data model; then, responding to the configuration information added by the user for the configuration item, and acquiring the configuration information; and finally, generating the content of the rendering area based on the configuration information, and storing the content. The application provides a method for generating a page in data dimension, which improves the autonomy and flexibility of page generation, improves the efficiency of page generation and saves the research and development cost.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings. The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a page generation method according to the present application;
FIG. 3 is a flow diagram of another embodiment of a page generation method according to the present application;
FIG. 4 is a schematic diagram of a data model;
FIG. 5 is a schematic diagram of configuration items corresponding to a data model;
FIG. 6 is a schematic diagram of a template making protocol;
FIG. 7 is a block diagram of an implementation of a page generation method of the present application;
FIG. 8 is a schematic block diagram of one embodiment of a page generation apparatus according to the present application;
fig. 9 is a block diagram of an electronic device for implementing a page generation method according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the page generation method or page generation apparatus of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as a web browser application, a shopping-type application, and the like.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, desktop computers, and the like.
The server 105 may provide various services. For example, the server 105 may analyze and process data acquired from the terminal apparatuses 101, 102, 103, generate a corresponding page, and feed the page back to the terminal apparatuses 101, 102, 103 that request to browse the page.
It should be noted that the method for generating the page provided by the embodiment of the present application is generally performed by the server 105, and accordingly, the apparatus for generating the page is generally disposed in the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
FIG. 2 shows a flow 200 of one embodiment of a page generation method according to the present application. The page generation method comprises the following steps:
step 201, responding to the situation that a user adds a rendering area in a page to be generated, and generating the rendering area in the page to be generated based on the attribute information of the rendering area.
In this embodiment, an execution subject of the page generation method (for example, the server 105 shown in fig. 1) may obtain attribute information of a rendering area after a user adds the rendering area to a page to be generated, and generate the rendering area in the page to be generated based on the attribute information. When a page is generated, the page to be generated is divided into a plurality of rendering areas, each rendering area refers to a specific area (essentially an empty box) on the page to be generated, a user configures the rendering areas to generate the page to be generated, and attribute information is used for representing relevant information of the rendering areas, including but not limited to the number of the rendering areas, width and height information of the rendering areas, and position information of the rendering areas. The method includes the steps that a user can add one or more rendering areas in a page to be generated, a client side detects that the user adds the rendering areas in the page to be generated, attribute information of the rendering areas is sent to a server, the server generates the rendering areas based on the received attribute information, for example, when the client side detects that the user adds two rendering areas in the page to be generated, the server sends attribute information such as the number of the rendering areas to the server, and the server generates corresponding rendering areas on the page to be generated based on the obtained attribute information.
Step 202, in response to the user adding a predetermined data model to the rendering area, displaying configuration items corresponding to the data model.
In this embodiment, the execution subject may display the configuration item corresponding to the data model after the user adds a predetermined data model to the rendering area. The execution main body defines the data model in advance, and defines corresponding configuration items for the data model, wherein the configuration items are constraint data of the data model. The data model can include a simple data model and a customized data model, the simple data model corresponds to basic data in a page, such as characters, pictures, dates and the like, the customized data model is data generated by combining user identity and properties, for example, when a user is a merchant, the basic data is combined with e-commerce properties to form complex data according to relevance, such as navigation, labels and the like. Therefore, after the user adds a predetermined data model to the rendering area, the configuration item corresponding to the data model is displayed. By providing a configuration function to constrain data and add affiliation attributes to the data, a more flexible way of generating page data is provided. For example, when the data type added by the user for the rendering area is a picture data model in the simple data model, the configuration items corresponding to the picture data model are displayed: configuration pictures and configuration links. In addition, in this embodiment, the user may add a plurality of data models to the same rendering area.
Step 203, responding to the user adding configuration information for the configuration item, and obtaining the configuration information.
In this embodiment, the executing entity obtains the configuration information after the user adds the configuration information to the configuration item. Adding corresponding specific configuration information for the displayed configuration items by a user, wherein the execution main body acquires the configuration information, for example, after the user adds corresponding configuration information (picture information and link information) for the configuration items (configuration pictures and configuration links) of the picture data types, the execution main body acquires the configuration information, namely, the picture information and the link information; when the user adds corresponding configuration information (text information, link information and picture information) to the configuration items (configuration text, configuration links and configuration pictures) of the navigation data type, the execution main body acquires the configuration information.
And step 204, generating the content of the rendering area based on the configuration information, and storing the content.
In this embodiment, the execution main body may generate the content of the rendering area based on the acquired configuration information and store the content. The data model forms the structure of the page, for example, after the picture data model is added to the rendering area, a display area of a picture is generated in the rendering area, but no specific picture is available, and the specific picture and link are configured for the data model by adding corresponding configuration information (picture information and link information) to the configuration items of the data model. Therefore, the configuration information includes the specific content of the page to be generated, the specific content of the rendering area is generated by obtaining the configuration information of the data model of the rendering area, and the content is stored.
In some optional implementation manners of this embodiment, after the executing step 204 is executed, the executing step further displays the copied rendering area in another area of the page to be generated in response to the user copying or copying and modifying the rendering area to obtain the copied rendering area. In this implementation, the rendering area may be copied for use, and the copied rendering area may also be modified to obtain a new rendering area. When a user copies the rendering area or modifies the copied rendering area to generate a copied rendering area, the execution body displays the copied rendering area in other areas of the page to be generated. The reuse rate of the rendering area is improved, and the page generation efficiency is also improved.
According to the page generation method provided by the embodiment of the application, firstly, a rendering area is added in a to-be-generated page in response to a user, and the rendering area is generated in the to-be-generated page based on attribute information of the rendering area; then responding to a user to add a preset data model to the rendering area, and displaying configuration items corresponding to the data model; then, responding to the configuration information added by the user for the configuration item, and acquiring the configuration information; and finally, generating the content of the rendering area based on the configuration information, and storing the content. The application provides a method for generating a page in data dimension, which improves the autonomy and flexibility of page generation, improves the efficiency of page generation and saves the research and development cost.
With continued reference to FIG. 3, a flow 300 of another embodiment of a page generation method according to the present application is shown. The page generation method comprises the following steps:
step 301, define a data model.
In this embodiment, the execution subject combs data in a web page first, and splits the minimum elements in the web page into basic data including characters, pictures, links, and the like. Further packaging the basic data according to the display characteristics of the basic data in the page, for example, the characters can be divided into date data according to a certain format; the pictures may be a group of pictures and exhibit animation effects, etc. And then, combining with the attribute information of the user, for example, when the user is a merchant and needs to show the commodity through a page, the data of the merchant can be combed, and the method can include: commodity data, sales promotion words, coupons and the like, and further carrying out abstract modeling to obtain a data model. The data model is a model that characterizes a collection of data in a web page.
In some optional implementations of this embodiment, the data model includes: a simple data model and a custom data model. The simple data model comprises basic data in a webpage, such as characters, pictures, links and the like; the customized data model comprises complex data formed by basic data according to the relevance, and the basic data in the customized data model is inherited to the simple data model. And a user adds a data model to the rendering area according to the requirement, so that the page can be configured more flexibly.
With continued reference to FIG. 4, FIG. 4 is a schematic diagram of a data model, and as can be seen in FIG. 4, the data model includes a simple data model and a custom data model, the simple data model including: image (picture), LinkText (text), CountDown (CountDown), video, Products, Category, Coupon, Carousel (Carousel plug-in), Custom, etc. The custom data types include: navigation, Tab (tag), shop phone, smartpost (poster), Dapeigou (pick-up), flortitle (bottom headline), etc.
Step 302, define configuration items corresponding to the data model.
In this embodiment, after the data model is defined, the execution subject defines configuration items corresponding to the data model, so as to provide a simple configuration function to constrain data. For example, a text data model in a simple data model provides a function of adding links; and functions of configuring texts, links, pictures and the like are provided for the navigation data model in the customized data model. If the custom data model comprises a simple data model, the corresponding configuration of the custom data model also comprises the configuration items of the simple data model.
In some optional implementations of this embodiment, the configuration items include, but are not limited to, at least one of: text, pictures, links, time, groups of items, coupons, video, categories, groups of pictures, and rich text. The data is added with the configuration items, so that a more flexible data configuration mode is provided, and the flexibility of display is improved.
Continuing with fig. 5, fig. 5 is a schematic diagram of configuration items corresponding to the data model, and it can be seen from fig. 5 that the configuration items may include texts, pictures, links, time, commodity groups, quantity, categories, coupons, videos, rich texts, picture groups, and the like, and different configuration items are added to the defined data model, for example, the configuration items added to the Image data model are: pictures and links; the configuration items added for the LinkText data model are as follows: text and links; the configuration items added for the CountDown data model are: time; the configuration items added for the Vedio data model are: video and pictures; the configuration items added for the Products data model are: commodity group, BI and quantity; the configuration items added for the Category data model are: classification, text and pictures; the configuration items added for the Coupon data model are: coupons and pictures; the configuration items added for the Carousel data model are: group of pictures, link and number; the configuration items added for the Custom data model are as follows: rich text; the configuration items added for the Navigation data model are as follows: text, links, and pictures.
Step 303, responding to the situation that the user adds a rendering area to the page to be generated, and generating the rendering area in the page to be generated based on the attribute information of the rendering area.
In this embodiment, the execution main body may acquire attribute information of the rendering area after the user adds the rendering area to the page to be generated, and generate the rendering area in the page to be generated based on the acquired attribute information.
In some optional implementations of this embodiment, the attribute information includes, but is not limited to, at least one of: number, location information, and width and height information. The user may add a plurality of rendering regions to the page to be generated, may configure specific position and specific width and height information of the rendering regions in the page to be generated, and may naturally adapt the rendering regions to the content of the user. The autonomy of page generation is improved by enabling the user to configure the information of the rendering area according to the requirement.
Step 304, in response to the user adding the defined data model to the rendering area, displaying configuration items corresponding to the data model.
In this embodiment, the execution subject may display the configuration items corresponding to the data model after the user adds the defined data model to the rendering area. Because the data model and the configuration item corresponding to the data model are predefined, when a user adds one or more data models to the rendering area, the predefined configuration item corresponding to the data model is displayed.
Step 305, in response to the user adding configuration information for the configuration item, obtaining the configuration information.
In the present embodiment, the execution main body acquires the configuration information after the user adds the configuration information to the configuration item, such as acquiring the picture information and the link information after the user adds the configuration information to the configuration item (configuration picture and configuration link) of the picture data model.
And step 306, responding to the situation that the user adds an effect template to the rendering area and acquiring the effect template.
In this embodiment, the execution subject obtains the effect template after the user adds the effect template to the rendering area. The effect template is developed by a user according to actual needs and used for indicating the mode or animation of the page to be generated for display, for example, an Identity Document (ID) calling interface is used for obtaining the price of a commodity, and then the obtained price is displayed on a certain node corresponding to the page to be generated; or a carousel animation by scrolling a certain node of the page, etc. The user can develop the effect template according to the requirement and the preference, and the user experience can be improved.
In some optional implementation manners of this embodiment, after the user creates and adds an effect template for the rendering area based on a predetermined template creation protocol and a pre-stored template engine, the execution main body may obtain the effect template, where the effect template is used to represent display logic of a data model in the rendering area.
Continuing to refer to fig. 6, fig. 6 is a schematic diagram of a template making protocol, and it can be seen from fig. 6 that a predetermined template making protocol includes contents such as a basic tag of a template, a logical tag of the template, and a template tag attribute, and is analyzed by a template engine stored in advance to realize separation of an interface from data, and in addition, a user can add an effect from an effect set according to a requirement. The user makes and adds the effect template for the rendering area based on the template making protocol and the template engine according to the self requirement, and the efficiency of developing the effect template by the user is improved.
Step 307, content of the rendering area is generated based on the configuration information and the effect template, and the content is stored.
In this embodiment, the execution body may generate the content of the rendering area based on the acquired configuration information and the effect template, and store the content. The configuration information includes display content of the rendering area, and the effect template includes a content presentation mode, so that the content of the rendering area can be generated and stored by acquiring the configuration information and the effect template.
The page generation method provided by the embodiment of the application comprises the steps of firstly defining a data model and configuration items corresponding to the data model; responding to the situation that a user adds a rendering area in the page to be generated, and generating the rendering area in the page to be generated based on the attribute information of the rendering area; then responding to a data model defined by the user for adding the rendering area, and displaying configuration items corresponding to the data model; then, responding to the configuration information added by the user for the configuration item, and acquiring the configuration information; responding to the effect template added by the user to the rendering area, and acquiring the effect template; and finally, generating the content of the rendering area based on the configuration information and the effect template, and storing the content. The application provides a page generation method, which enables a user to independently add a data model, configure data constraint and independently develop an effect template, so that the independence and flexibility of page generation are improved, the research and development cost is saved, and the page generation efficiency is improved.
With continued reference to FIG. 7, a block diagram of an implementation of the page generation method of the present application is shown. As shown in fig. 7, a user adds one or more rendering regions in a page to be generated, and adds one or more predefined data models to each rendering region, and after the data models are added, configuration items corresponding to the added data models, including links, numbers, texts, pictures, and the like, are displayed, and the user adds corresponding configuration information to the configuration items, and creates an effect template for the rendering regions according to a predetermined template creation protocol and a pre-stored template engine, so as to generate data content of the rendering regions based on the configuration information and the effect template, and store the data content.
With further reference to fig. 8, as an implementation of the method shown in the above-mentioned figures, the present application provides an embodiment of a page generating apparatus, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 8, the page generating apparatus 800 of this embodiment may include: a first generation unit 801, a display unit 802, a first acquisition unit 803, and a second generation unit 804. The first generating unit 801 is configured to respond to a user adding a rendering area to a page to be generated, and generate the rendering area on the page to be generated based on attribute information of the rendering area; a display unit 802 configured to display configuration items corresponding to a data model in response to a user adding a predetermined data model to a rendering area; a first obtaining unit 803 configured to obtain configuration information in response to a user adding configuration information for a configuration item; a second generating unit 804 configured to generate contents of the rendering area based on the configuration information and store the contents.
In this embodiment, in the page generation apparatus 800: the detailed processing and the technical effects of the first generating unit 801, the display unit 802, the first obtaining unit 803, and the second generating unit 804 can refer to the related descriptions of step 201 and step 204 in the corresponding embodiment of fig. 2, which are not described herein again.
In some optional implementation manners of this embodiment, the page generating device further includes: a second obtaining unit configured to obtain an effect template in response to a user adding the effect template to the rendering area; and the second generating unit is further configured to: content of the rendering region is generated based on the configuration information and the effect template, and the content is stored.
In some optional implementations of this embodiment, the second obtaining unit is further configured to: and responding to the fact that a user makes and adds an effect template for the rendering area based on a preset template making protocol and a pre-stored template engine, and obtaining the effect template, wherein the effect template is used for representing the display logic of the data model in the rendering area.
In some optional implementation manners of this embodiment, the page generating device further includes: the definition unit is configured to define a data model and define configuration items corresponding to the data model, wherein the data model is a model for representing a data set in the webpage.
In some optional implementations of this embodiment, the data model includes: a simple data model and a custom data model; and the simple data type comprises basic data in the webpage; the customized data model comprises complex data formed by basic data according to the relevance, and the basic data in the customized data model is inherited to the simple data model.
In some optional implementations of this embodiment, the configuration item includes at least one of: text, pictures, links, time, groups of items, coupons, video, categories, groups of pictures, and rich text.
In some optional implementations of this embodiment, the attribute information includes at least one of: number, location information, and width and height information.
In some optional implementation manners of this embodiment, the page generating device further includes: and the copying unit is configured to respond to copying or copying and modifying of the rendering area by a user to obtain a copied rendering area, and display the copied rendering area in other areas of the page to be generated.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 9 is a block diagram of an electronic device according to the page generating method in the embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 9, the electronic apparatus includes: one or more processors 901, memory 902, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). Fig. 9 illustrates an example of a processor 901.
Memory 902 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by at least one processor to cause the at least one processor to perform the page generation method provided by the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to perform the page generation method provided herein.
The memory 902, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the page generation method in the embodiment of the present application (for example, the first generation unit 801, the display unit 802, the first acquisition unit 803, and the second generation unit 804 shown in fig. 8). The processor 901 executes various functional applications of the server and data processing by running non-transitory software programs, instructions, and modules stored in the memory 902, that is, implements the page generation method in the above-described method embodiments.
The memory 902 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data or the like transmitted according to the use of the electronic device of the page generation method. Further, the memory 902 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 902 may optionally include a memory remotely located from the processor 901, and these remote memories may be connected to the page generation method electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the page generation method may further include: an input device 903 and an output device 904. The processor 901, the memory 902, the input device 903 and the output device 904 may be connected by a bus or other means, and fig. 9 illustrates the connection by a bus as an example.
The input device 903 may receive the transmitted feature data and generate key signal inputs related to user settings and function control of the electronic device of the page generation method, such as an input device of a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, or the like. The output devices 904 may include a display device, auxiliary lighting devices (e.g., LEDs), tactile feedback devices (e.g., vibrating motors), and the like. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme, firstly, a rendering area is added to a page to be generated in response to a user, and the rendering area is generated in the page to be generated based on attribute information of the rendering area; then responding to a user to add a preset data model to the rendering area, and displaying configuration items corresponding to the data model; then, responding to the configuration information added by the user for the configuration item, and acquiring the configuration information; and finally, generating the content of the rendering area based on the configuration information, and storing the content. The application provides a method for generating a page in data dimension, which improves the autonomy and flexibility of page generation, improves the efficiency of page generation and saves the research and development cost.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (18)

1. A page generation method includes:
responding to a condition that a user adds a rendering area to a page to be generated, and generating the rendering area in the page to be generated based on the attribute information of the rendering area;
responding to a user to add a preset data model to the rendering area, and displaying a configuration item corresponding to the data model;
responding to the configuration information added to the configuration item by the user, and acquiring the configuration information;
and generating the content of the rendering area based on the configuration information, and storing the content.
2. The method of claim 1, wherein after the obtaining configuration information in response to a user adding configuration information for the configuration item, the method further comprises:
responding to the effect template added by the user to the rendering area, and acquiring the effect template; and
the generating content of the rendering area based on the configuration information and storing the content comprises:
and generating the content of the rendering area based on the configuration information and the effect template, and storing the content.
3. The method of claim 2, wherein the retrieving the effect template in response to a user adding an effect template to the rendering region comprises:
and responding to the effect template which is manufactured and added for the rendering area by a user based on a preset template manufacturing protocol and a pre-stored template engine, and acquiring the effect template, wherein the effect template is used for representing the display logic of the data model in the rendering area.
4. The method of claim 1, wherein the method further comprises: the method comprises the steps of defining a data model and defining configuration items corresponding to the data model, wherein the data model is a model for representing a data set in a webpage.
5. The method of claim 4, wherein the data model comprises: a simple data model and a custom data model; and
the simple data type comprises basic data in a webpage;
the customized data model comprises complex data formed by the basic data according to the relevance, and the basic data in the customized data model is inherited to the simple data model.
6. The method of claim 5, wherein the configuration item comprises at least one of: text, pictures, links, time, groups of items, coupons, video, categories, groups of pictures, and rich text.
7. The method of claim 1, wherein the attribute information comprises at least one of: number, location information, and width and height information.
8. The method of claim 1, wherein the method further comprises:
and responding to the condition that the user copies or copies and modifies the rendering area to obtain a copied rendering area, and displaying the copied rendering area in other areas of the page to be generated.
9. A page generating apparatus, comprising:
the first generation unit is configured to respond to the condition that a user adds a rendering area to a page to be generated, and generate the rendering area on the page to be generated based on attribute information of the rendering area;
a display unit configured to display configuration items corresponding to a predetermined data model in response to a user adding the data model to the rendering area;
a first obtaining unit configured to obtain configuration information in response to a user adding the configuration information to the configuration item;
a second generation unit configured to generate contents of the rendering area based on the configuration information and store the contents.
10. The apparatus of claim 9, wherein the apparatus further comprises:
a second obtaining unit configured to obtain an effect template in response to a user adding the effect template to the rendering area; and
the second generation unit is further configured to:
and generating the content of the rendering area based on the configuration information and the effect template, and storing the content.
11. The apparatus of claim 10, wherein the second obtaining unit is further configured to:
and responding to the effect template which is manufactured and added for the rendering area by a user based on a preset template manufacturing protocol and a pre-stored template engine, and acquiring the effect template, wherein the effect template is used for representing the display logic of the data model in the rendering area.
12. The apparatus of claim 9, wherein the apparatus further comprises:
the definition unit is configured to define a data model and define configuration items corresponding to the data model, wherein the data model is a model for representing a data set in a webpage.
13. The apparatus of claim 12, wherein the data model comprises: a simple data model and a custom data model; and
the simple data type comprises basic data in a webpage;
the customized data model comprises complex data formed by the basic data according to the relevance, and the basic data in the customized data model is inherited to the simple data model.
14. The apparatus of claim 13, wherein the configuration item comprises at least one of: text, pictures, links, time, groups of items, coupons, video, categories, groups of pictures, and rich text.
15. The apparatus of claim 9, wherein the attribute information comprises at least one of: number, location information, and width and height information.
16. The apparatus of claim 9, wherein the apparatus further comprises:
and the copying unit is configured to respond to copying or copying and modifying of the rendering area by a user to obtain a copied rendering area, and display the copied rendering area in other areas of the page to be generated.
17. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.
18. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-8.
CN202110107101.9A 2021-01-27 2021-01-27 Page generation method, device, equipment and storage medium Pending CN114089995A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110107101.9A CN114089995A (en) 2021-01-27 2021-01-27 Page generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110107101.9A CN114089995A (en) 2021-01-27 2021-01-27 Page generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114089995A true CN114089995A (en) 2022-02-25

Family

ID=80295939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110107101.9A Pending CN114089995A (en) 2021-01-27 2021-01-27 Page generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114089995A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115268734A (en) * 2022-06-09 2022-11-01 新奥数能科技有限公司 Quotation generation method, device, equipment and storage medium based on quotation tool

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115268734A (en) * 2022-06-09 2022-11-01 新奥数能科技有限公司 Quotation generation method, device, equipment and storage medium based on quotation tool

Similar Documents

Publication Publication Date Title
US10416851B2 (en) Electronic publishing mechanisms
US10303728B2 (en) Personalized landing pages
US10222937B2 (en) System and method for variant content navigation
JP5535083B2 (en) Message management system, apparatus and / or method
US10013400B1 (en) Methods and apparatus for in-line editing of web page content with reduced disruption of logical and presentational structure of content
US20190384616A1 (en) Method for displaying and changing mobile commerce elements within native application instantly without code build
US9594540B1 (en) Techniques for providing item information by expanding item facets
CN107133001A (en) A kind of face singles impression method, device and client
US20180260195A1 (en) Method for building native ecommerce mobile application
US8370219B1 (en) Methods and apparatus for in-line editing of web page content stored in multiple data stores
CN111461801A (en) Page generation method and device
CN111507740B (en) Commodity information display method, device, system, electronic equipment and readable medium
WO2018067750A1 (en) Guided communication using wrap packages of cards
TW201539352A (en) Viewing device, display control method, recording medium, and program
EP2709025A1 (en) Asynchronous method and system for integrating user-selectable icons on web pages
CN114089995A (en) Page generation method, device, equipment and storage medium
CN109840788A (en) For analyzing the method and device of user behavior data
US10685178B2 (en) Defining and delivering personalized entity recommendations
JP2011070433A (en) Electronic flier making device, electronic flier, electronic flier browsing device, and electronic flier system
US11113461B2 (en) Generating edit suggestions for transforming digital documents
US10628848B2 (en) Entity sponsorship within a modular search object framework
US10380669B2 (en) Product browsing system and method
Gold The digital advertising guide
KR20220053652A (en) Cosmetic Retail Display Systems and Methods
CN109472592B (en) Method and device for managing virtual assets

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