CN114035787A - Webpage construction method and device, electronic equipment, storage medium and product - Google Patents

Webpage construction method and device, electronic equipment, storage medium and product Download PDF

Info

Publication number
CN114035787A
CN114035787A CN202111329032.2A CN202111329032A CN114035787A CN 114035787 A CN114035787 A CN 114035787A CN 202111329032 A CN202111329032 A CN 202111329032A CN 114035787 A CN114035787 A CN 114035787A
Authority
CN
China
Prior art keywords
card
webpage
user
target
cards
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
CN202111329032.2A
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 Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network 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 Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202111329032.2A priority Critical patent/CN114035787A/en
Publication of CN114035787A publication Critical patent/CN114035787A/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/35Creation or generation of source code model driven
    • 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/38Creation or generation of source code for implementing user interfaces

Abstract

The embodiment of the disclosure provides a webpage construction method, a webpage construction device, electronic equipment, a storage medium and a product, wherein the method comprises the following steps: determining a plurality of preset candidate webpage cards; determining at least one target webpage card determined by the user from the candidate webpage cards based on a card selection request triggered by the user; and rendering the at least one target webpage card into a target webpage according to the rendering strategy of the at least one target webpage card. The problem of low webpage establishing efficiency is solved.

Description

Webpage construction method and device, electronic equipment, storage medium and product
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a webpage construction method, a webpage construction device, electronic equipment, a storage medium and a product.
Background
A web page is a relatively common information carrier. The service end can develop the webpage and store the webpage through the server. When the client has a webpage browsing requirement, the client can acquire the webpage from the server to realize webpage browsing. Different kinds of content, such as videos, images, advertisements, sub-pages, linked pages, etc., may be contained in a web page, even though the same web page may contain rich content.
In the prior art, most of web pages are written manually, for example, the web pages are generated in the HTML5 language, and the writing of the web pages is completed. However, the efficiency of web pages written by a manual method is low, and the generation efficiency of web pages is greatly reduced in some scenes with large web page demand.
Disclosure of Invention
The embodiment of the disclosure provides a webpage construction method, a webpage construction device, electronic equipment, a storage medium and a product, and aims to solve the problem of low webpage construction efficiency.
In a first aspect, an embodiment of the present disclosure provides a method for constructing a web page, including:
determining a plurality of preset candidate webpage cards;
determining at least one target webpage card determined by the user from the candidate webpage cards based on a card selection request triggered by the user;
and rendering the at least one target webpage card into a target webpage according to the rendering strategy of the at least one target webpage card.
In a second aspect, an embodiment of the present disclosure provides a web page constructing apparatus, including:
the card determining unit is used for determining a plurality of preset candidate webpage cards;
the request processing unit is used for determining at least one target webpage card determined by the user from the candidate webpage cards based on a card selection request triggered by the user;
and the webpage generating unit is used for rendering the at least one target webpage card into a target webpage according to the rendering strategy of the at least one target webpage card.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: a processor and a memory;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored by the memory to cause the at least one processor to perform the web page building method as described above in the first aspect and in various possible designs of the first aspect.
In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, where computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the method for constructing a web page according to the first aspect and various possible designs of the first aspect is implemented.
In a fifth aspect, embodiments of the present disclosure provide a computer program product comprising a computer program that, when executed by a processor, implements the web page building method as set forth in the first aspect above and in various possible designs of the first aspect.
The webpage construction method provided by the embodiment can determine a plurality of preset candidate webpage cards, so that at least one target webpage card is determined from the candidate webpage cards based on a card selection request triggered by a user, and card selection is realized. And then rendering the at least one target webpage card into the target webpage based on the rendering strategy of the at least one target webpage card. After the cards are selected, generation of the target webpage can be achieved by utilizing respective rendering strategies of the cards, and the defect of page generation caused by different types of the cards is overcome. Through card selection and rendering of each card, the rapid webpage construction by the cards is realized, and the webpage generation efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present disclosure, and for those skilled in the art, other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic diagram of a web page model of a web page construction method according to an embodiment of the present disclosure;
FIG. 2 is a flowchart of an embodiment of a method for constructing a web page according to the present disclosure;
FIG. 3 is a flowchart of another embodiment of a method for constructing a web page according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a web page provided by an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of yet another web page provided by an embodiment of the present disclosure;
FIG. 6 is a flowchart of another embodiment of a method for constructing a web page according to an embodiment of the present disclosure;
fig. 7 is a diagram illustrating a structure of an embodiment of a web page constructing apparatus according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The technical scheme disclosed by the invention can be applied to a scene of quickly generating the webpage, and the webpage cards are utilized to perform corresponding rendering aiming at different webpage cards, so that the webpage cards are quickly generated.
In the related art, the webpage card is usually manually written, and the writing efficiency is low. In a common programming method, for example, when programming in C + + language, a programming system may provide a plurality of controls and directly select the controls by dragging to generate an interface or a dialog box. However, the existing control programming can only be implemented under one language frame, has high use limitation, especially has rich content of some web pages, and cannot meet the requirement of quick programming.
In order to solve the technical problem, in the embodiment of the present disclosure, a plurality of web cards are provided for a user, and the web cards can be directly used by the user. In order to solve the rendering mode of different page contents, different webpage cards can be independently rendered, so that the webpage can be quickly generated.
In the embodiment of the disclosure, a plurality of preset candidate webpage cards can be determined, so that at least one target webpage card is determined from the candidate webpage cards based on a card selection request triggered by a user, and card selection is realized. And then rendering the at least one target webpage card into the target webpage based on the rendering strategy of the at least one target webpage card. After the cards are selected, generation of the target webpage can be achieved by utilizing respective rendering strategies of the cards, and the defect of page generation caused by different types of the cards is overcome. Through card selection and rendering of each card, the rapid webpage construction by the cards is realized, and the webpage generation efficiency is improved.
The technical solutions of the present disclosure and how to solve the above technical problems will be described in detail with specific embodiments below. Several of the following embodiments may be combined with each other and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a diagram of an application network architecture for an information processing method based on information flow according to the present disclosure. The application network architecture according to the embodiment of the present disclosure may include a service end 1, a server 2 connected to the service end 1, a page server 3 connected to the server 2, and a client 4 connected to the page server. The connection of the present disclosure means a network connection between two devices through a local area network or a wide area network. The service end can be an electronic device such as a personal computer, a mobile phone, a tablet computer and a personal computer. The server may be a common server, a super personal computer, a cloud server, or the like, and the specific type of the electronic device is not limited in this disclosure. The client may be, for example, a terminal device such as a smart home appliance and a wearable device, and the specific type of the client is not limited in this disclosure.
As shown in fig. 1, the service end is a computer 1, the servers are a cloud server 2 and a page server 3, and the clients are a mobile phone 41 and a tablet 42. The cloud server 2 may provide a plurality of candidate web cards to the service end. The computer 1 may present a plurality of candidate web page cards to the user, determine at least one target web page card selected by the user, and send the at least one target web page card to the cloud server 2. The cloud server 2 may generate a target webpage for the user under the operation of the user based on the webpage construction method provided by the embodiment of the present disclosure. The target web page may then be sent to the page server 3 for publication. After successful publishing, the client 4, such as the mobile phone 41 and/or the tablet 42, may request the page server 3 to obtain the target webpage, and output the target webpage for the user using the client 4 after successful obtaining. In practical application, the cloud server 2 and the page server 3 may be the same server or different servers, and may be configured specifically according to actual use requirements, which is not limited in this embodiment of the present disclosure.
Referring to fig. 2, fig. 2 is a flowchart of an embodiment of a method for building a web page according to an embodiment of the present disclosure, where the method may include the following steps:
s201: and determining a plurality of preset candidate webpage cards.
The webpage construction method provided by the embodiment of the disclosure can be applied to electronic equipment, and the electronic equipment can be a construction platform, for example, and can realize construction of a corresponding webpage. In practical application, the technical scheme of the disclosure can be set as a building platform, and the building platform can be located in a server. In addition, the building platform can be used for carrying out building interaction on the page through displaying the building page with the user. The build page may display a plurality of candidate web cards therein. The construction platform can send the construction page to a user side of a user, the construction page is called a service side in the embodiment of the disclosure, the service side can display the construction page for the user, and the construction page comprises a plurality of candidate webpage cards.
After a plurality of preset candidate webpage cards are determined, the candidate webpage cards can be sent to the service end. The service end can detect at least one target webpage card determined by the user from the candidate webpage cards to generate a card selection request. And sending the card selection request to a page building platform.
Optionally, the electronic device may be further configured to obtain an opening request for a build page triggered by a user, and send a card obtaining request to a server corresponding to the build platform, so that the server of the build platform sends the build pages corresponding to the multiple candidate web cards to the service end based on the card obtaining request, and the service end may receive and display the multiple candidate web cards sent by the server for the user, for example, display the multiple candidate web cards to the user in a card list form.
Any candidate webpage card can be a pre-established page which can be displayed. The method mainly adopts a page card packaging mode to package the pages which are possibly displayed under different rendering strategies, so that each candidate webpage card can render the pages according to each strategy. Multiple candidate web cards may be obtained using multiple rendering policy packages. The candidate webpage card can be packaged into a card structure, and the data members of the card structure can comprise card identification, card type identification, rendering strategy of the card, content data of the card, position information of the card and the like.
S202: at least one target web page card is determined from the plurality of candidate web page cards based on a user-triggered card selection request.
The service end can acquire a card selection request executed by a user, so as to detect that the user determines at least one target webpage card from a plurality of candidate webpage cards based on the card selection request triggered by the user. The server can obtain at least one target webpage card sent by the service end.
In a possible design, the server where the building platform is located may also be the same device as the service end of the user, so as to implement the above operations. The server may be directly a service end, so as to respond to a card selection request triggered by a user, display a plurality of candidate web page cards for the user, and detect at least one target web page card determined by the user from the plurality of candidate web page cards.
As a possible implementation, different candidate web page cards may be distinguished using corresponding card identifiers. The card selection request may include at least one card identification to determine at least one target web page card from the plurality of candidate web page cards based on the at least one card identification in the card selection request.
As yet another possible implementation, the at least one target web card may be selected from a plurality of candidate web cards for the user to obtain. When the user selects one target webpage card, namely the card objects of the corresponding card are added, each card can be displayed in a card object mode.
S203: and rendering the at least one target webpage card into the target webpage according to the rendering strategy of the at least one target webpage card.
At least one target webpage card can be rendered according to the respective rendering strategy to obtain the target webpage. The rendering strategies of at least one target webpage card can be different, the card pages with various rendering strategies can be displayed in the same page by rendering at least one target webpage card into the target webpage, the display of webpage contents with multiple rendering types is realized, the diversified display of the page is realized, and the page display efficiency and the page display reliability are improved.
Optionally, each target webpage card may be rendered according to its corresponding rendering policy. Rendering the at least one web page card to the target web page based on the respective rendering policy of the at least one target web page card may include: and determining respective rendering strategies of the at least one target webpage card for rendering based on the target card object of the at least one target webpage card, and splicing the rendered at least one target webpage card according to respective position information of the at least one target webpage card to obtain the target webpage.
Optionally, the rendering policy may include: a Lynx (plain Text web browser) rendering policy, a Native (local) rendering policy, an HTML5(Hyper Text Markup Language) rendering policy, and the like.
In the embodiment of the disclosure, a plurality of preset candidate webpage cards can be determined, so that at least one target webpage card is determined from the candidate webpage cards based on a card selection request triggered by a user, and card selection is realized. And then rendering the at least one target webpage card into the target webpage based on the rendering strategy of the at least one target webpage card. After the cards are selected, generation of the target webpage can be achieved by utilizing respective rendering strategies of the cards, and the defect of page generation caused by different types of the cards is overcome. Through card selection and rendering of each card, the rapid webpage construction by the cards is realized, and the webpage generation efficiency is improved.
As shown in fig. 3, a flowchart of another embodiment of a method for constructing a web page according to an embodiment of the present disclosure may include the following steps:
s301: and determining a plurality of preset candidate webpage cards.
Some steps in the embodiment of the present disclosure are the same as those in the embodiment shown in fig. 2, and are not repeated herein for the sake of simplicity of drawing.
S302: and displaying a plurality of candidate webpage cards for the user based on the card selection request triggered by the user.
Optionally, presenting a plurality of candidate web page cards for the user based on the user-triggered card selection request may include: and responding to a card selection request triggered by a user, and sending a plurality of candidate webpage cards to the service end so that the service end can detect the candidate webpage cards selected by the user.
S303: and acquiring at least one target webpage card selected from the candidate webpage cards by the user.
Optionally, the user may view a plurality of candidate web cards displayed by the service end. The user can quickly select the candidate webpage card, and the webpage selection efficiency and accuracy are improved.
Acquiring at least one target web page card selected by the user from the plurality of candidate web page cards may include: and receiving at least one target webpage card which is sent by the service end and selected by the user from the plurality of candidate webpage cards.
S304: and rendering the at least one target webpage card into the target webpage according to the rendering strategy of the at least one target webpage card.
In the embodiment of the disclosure, based on a card selection request triggered by a user, a plurality of candidate web page cards may be displayed for the user to obtain at least one target web page card selected by the user from the plurality of candidate web page cards. The multiple candidate webpage cards are displayed to the user, so that the user can check the multiple candidate webpage cards, the cards are effectively displayed, and the card utilization rate is improved. Meanwhile, the card display is utilized, so that a user can select a proper target webpage card from the displayed cards, the quick selection of the card is realized, at least one target webpage card is rendered into a target webpage based on the respective rendering strategy of the selected at least one target webpage card, and the generation efficiency of the target webpage is improved.
As a possible implementation manner, the step S303 of acquiring at least one target web page card selected by the user from the plurality of candidate web page cards may include:
generating a display container for a user;
and acquiring at least one target webpage card which is moved to the display container from the plurality of candidate webpage cards by the user.
Upon determining that the business user initiates a card selection request, a display container may be generated for the user. The display container can display the webpage cards of different rendering types on the same webpage, realize the fusion display of multiple webpage types and improve the webpage display reliability.
For ease of understanding, fig. 4 is a page structure diagram of a full screen web page, and the web page may include: container decoration cards (which may be, for example, floating title cards, Float title bar cards) 401, native page cards 402, lynx (plain text web browser) page cards 403, lynx page cards 404, and native page cards 405. In addition, in practical applications, the cards may be stacked on top of each other, as shown in fig. 4, and a circular page bottom Card, such as a Float Card (Float Card)406, may be stacked on the native page Card 405. The position, shape and size of the card can be adjusted.
In addition, fig. 5 is a page structure diagram of a non-full-screen web page, and the page may include a page header Card, for example, an Inline title Card (Inline title bar Card)501, and a page bottom Card, for example, an Inline bottom Card (Inline book Card) 502. In addition, pages that show content may also be included, such as native page cards 503, lynx page cards 504, native page cards 505, and lynx page cards 506.
Referring to the web pages in fig. 4 and 5, each of the web pages includes a plurality of target web page cards, and each of the target web page cards may have a rendering policy. For example, a native page card uses a native rendering policy, and a lynx page card uses a lynx rendering policy.
In one possible design, rendering the at least one target webpage card as the target webpage according to a respective rendering policy of the at least one target webpage card includes:
rendering any target webpage card into a webpage object according to the rendering strategy of the target webpage card so as to obtain the respective webpage object of at least one target webpage card;
and displaying the webpage object of each target webpage card in the display container to obtain the target webpage.
Optionally, rendering any target webpage as a webpage object according to the rendering policy of the target webpage to obtain a webpage object of each of the at least one target webpage card, which may include: the method comprises the steps of obtaining card identification, rendering strategies, content data, card position information and the like corresponding to card objects of any target webpage card based on the card objects corresponding to at least one target webpage card respectively, and rendering the content data of a target webpage according to the rendering strategies of the target webpage card objects and the like to obtain the corresponding webpage objects. When the respective web page object of the at least one web page card is displayed in the display container, obtaining the target web page may include: and splicing at least one webpage object in the display container to form the target webpage card according to the card identification and the card position information of the target webpage card.
In the embodiment of the disclosure, when at least one target webpage card is rendered as a target webpage, any one target webpage card can be respectively rendered as a corresponding webpage object according to the rendering policy of the target webpage card, so that at least one webpage object is displayed in the display container to obtain the target webpage. The page rendering is realized by utilizing the webpage object, so that the independent rendering of different pages can be realized, the display of different types of cards on the same webpage can be realized, and the display content and efficiency of the page can be improved.
In a possible design, before any target webpage is rendered as a webpage object according to the rendering policy of the target webpage to obtain a webpage object of each target webpage card, the method may further include the following steps:
and acquiring card content data corresponding to at least one target webpage card respectively.
Rendering any target webpage card as a webpage object according to the rendering strategy of the target webpage card so as to obtain the respective webpage object of at least one target webpage card, wherein the rendering strategy comprises the following steps:
rendering the card content data of any target webpage card into a webpage object according to the rendering strategy of the target webpage card so as to obtain the respective webpage object of at least one target webpage card.
The web page card can belong to a data structure and can be obtained by packaging related attributes of a web page, and the web page object can be a data object of the data structure corresponding to the web page card and can be rendered through the data object. For example, a page display structure is determined according to a rendering strategy corresponding to a webpage, card content data of a webpage object is rendered and displayed to obtain a corresponding webpage object, and the webpage object is displayed in a blank page to form a sub-page in the page.
Alternatively, the card content data of any target web card may be obtained by user settings. The card content data of any target webpage card can be obtained by the setting of the setting user of the setting platform. When the card content data is set by the user, it may be set after the card selection. When the card content data set by the user is set up, the data can be set in the card building process.
In the embodiment of the disclosure, when any target webpage card is rendered to obtain a corresponding webpage object, the content data of the target webpage card can be obtained, so that the content data of the target webpage card is rendered to be the webpage object according to the rendering strategy, the rendering of the webpage object of each target webpage card is realized, the accurate obtaining of the webpage object is realized, and the display efficiency of the webpage card is improved.
In some embodiments, obtaining card content data respectively set for at least one target webpage card may include:
if any target webpage card meets the online grabbing function, card grabbing contents are set for the target webpage card;
and capturing the card content data of the target webpage card from the network based on the card capture content set by the target webpage card.
In one possible design, setting the card capture content for the target webpage card may include providing a content input control, a content input interface, or a content input interface for the user to obtain the content set by the user for the webpage card, so as to implement dynamic addition of data or content. Generally, the acquisition of the card capture content set by the target webpage card can be realized at a framework layer. The card crawl content can comprise public information such as a webpage template and url which the Lynx webpage card needs to process. The content input interface can comprise a data field of business data in the Lynx webpage card, and the data field can be transmitted to a user for business logic calculation.
In the embodiment of the disclosure, for the webpage card with the online capture function, the card capture content can be set for the target webpage card, so that the card content data of the target webpage card can be captured from the network based on the card capture content set by the target webpage card. The interaction of setting the card to capture the content is provided for the user, so that the online addition of the webpage content data can be realized, the dynamic update of the webpage content is realized, and the developability of the webpage content is improved.
In one possible design, generating a display container for a user may include:
a display container is generated based on a user-triggered container generation request.
Acquiring at least one target webpage card which is moved to a display container from a plurality of candidate webpage cards by a user, wherein the method comprises the following steps:
acquiring a page display area set by a user for a display container;
and acquiring a page display area of the display container moved by the user from the candidate webpage cards to obtain at least one target webpage card.
Wherein, generating a display container based on a container generation request triggered by a user may include: acquiring page establishing operation triggered by a user, and executing operations of page initialization, operation of an engine and an interactive control module of a card list, layout of container cards, setting of page container states, engine data rendering and the like in a page generating process so as to complete generation of a display container.
After the display container is generated, if the webpage is a full-screen webpage, card movement can be directly performed to lay out the webpage, and if the webpage is a non-full-screen webpage, the positions of a head card and a bottom card of the page specified by a user, for example, position information in a specified position field, can be acquired, so that the confirmation of a page display area is realized. The page display area may include the entire display container when the web page is full screen. The page display area may be a display area other than a page header card and a page bottom card in a non-full-screen web page.
In the embodiment of the disclosure, generation of blank pages is realized in the display container, so that the cards are displayed through the container. The container is used as a carrier of the cards, so that different types of webpage cards can be displayed in the same page, and the fusion display of the cards is realized.
In order to implement accurate publishing of a page, as shown in fig. 6, a flowchart of an embodiment of a method for building a web page provided by the embodiment of the present disclosure may include:
s601: and determining a plurality of preset candidate webpage cards.
S602: and determining at least one target webpage card determined by the user from the candidate webpage cards based on the card selection request triggered by the user.
S603: and rendering the at least one target webpage card into the target webpage according to the rendering strategy of the at least one target webpage card.
S604: and acquiring a publishing request triggered by a user aiming at the target webpage.
S605: and sending the target webpage to the page server based on the publishing request so that the page server publishes the target webpage.
In the embodiment of the disclosure, after at least one target webpage card is rendered into a target webpage based on the rendering policy of each target webpage card, an issue request initiated by a user for the target webpage can be acquired, so that the target webpage is sent to a page server based on the issue request, and the page server issues the target webpage. Under the trigger of the user, the publishing of the page can be realized. Through the interaction of the card mode and the user, the quick selection of the webpage is realized, the quick release of the webpage is further realized, and the release efficiency of the webpage is improved.
As an example, the step 605: based on the publishing request, sending the target webpage to the page server for the page server to publish the target webpage, which may include:
determining the publishing rule information of the target webpage based on the publishing request;
and sending the publishing rule information and the target webpage to a page server so that the page server publishes the target webpage according to the publishing rule information.
The publication rule information may include, for example: and releasing information such as releasing time, releasing type, releasing area and/or releasing range, wherein each piece of information can be a specific description of a releasing rule, and can be released according to the releasing rule information when the target webpage is released. For example, when the publication rule information includes a publication time, the publication of the target web page may be performed in real time when the publication time is reached.
In the embodiment of the disclosure, when the target webpage is published, the publishing rule information of the target webpage is also acquired, and the page server can publish the target webpage according to the publishing rule information by sending the publishing rule information and the target webpage to the page server. The publishing rule information is sent to the page server, so that the page server can publish and manage the target webpage, and the publishing management efficiency of the target webpage is improved.
In one possible design, sending the target web page to the page server for the page server to publish the target web page based on the publication request may include:
and determining the configuration file and the resource package of the target webpage based on the issuing request.
And sending the configuration file and the resource package to the page server so that the page server executes issuing processing on the target webpage based on the configuration file and the resource package.
Optionally, when the configuration file and the resource package of the target webpage are determined based on the publishing request, all target webpage cards rendered in the target webpage may be packaged uniformly. The target webpage cards can be located in the same display container, and all the target webpage cards in the same display container can be packaged.
In the embodiment of the present disclosure, when an issue request of a user is obtained, a configuration file and a resource package of a target webpage may be determined based on the issue request, so as to send the configuration file and the resource package to a page server, so that the page server executes an issue process on the target webpage based on the configuration file and the resource package. The rapid release of the webpage can be realized through the release of the webpage, and the release efficiency of the webpage can be improved in the form of configuration files and resource packages.
In practical application, a user can modify an existing page to obtain a new page. As a possible implementation manner, after determining a preset plurality of candidate web cards, the method may further include:
acquiring a modification request triggered by a user aiming at a page to be modified, and acquiring at least one card to be modified in the page to be modified;
determining at least one target webpage card from a plurality of candidate webpage cards based on a card selection request triggered by a user, comprising:
based on a card selection request triggered by a user, a replacement card selected by the user for any card to be modified from a plurality of candidate webpage cards is obtained, and at least one target webpage card replaced by at least one card to be modified is obtained.
In the embodiment of the disclosure, when a modification request triggered by a user for a page to be modified is obtained, at least one card to be modified in the page to be modified may be obtained, a replacement card selected by the user for any card to be modified from a plurality of candidate web cards is obtained based on a card selection request triggered by the user, at least one target web card after the at least one card to be modified is replaced is obtained, at least one target web card corresponding to the page to be modified is obtained, a target web page corresponding to the at least one target web card is obtained, and updating of the page to be modified to the target web page is achieved. The candidate webpage cards are used for replacing the cards to be modified in the pages to be modified so as to update the cards, further update the pages and improve the page updating efficiency.
In one possible design, determining a preset plurality of candidate web cards may include:
and reading a plurality of candidate webpage cards from a webpage card library in the server.
In the embodiment of the disclosure, a plurality of candidate web cards provided by the server can be acquired from the web card library, so that the web card library is utilized to efficiently manage the plurality of candidate web cards.
In one possible design, a plurality of candidate web cards may be managed by a building platform, and the building platform, that is, the server, may update the plurality of candidate web cards.
After determining a plurality of preset candidate web page cards, the method may further include:
and determining a card updating request triggered by the server.
And responding to the card updating request, and performing card updating on the candidate webpage cards to obtain updated candidate webpage cards.
The server sending the card updating request can be a server built on a platform, and the server is used for updating a plurality of candidate webpage cards.
In the embodiment of the disclosure, by obtaining the card update request sent by the server, the card update can be performed on the plurality of candidate cards to obtain a plurality of updated candidate web page cards. Under the action of the server, the card can be updated, and the real-time effectiveness of the card is ensured.
In yet another possible design, before determining at least one target web page card from the plurality of candidate web page cards based on a card selection request triggered by a user, the method may further include:
user information of a user is acquired.
And determining the operation authority of the user according to the user information of the user.
Determining at least one target webpage card from a plurality of candidate webpage cards based on a card selection request triggered by a user, comprising:
and if the operation authority of the user comprises a page issuing authority, determining at least one target webpage card from the candidate webpage cards based on a card selection request triggered by the user.
In the embodiment of the disclosure, before the user uses the card to generate the page, the user can be authenticated to ensure the security of the system. The operation authority of the user is determined by utilizing the user information of the user, and further the page issuing authority is included in the operation authority of the user, so that at least one target webpage card can be determined from a plurality of candidate webpage cards based on a card selection request triggered by the user. By verifying the operation authority of the user, the generation processing of the page can be effectively improved, and the generation accuracy of the card is improved.
As shown in fig. 7, a schematic structural diagram of an embodiment of an apparatus for constructing a web page provided in an embodiment of the present disclosure, the apparatus may be configured in an electronic device, and the apparatus 700 for constructing a web page may include the following modules:
the card determination unit 701: for determining a preset plurality of candidate web page cards.
The request processing unit 702: the method comprises the steps of determining at least one target webpage card determined by a user from a plurality of candidate webpage cards based on a card selection request triggered by the user.
The web page generation unit 703: the system is used for rendering the at least one target webpage card into the target webpage according to the rendering strategy of the at least one target webpage card.
In the embodiment of the disclosure, a plurality of preset candidate webpage cards can be determined, so that at least one target webpage card is determined from the candidate webpage cards based on a card selection request triggered by a user, and card selection is realized. And then rendering the at least one target webpage card into the target webpage based on the rendering strategy of the at least one target webpage card. After the cards are selected, generation of the target webpage can be achieved by utilizing respective rendering strategies of the cards, and the defect of page generation caused by different types of the cards is overcome. Through card selection and rendering of each card, the rapid webpage construction by the cards is realized, and the webpage generation efficiency is improved.
As an embodiment, the request response unit may include:
the card display module is used for displaying a plurality of candidate webpage cards for the user based on a card selection request triggered by the user;
the card acquisition module is used for acquiring at least one target webpage card selected by a user from the candidate webpage cards.
In one possible design, the card acquisition module may include:
the container generation submodule is used for generating a display container for a user;
and the card acquisition sub-module is used for acquiring at least one target webpage card which is moved to the display container from the candidate webpage cards by the user.
In some embodiments, the web page generating unit may include:
the card rendering module is used for rendering any target webpage card into a webpage object according to the rendering strategy of the target webpage card so as to obtain the respective webpage object of at least one target webpage card;
and the webpage generating module is used for displaying the webpage object of each target webpage card in the display container to obtain the target webpage.
As still another embodiment, the method may further include:
the data acquisition unit is used for acquiring card content data corresponding to at least one target webpage card;
a card rendering module, which may include:
and the card rendering submodule is used for rendering the card content data of any target webpage card into webpage objects according to the rendering strategy so as to obtain the respective webpage object of at least one target webpage card.
In one possible design, the data obtaining unit may include:
the grabbing setting module is used for setting card grabbing contents for the target webpage card if any target webpage card meets the online grabbing function;
and the content grabbing module is used for grabbing the card content data of the target webpage card from the network based on the card grabbing content set by the target webpage card.
As another example, the container generation submodule may be specifically configured to:
generating a display container based on a container generation request triggered by a user;
the card acquisition sub-module may be operable to:
acquiring a page display area set by a user for a display container;
and acquiring a page display area of the display container moved by the user from the candidate webpage cards to obtain at least one target webpage card.
As another embodiment, the apparatus 700 for constructing a web page may further include:
the request triggering unit is used for acquiring a release request triggered by a user aiming at a target webpage;
and the webpage issuing unit is used for sending the target webpage to the page server based on the issuing request so as to enable the page server to issue the target webpage.
In one possible design, the web page publishing unit may include:
the rule determining module is used for determining the publishing rule information of the target webpage based on the publishing request;
and the joint issuing module is used for sending the issuing rule information and the target webpage to the page server so that the page server issues the target webpage according to the issuing rule information.
In some embodiments, the web page publishing unit may include:
the webpage packaging module is used for determining a configuration file and a resource package of a target webpage based on the issuing request;
and the information sending module is used for sending the configuration file and the resource package to the page server so that the page server can execute issuing processing on the target webpage based on the configuration file and the resource package.
As another embodiment, the apparatus 700 for constructing a web page may further include:
the modification determining unit is used for acquiring a modification request triggered by a user aiming at a page to be modified and acquiring at least one card to be modified in the page to be modified;
a request processing unit, which may include:
the request processing module is used for acquiring a replacement card selected by a user for any card to be modified from a plurality of candidate webpage cards based on a card selection request triggered by the user, and acquiring at least one target webpage card replaced by at least one card to be modified.
As still another embodiment, the card determination unit may include:
and the candidate reading unit is used for reading and obtaining a plurality of candidate webpage cards from the webpage card library in the server.
In one possible design, the apparatus 700 for constructing a web page may include:
the updating determining unit is used for determining a card updating request triggered by the server;
and the card updating unit is used for responding to the card updating request, performing card updating on the candidate webpage cards and obtaining the updated candidate webpage cards.
In some embodiments, the web page constructing apparatus 700 may further include:
a user acquisition unit for acquiring user information of a user;
the authority acquisition unit is used for determining the operation authority of the user according to the user information of the user;
a request processing unit, which may include:
and the authority verification module is used for determining at least one target webpage card from the multiple candidate webpage cards based on a card selection request triggered by the user if the operation authority of the user comprises a page issuing authority.
The apparatus provided in this embodiment may be used to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
In order to realize the above embodiments, the embodiments of the present disclosure further provide an electronic device.
Referring to fig. 8, a schematic structural diagram of an electronic device 800 suitable for implementing an embodiment of the present disclosure is shown, where the electronic device 800 may be a terminal device or a server. Among them, the terminal Device may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a Digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a Portable Multimedia Player (PMP), a car terminal (e.g., car navigation terminal), etc., and a fixed terminal such as a Digital TV, a desktop computer, etc. The electronic device shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 8, an electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 801 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 802 or a program loaded from a storage device 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for the operation of the electronic apparatus 800 are also stored. The processing apparatus 801, the ROM802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
Generally, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 807 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 808 including, for example, magnetic tape, hard disk, etc.; and a communication device 809. The communication means 809 may allow the electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. While fig. 8 illustrates an electronic device 800 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 809, or installed from the storage means 808, or installed from the ROM 802. The computer program, when executed by the processing apparatus 801, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the methods shown in the above embodiments.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of Network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In a first aspect, according to one or more embodiments of the present disclosure, there is provided a web page building method, including:
determining a plurality of preset candidate webpage cards;
determining at least one target webpage card determined by a user from a plurality of candidate webpage cards based on a card selection request triggered by the user;
and rendering the at least one target webpage card into the target webpage according to the rendering strategy of the at least one target webpage card.
According to one or more embodiments of the present disclosure, determining at least one target web page card determined by a user from a plurality of candidate web page cards based on a card selection request triggered by the user includes:
displaying a plurality of candidate webpage cards for a user based on a card selection request triggered by the user;
and acquiring at least one target webpage card selected from the candidate webpage cards by the user.
According to one or more embodiments of the present disclosure, acquiring at least one target webpage card selected by a user from a plurality of candidate webpage cards comprises:
generating a display container for a user;
and acquiring at least one target webpage card which is moved to the display container from the plurality of candidate webpage cards by the user.
According to one or more embodiments of the present disclosure, rendering at least one target webpage card into a target webpage according to a respective rendering policy of the at least one target webpage card includes:
rendering any target webpage card into a webpage object according to the rendering strategy of the target webpage card so as to obtain the respective webpage object of at least one target webpage card;
and displaying the webpage object of each target webpage card in the display container to obtain the target webpage.
According to one or more embodiments of the present disclosure, further comprising:
obtaining card content data corresponding to at least one target webpage card respectively;
rendering any target webpage card as a webpage object according to the rendering strategy of the target webpage card so as to obtain the respective webpage object of at least one target webpage card, wherein the rendering strategy comprises the following steps:
rendering the card content data of any target webpage card into a webpage object according to the rendering strategy of the target webpage card so as to obtain the respective webpage object of at least one target webpage card.
According to one or more embodiments of the present disclosure, obtaining card content data respectively set by at least one target webpage card includes:
if any target webpage card meets the online grabbing function, card grabbing contents are set for the target webpage card;
and capturing the card content data of the target webpage card from the network based on the card capture content set by the target webpage card.
In accordance with one or more embodiments of the present disclosure, a display container is generated for a user, comprising:
generating a display container based on a container generation request triggered by a user;
acquiring at least one target webpage card which is moved to a display container from a plurality of candidate webpage cards by a user, wherein the method comprises the following steps:
acquiring a page display area set by a user for a display container;
and acquiring a page display area of the display container moved by the user from the candidate webpage cards to obtain at least one target webpage card.
According to one or more embodiments of the present disclosure, after rendering at least one target webpage card into a target webpage according to a respective rendering policy of the at least one target webpage card, the method further includes:
acquiring a release request triggered by a user aiming at a target webpage;
and sending the target webpage to the page server based on the publishing request so that the page server publishes the target webpage.
According to one or more embodiments of the present disclosure, sending a target webpage to a page server based on a publication request for the page server to publish the target webpage includes:
determining the publishing rule information of the target webpage based on the publishing request;
and sending the publishing rule information and the target webpage to a page server so that the page server publishes the target webpage according to the publishing rule information.
According to one or more embodiments of the present disclosure, sending a target webpage to a page server based on a publication request for the page server to publish the target webpage includes:
determining a configuration file and a resource package of a target webpage based on the issuing request;
and sending the configuration file and the resource package to the page server so that the page server executes issuing processing on the target webpage based on the configuration file and the resource package.
According to one or more embodiments of the present disclosure, further comprising:
acquiring a modification request triggered by a user aiming at a page to be modified, and acquiring at least one card to be modified in the page to be modified;
determining at least one target webpage card from a plurality of candidate webpage cards based on a card selection request triggered by a user, comprising:
based on a card selection request triggered by a user, a replacement card selected by the user for any card to be modified from a plurality of candidate webpage cards is obtained, and at least one target webpage card replaced by at least one card to be modified is obtained.
According to one or more embodiments of the present disclosure, determining a preset plurality of candidate web page cards includes:
and reading a plurality of candidate webpage cards from a webpage card library in the server.
According to one or more embodiments of the present disclosure, after determining a preset plurality of candidate web page cards, the method includes:
determining a card updating request triggered by a server;
and responding to the card updating request, and performing card updating on the candidate webpage cards to obtain updated candidate webpage cards.
According to one or more embodiments of the present disclosure, before determining at least one target web page card from a plurality of candidate web page cards based on a card selection request triggered by a user, the method further includes:
acquiring user information of a user;
determining the operation authority of the user according to the user information of the user;
determining at least one target webpage card from a plurality of candidate webpage cards based on a card selection request triggered by a user, comprising:
and if the operation authority of the user comprises a page issuing authority, determining at least one target webpage card from the candidate webpage cards based on a card selection request triggered by the user.
In accordance with one or more embodiments of the present disclosure,
in a second aspect, according to one or more embodiments of the present disclosure, there is provided a web page constructing apparatus including:
the card determining unit is used for determining a plurality of preset candidate webpage cards;
the request processing unit is used for determining at least one target webpage card determined by a user from a plurality of candidate webpage cards based on a card selection request triggered by the user;
and the webpage generating unit is used for rendering the at least one target webpage card into the target webpage according to the rendering strategy of the at least one target webpage card.
In a third aspect, according to one or more embodiments of the present disclosure, there is provided an electronic device including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored by the memory to cause the at least one processor to perform the web page construction method as described above in the first aspect and in various possible designs of the first aspect.
In a fourth aspect, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, a web page building method according to the first aspect and various possible designs of the first aspect is implemented.
In a fifth aspect, according to one or more embodiments of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the web page building method as described above in the first aspect and in various possible designs of the first aspect.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (18)

1. A method for constructing a web page, comprising:
determining a plurality of preset candidate webpage cards;
determining at least one target webpage card determined by the user from the candidate webpage cards based on a card selection request triggered by the user;
and rendering the at least one target webpage card into a target webpage according to the rendering strategy of the at least one target webpage card.
2. The method of claim 1, wherein determining at least one target web page card determined by the user from the plurality of candidate web page cards based on a user-triggered card selection request comprises:
displaying the candidate webpage cards for the user based on the card selection request triggered by the user;
and acquiring at least one target webpage card selected from the candidate webpage cards by the user.
3. The method of claim 2, wherein the obtaining at least one target web page card selected by the user from the plurality of candidate web page cards comprises:
generating a display container for the user;
and acquiring at least one target webpage card which is moved to the display container from the plurality of candidate webpage cards by the user.
4. The method of claim 3, wherein rendering the at least one target web page card into a target web page according to the respective rendering policy of the at least one target web page card comprises:
rendering any target webpage card into a webpage object according to the rendering strategy of the target webpage card so as to obtain the respective webpage object of the at least one target webpage card;
and displaying the webpage object of each target webpage card in the display container to obtain the target webpage.
5. The method of claim 4, further comprising:
obtaining card content data corresponding to the at least one target webpage card respectively;
the rendering any target webpage card as a webpage object according to the rendering strategy to obtain the respective webpage object of the at least one target webpage card comprises the following steps:
rendering the card content data of any target webpage card into a webpage object according to the rendering strategy of the target webpage card so as to obtain the webpage object of each target webpage card.
6. The method according to claim 5, wherein the obtaining card content data respectively set for the at least one target webpage card comprises:
if any target webpage card meets the online grabbing function, card grabbing contents are set for the target webpage card;
and based on the card capture content set by the target webpage card, capturing the card content data of the target webpage card from the network.
7. The method of claim 3, wherein generating a display container for the user comprises:
generating the display container based on the user-triggered container generation request;
the acquiring at least one target webpage card that the user moves to the display container from the plurality of candidate webpage cards comprises:
acquiring a page display area set by the user for the display container;
and acquiring a page display area of the display container moved by the user from the candidate webpage cards to obtain the at least one target webpage card.
8. The method of claim 1, wherein after rendering the at least one target web page card into the target web page according to the respective rendering policy of the at least one target web page card, further comprising:
acquiring a release request triggered by the user aiming at the target webpage;
and sending the target webpage to a page server based on the publishing request so that the page server publishes the target webpage.
9. The method of claim 8, wherein sending the target web page to a page server for the page server to publish the target web page based on the publication request comprises:
determining the publishing rule information of the target webpage based on the publishing request;
and sending the release rule information and the target webpage to the page server so that the page server can release the target webpage according to the release rule information.
10. The method of claim 8, wherein sending the target web page to a page server for the page server to publish the target web page based on the publication request comprises:
determining a configuration file and a resource package of the target webpage based on the release request;
and sending the configuration file and the resource package to the page server so that the page server executes issuing processing on the target webpage based on the configuration file and the resource package.
11. The method of claim 1, further comprising:
acquiring a modification request triggered by the user for a page to be modified, and acquiring at least one card to be modified in the page to be modified;
the determining at least one target webpage card from the candidate webpage cards based on the user-triggered card selection request comprises:
and acquiring a replacement card selected by the user for any card to be modified from the candidate webpage cards based on the card selection request triggered by the user, and acquiring the at least one target webpage card replaced by the at least one card to be modified.
12. The method of claim 1, wherein the determining a preset plurality of candidate web cards comprises:
and reading and obtaining the candidate webpage cards from a webpage card library in the server.
13. The method of claim 12, wherein determining the preset plurality of candidate web cards comprises:
determining the card updating request triggered by the server;
and responding to the card updating request, and updating the plurality of candidate webpage cards to obtain a plurality of updated candidate webpage cards.
14. The method of claim 1, wherein prior to determining at least one target web page card from the plurality of candidate web page cards based on the user-triggered card selection request, further comprising:
acquiring user information of the user;
determining the operation authority of the user according to the user information of the user;
the determining at least one target webpage card from the candidate webpage cards based on the user-triggered card selection request comprises:
and if the operation authority of the user comprises a page issuing authority, determining at least one target webpage card from the candidate webpage cards based on a card selection request triggered by the user.
15. A web page constructing apparatus, comprising:
the card determining unit is used for determining a plurality of preset candidate webpage cards;
the request processing unit is used for determining at least one target webpage card determined by the user from the candidate webpage cards based on a card selection request triggered by the user;
and the webpage generating unit is used for rendering the at least one target webpage card into a target webpage according to the rendering strategy of the at least one target webpage card.
16. An electronic device, comprising: a processor, a memory;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored by the memory to cause the processor to perform the web page building method of any one of claims 1 to 14.
17. A computer-readable storage medium having stored thereon computer-executable instructions which, when executed by a processor, implement the web page building method of any one of claims 1 to 14.
18. A computer program product comprising a computer program for execution by a processor configured with a web page building method according to any one of claims 1 to 14.
CN202111329032.2A 2021-11-10 2021-11-10 Webpage construction method and device, electronic equipment, storage medium and product Pending CN114035787A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111329032.2A CN114035787A (en) 2021-11-10 2021-11-10 Webpage construction method and device, electronic equipment, storage medium and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111329032.2A CN114035787A (en) 2021-11-10 2021-11-10 Webpage construction method and device, electronic equipment, storage medium and product

Publications (1)

Publication Number Publication Date
CN114035787A true CN114035787A (en) 2022-02-11

Family

ID=80143879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111329032.2A Pending CN114035787A (en) 2021-11-10 2021-11-10 Webpage construction method and device, electronic equipment, storage medium and product

Country Status (1)

Country Link
CN (1) CN114035787A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115469960A (en) * 2022-11-14 2022-12-13 北京搜狐新动力信息技术有限公司 Data list rendering method and related device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115469960A (en) * 2022-11-14 2022-12-13 北京搜狐新动力信息技术有限公司 Data list rendering method and related device

Similar Documents

Publication Publication Date Title
US11144711B2 (en) Webpage rendering method, device, electronic apparatus and storage medium
CN110134880B (en) Comment data providing method, comment data displaying method, comment data providing device, comment data displaying device, electronic equipment and storage medium
US9648124B2 (en) Processing hybrid data using a single web client
CN110020329B (en) Method, device and system for generating webpage
CN111143725A (en) Page generation method and device and electronic equipment
CN103959281A (en) Method for associating third party content with online document signing
US20090085921A1 (en) Populate Web-Based Content Based on Space Availability
CN109684589B (en) Client comment data processing method and device and computer storage medium
CN110096665B (en) Method, device, equipment and medium for displaying picture comment data
US20140325349A1 (en) Real-time Representations of Edited Content
CN111597466A (en) Display method and device and electronic equipment
Gao et al. CoWebDraw: a real-time collaborative graphical editing system supporting multi-clients based on HTML5
US11095957B2 (en) Method and apparatus for publishing information, and method and apparatus for processing information
Andersson et al. Mobile e-services using HTML5
CN110673886B (en) Method and device for generating thermodynamic diagrams
CN114035787A (en) Webpage construction method and device, electronic equipment, storage medium and product
CN112148744A (en) Page display method and device, electronic equipment and computer readable medium
US11438403B2 (en) Page presentation method and system, computer system, and computer readable medium
CN112492399B (en) Information display method and device and electronic equipment
CN110618811B (en) Information presentation method and device
CN113784194A (en) Embedding method and device of video player
US20130036374A1 (en) Method and apparatus for providing a banner on a website
US11758016B2 (en) Hosted application as web widget toolkit
CN113220381A (en) Click data display method and device
CN114786069A (en) Video generation method, device, medium and electronic equipment

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