CN112214704B - Page processing method and device - Google Patents

Page processing method and device Download PDF

Info

Publication number
CN112214704B
CN112214704B CN202010851439.0A CN202010851439A CN112214704B CN 112214704 B CN112214704 B CN 112214704B CN 202010851439 A CN202010851439 A CN 202010851439A CN 112214704 B CN112214704 B CN 112214704B
Authority
CN
China
Prior art keywords
page
target
component
determining
user
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.)
Active
Application number
CN202010851439.0A
Other languages
Chinese (zh)
Other versions
CN112214704A (en
Inventor
于思迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changsha Youheng Network Technology Co Ltd
Original Assignee
Changsha Youheng 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 Changsha Youheng Network Technology Co Ltd filed Critical Changsha Youheng Network Technology Co Ltd
Priority to CN202010851439.0A priority Critical patent/CN112214704B/en
Publication of CN112214704A publication Critical patent/CN112214704A/en
Application granted granted Critical
Publication of CN112214704B publication Critical patent/CN112214704B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the application provides a page processing method and device, wherein the page processing method comprises the following steps: acquiring a target page component selected by a first user from at least one page component; wherein the at least one page component corresponds to a resource file respectively; and generating a target template page based on the target resource file corresponding to the target page component. According to the embodiment of the application, the page resources are loaded as required, so that the page complexity and the resource size are reduced, and the page loading performance is improved.

Description

Page processing method and device
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for processing a page.
Background
The web page may be made up of multiple page components, e.g., an image component, a video component, a text component, a button component, etc. The page component may define attributes such as the size of the element. Normal operation of a page component requires support of the corresponding resource file for that page component, e.g., page components typically require support of CSS files.
In order to ensure that a web page can normally run, when the front end edits the web page, the resource files of all the page components need to be packaged together with the page. When a general user opens a page, all types of resource files need to be downloaded from a server or CDN (Content Delivery Network ) device to ensure that the page can be opened normally, resulting in a complex structure of the page.
Disclosure of Invention
In view of this, the embodiments of the present application provide a method and apparatus for processing a page, which are used to solve the technical problem that in the prior art, the page is complex in structure, resulting in complex page structure.
In a first aspect, an embodiment of the present application provides a page processing method, including:
acquiring a target page component selected by a first user from at least one page component; wherein the at least one page component corresponds to a resource file respectively;
and generating a target template page based on the target resource file corresponding to the target page component.
Preferably, the method further comprises:
acquiring target data input by the first user aiming at the target page component;
and determining that the target template page corresponds to the target page based on the target data corresponding to the target page component.
Preferably, after determining that the target template page corresponds to the target page based on the target data corresponding to the target page component, the method further includes:
and acquiring a page view request initiated by a second user aiming at the target page, and displaying the target page for the second user.
Preferably, the obtaining the page view request initiated by the second user for the target page, and displaying the target page for the second user includes:
acquiring a page view request initiated by the second user aiming at the target page, and determining the target template page corresponding to the target page;
loading a target resource file corresponding to the target page component in the target template page;
rendering the target page component in the target template page based on the target data corresponding to the target page component to obtain the target page;
and outputting the target page for the second user.
Preferably, the at least one page component corresponds to a component identifier respectively, and the respective resource file of the at least one page component corresponds to a resource identifier;
after determining the target page corresponding to the target template page based on the target data corresponding to the target page component, the method further comprises the following steps:
determining a target component identifier corresponding to the target page component;
determining a target resource identifier of a resource file corresponding to the target page component;
determining a target page identifier of the target page;
and establishing the association relation among the target page identifier, the target component identifier and the target resource identifier.
Preferably, the obtaining the page view request initiated by the second user for the target page, and determining the target template page corresponding to the target page includes:
acquiring a page view request initiated by the second user aiming at the target page, and determining that the target page corresponds to the target page identification;
inquiring the target component identifier and the target resource identifier associated with the target page identifier based on the target page identifier;
determining the target template page formed by the target page component corresponding to the target component identifier;
before loading the target resource file corresponding to the target page component in the target template page, the method further comprises:
and determining the target resource file corresponding to the target resource identifier.
Preferably, the target page component selected by the first user in the at least one page component is obtained; wherein, the at least one page component corresponds to a resource file respectively and includes:
determining the at least one page component; wherein the at least one page component corresponds to a resource file, respectively;
determining a blank page;
acquiring a target page component selected from the at least one page component by the first user and placed on the blank page;
the generating the target template page based on the target resource file corresponding to the target page component comprises:
and generating the target template page based on the target page component in the blank page and the target resource file corresponding to the target page component.
Preferably, the generating the target template page based on the target page component in the blank page and the target resource file corresponding to the target page component includes:
determining a template page with the blank page with the target page component;
and packaging the template page and the target resource file of the target page component to obtain the target template page.
Preferably, the target page component selected by the first user in the at least one page component is obtained; wherein, the at least one page component corresponds to a resource file respectively and includes:
determining at least one page component provided by the page editing program; wherein the at least one page component corresponds to a resource file respectively;
and acquiring the target page component selected by the first user in the page editing program.
In a second aspect, an embodiment of the present application provides a page processing apparatus, including:
the component acquisition module is used for acquiring a target page component selected by a first user from at least one page component; wherein the at least one page component corresponds to a resource file respectively;
and the template generation module is used for generating a target template page based on the target resource file corresponding to the target page component.
According to the method and the device, a target page component selected by a first user from at least one page component is obtained. The at least one page component corresponds to the resource files, respectively. Then, a target template page can be generated based on the target resource file corresponding to the target page component. By providing at least one page component, a user can quickly select a required target page component, so that the aims of reducing page composition and page complexity are achieved. And generating a target template page by utilizing the target resource file corresponding to the target page component, so that the number of the resource files in the target template page can be reduced, the loading speed of the target template page can be increased, and the loading efficiency can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief description will be given below of the drawings that are needed in the embodiments or the prior art descriptions, and it is obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of one embodiment of a method for processing a page according to an embodiment of the present application;
FIG. 2 is a flow chart of yet another embodiment of a page processing method provided in an embodiment of the present application;
FIG. 3 is a flowchart of another embodiment of a page processing method according to an embodiment of the present application;
FIG. 4 is a schematic structural diagram of an embodiment of a page processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an embodiment of a page processing apparatus according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, the "plurality" generally includes at least two, but does not exclude the case of at least one.
It should be understood that the term "and/or" as used herein is merely one relationship describing the association of the associated objects, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to an identification", depending on the context. Similarly, the phrase "if determined" or "if identified (stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when identified (stated condition or event)" or "in response to an identification (stated condition or event), depending on the context.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a product or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such product or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a commodity or system comprising such elements.
The technical scheme of the embodiment of the application can be applied to page development, application and other scenes. By only packaging the resource files related to the page components in the page, the page processing efficiency is increased, the page loading content is reduced, and the page loading efficiency is improved.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
As shown in fig. 1, a flowchart of an embodiment of a page processing method provided in an embodiment of the present application may include the following steps:
101: and acquiring a target page component selected by the first user from the at least one page component.
Wherein at least one page component corresponds to a resource file, respectively.
In practical applications, the first user may develop a user for the page.
Alternatively, at least one page component may be a pre-provided set template component, and at least one page component may be directly applied to the page. The resource files corresponding to each page component are preset, and the generation efficiency of the page can be improved by presetting at least one page component and the resource files corresponding to each page component.
Optionally, the method may further include: and acquiring adjustment data by acquiring adjustment operation of the first user on the target page component. Based on the adjustment data, the target page component is adjusted.
In practical applications, a plurality of page components may be included in a web page to ensure that rich content can be displayed in the page, so that a plurality of target page components may be included to enable richer content to be displayed in the target page.
102: and generating a target template page based on the target resource file corresponding to the target page component.
When the target template page is generated based on the target resource file corresponding to the target page component, page generation can be performed based on the target resource file corresponding to the target page component so as to generate the target template page.
The target page component is included in the target template page, but since the first user does not set corresponding data for the target page component, the target page component in the target template page may be unconfigured with data and have no page content set.
According to the method and the device, a target page component selected by a first user from at least one page component is obtained. The at least one page component corresponds to the resource files, respectively. Then, a target template page can be generated based on the target resource file corresponding to the target page component. By providing at least one page component, a user can quickly select a required target page component, so that the aims of reducing page composition and page complexity are achieved. And generating a target template page by utilizing the target resource file corresponding to the target page component, so that the number of the resource files in the target template page can be reduced, the loading speed of the target template page can be increased, and the loading efficiency can be improved.
The page processing method provided by the embodiment of the application can be applied to a server or first electronic equipment. The first electronic device corresponds to a first user.
When the page processing method provided by the embodiment of the application is applied to the server, the server can establish communication connection with the first electronic device and the second electronic device. When the page processing method provided by the embodiment of the application is applied to the first electronic device, the first electronic device can establish communication connection with the second electronic device.
The server may specifically include: the embodiment of the application does not limit the specific type of the server too much for common servers such as computers, ultra notebooks and the like or cloud servers. The server may receive a target page component selected by the first electronic device among the at least one page component. The server may also receive target data that the first electronic device may obtain the first user input for the target page component. That is, the user operation associated with the first user may be performed by the first user in the first electronic device, which may be transmitted to the server after the detection.
The first electronic device may directly detect and obtain a target page component selected by the first user from the at least one page component.
In one possible design, the server or the first electronic device may also receive a page view request initiated by the second electronic device for the target page, and present the target page to the second user. That is, the user operation related to the second user may be performed by the second user in the second electronic device, and the second electronic device may be transmitted to the server after the detection.
It should be noted that, the descriptions of "first" and "second" in this application are used to distinguish different electronic devices, and do not represent the sequence, and are not limited to the "first" and "second" being different types. The electronic device described in the embodiment of the present application may include, for example: computers, notebooks, mobile phones, tablet computers, wearable devices and the like, the specific types of the electronic devices are not limited excessively in the embodiment of the application. The server corresponding to the electronic device can realize communication with the electronic device based on a wired or wireless communication connection mode.
As shown in fig. 2, which is a flowchart of one embodiment of a page processing method provided in the embodiments of the present application, the method may include the following steps:
201: and acquiring a target page component selected by the first user from the at least one page component.
Wherein at least one page component corresponds to a resource file, respectively.
202: and generating a target template page based on the target resource file corresponding to the target page component.
203: and acquiring target data input by the first user aiming at the target page component.
The target data input by the first user aiming at the target page component can be obtained by detection of the first electronic equipment corresponding to the first user. The first electronic device may detect obtaining target data entered by the first user for the page component. In one possible design, the first electronic device may send target data entered by the first user for the target page component to the server. The server may receive target data input by a first user for a target page component sent by the first electronic device.
204: and based on the target data corresponding to the target page component, the target template page corresponds to the target page.
In the embodiment of the invention, the target page component which can be selected by the first user in at least one page component is obtained, and the component layout of the page can be rapidly completed through the selection of the target page component, so that the layout efficiency of the page is improved. And the resource files corresponding to at least one page are known respectively, and the target template page can be generated based on the target resource files corresponding to the target page component. After target data input by a first user aiming at a target page component is acquired, determining a target page corresponding to the target template page based on the target data corresponding to the target page component. The conversion of the target pages corresponding to the target template pages is completed by utilizing the target data corresponding to the target page components, so that the number of resource files of the target pages can be reduced, and when the target files are loaded, the loading of the target pages can be realized by loading the target resource files corresponding to the target page components, and the loading efficiency of the target pages is improved.
As one embodiment, after determining that the target template page corresponds to the target page based on the target data corresponding to the target page component, the method may further include:
and acquiring a page view request initiated by a second user aiming at the target page, and displaying the target page for the second user.
Optionally, the page view request initiated by the second user for the target page may be detected by the second electronic device. The second electronic device may send the detected page view request to the server or the first electronic device.
And when the page view request of the second user is acquired, the target page can be displayed for the second user. In one possible design, obtaining a page view request initiated by the second user for the target page, and displaying the target page for the second user may include:
acquiring a page view request initiated by a second user aiming at a target page, and determining a target template page corresponding to the target page;
loading a target resource file corresponding to a target page component in a target template page;
rendering the target page component in the target template page based on the target data corresponding to the target page component to obtain a target page;
and outputting the target page for the second user.
When the server or the first electronic device displays the target page for the second user, the target page component in the target template page can be rendered based on the target data corresponding to the target page component, so as to obtain the target page. The target page may be sent to a second electronic device corresponding to a second user. At this time, inputting the target page for the second user may include: and sending the target page to second electronic equipment of the second user so that the second electronic equipment can output the target page. The second electronic device may display the target page through its corresponding display screen.
In order to associate the target page with the corresponding target page component and the resource file corresponding to the target page component, the target page is quickly loaded. As a further embodiment, at least one page component may be respectively corresponding to a component identifier, and a resource file of each of the at least one page component is corresponding to a resource identifier;
after determining the target page corresponding to the target template page based on the target data corresponding to the target page component, the method may further include:
determining a target component identifier corresponding to the target page component;
determining a target resource identifier of a resource file corresponding to the target page component;
determining a target page identifier of a target page;
and establishing an association relationship among the target page identifier, the target component identifier and the target resource identifier.
Alternatively, component identification may be used to identify page components, with component identifications of different page components being different. The resource identification may be used to identify resource files, with the resource identifications of different resource files being different. The page identity may be used to identify web pages, with page identities of different pages being different.
By establishing the association relation among the target page identifier, the target component identifier and the target resource identifier, the target page component corresponding to the target component identifier associated with the target page identifier and the target resource corresponding to the target resource identifier can be quickly searched when the target page identifier is determined, so that the target page can be quickly loaded.
After the association relation between the page and the components and the resource file is established through the identification, when the second user requests to view the target page, the target page component associated with the target page and the resource file associated with the target page component can be searched based on the association relation. Therefore, in one possible design, obtaining a page view request initiated by a second user for a target page, and determining a target template page corresponding to the target page includes:
acquiring a page view request initiated by a second user aiming at a target page, and determining a target page identifier corresponding to the target page;
inquiring a target component identifier and a target resource identifier associated with the target page identifier based on the target page identifier;
and determining a target template page formed by the corresponding target page components.
Before loading the target resource file corresponding to the target page component in the target template page, the method may further include:
and determining a target resource file corresponding to the target resource identifier.
In order to improve the layout efficiency of the page, a blank page can be provided, so that a first user selects a proper target page component in the blank page, and the target template page is quickly acquired.
As shown in fig. 3, a flowchart of still another embodiment of a page processing method according to an embodiment of the present application may include:
301: at least one page component is determined.
Wherein at least one page component corresponds to a resource file, respectively.
302: a blank page is determined.
303: and acquiring a target page component selected by the first user from at least one page component and placed on the blank page.
304: and generating a target template page based on the target page component in the blank page and the target resource file corresponding to the target page component.
In an optional implementation manner, the page processing method provided in the embodiment of the present application may also be applied to the first electronic device, so as to complete the technical solution through the first electronic device.
In the embodiment of the invention, by providing the blank page and at least one page component, the quick selection of the target page component can be realized, so that the target template page can be obtained based on the target page component in the blank page and the target resource file corresponding to the target page component, and the generation efficiency of the target template file is improved.
As one embodiment, generating the target template page based on the target page component in the blank page and the target resource file corresponding to the target page component may include:
determining a template page formed by blank pages with target page components;
and packaging the template pages and the target resource files of the target page components to obtain target template pages.
The template page may be determined based on a blank page and a target page component in the blank page. After the template pages and the target resource files corresponding to the target page components are packaged, the target template pages can be obtained, and the generation efficiency of the target template pages is improved.
In some embodiments, the selection of page components may be accomplished in a page editing program. Acquiring a target page component selected by a first user from at least one page component; wherein, at least one page component corresponds to the resource file respectively and includes:
determining at least one page component provided by the page editing program; wherein, at least one page component corresponds to the resource file respectively;
and acquiring a target page component selected by the first user in the page editing program.
Optionally, the page editing program may be configured in a first electronic device of the first user, where the first electronic device may run the page editing program and detect a target page component selected by the first user based on the page editing program, so as to achieve quick acquisition of the target page component, and improve page generation efficiency.
Optionally, the page editor may provide an editing interface in which at least one page component may be displayed, as well as a blank page generation control. After the first user triggers the blank page generation control, the blank page can be displayed in a page display area outside the display area of at least one page component in the editing interface. The first user can add the selected page component in the at least one page component to the blank page displayed in the page display area in a dragging or clicking mode, so that the target page component is obtained.
As shown in fig. 4, a schematic structural diagram of an embodiment of a page processing apparatus according to an embodiment of the present application may include the following modules:
401: component acquisition module: the method comprises the steps of acquiring a target page component selected by a first user from at least one page component.
Wherein at least one page component corresponds to a resource file, respectively.
402: and a template generation module: and the target template page is generated based on the target resource file corresponding to the target page component.
According to the method and the device, a target page component selected by a first user from at least one page component is obtained. The at least one page component corresponds to the resource files, respectively. Then, a target template page can be generated based on the target resource file corresponding to the target page component. By providing at least one page component, a user can quickly select a required target page component, so that the aims of reducing page composition and page complexity are achieved. And generating a target template page by utilizing the target resource file corresponding to the target page component, so that the number of the resource files in the target template page can be reduced, the loading speed of the target template page can be increased, and the loading efficiency can be improved.
As an embodiment, the apparatus may further include:
the data acquisition module is used for acquiring target data input by a first user aiming at the target page component;
and the page generation module is used for determining the target page corresponding to the target template page based on the target data corresponding to the target page component.
As yet another embodiment, the apparatus may further include:
the request viewing module is used for acquiring a page viewing request initiated by the second user aiming at the target page and displaying the target page for the second user.
In one possible design, the request view module may include:
the template determining unit is used for acquiring a page viewing request initiated by a second user aiming at a target page and determining a target template page corresponding to the target page;
the resource loading unit is used for loading a target resource file corresponding to a target page component in the target template page;
the page rendering unit is used for rendering the target page component in the target template page based on the target data corresponding to the target page component to obtain a target page;
and the page output unit is used for outputting a target page for the second user.
In some embodiments, at least one page component corresponds to a component identifier, respectively, and at least one page component corresponds to a resource identifier in each resource file; the apparatus may further include:
the first determining module is used for determining a target component identifier corresponding to the target page component;
the second determining module is used for determining a target resource identifier of a resource file corresponding to the target page component;
the third determining module is used for determining a target page identifier of the target page;
and the association establishing module is used for establishing the association relation among the target page identifier, the target component identifier and the target resource identifier.
In one possible design, the request view module may include:
the identification determining unit is used for acquiring a page view request initiated by a second user aiming at a target page and determining a target page identification corresponding to the target page;
the identification searching unit is used for inquiring the target component identification and the target resource identification associated with the target page identification based on the target page identification;
the page determining unit is used for determining a target template page formed by a target page component corresponding to the target component identification;
and the resource determining unit is used for determining a target resource file corresponding to the target resource identifier.
As yet another embodiment, the component acquisition module may include:
and the component determining unit is used for determining at least one page component.
Wherein at least one page component corresponds to a resource file, respectively.
A blank page unit for determining a blank page;
the component selection unit is used for acquiring a target page component which is selected from at least one page component by a first user and placed on a blank page;
the template generation module may include:
the template generation unit is used for generating a target template page based on the target page component in the blank page and the target resource file corresponding to the target page component.
Further, optionally, the component selection unit may specifically be configured to:
determining a template page formed by blank pages with target page components; and packaging the template pages and the target resource files of the target page components to obtain target template pages.
As yet another embodiment, the component acquisition module includes:
a program component determining unit configured to determine at least one page component provided by the page editing program; wherein, at least one page component corresponds to the resource file respectively;
and the program component selection unit is used for acquiring the target page component selected by the first user in the page editing program.
The page processing apparatus of fig. 4 may perform the page processing method of the embodiment shown in fig. 1 to 3, and its implementation principle and technical effects will not be described again. The specific manner in which the respective modules and units of the page processing apparatus in the above embodiments perform operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
In one possible design, the page processing apparatus of the embodiment shown in fig. 4 may be implemented as a page processing device, which may be a first electronic device or a server, and may specifically be configured according to actual use requirements. As shown in fig. 5, the page processing device can include a storage component 501 and a processing component 502.
The storage component 501 stores one or more computer instructions, where the one or more computer instructions are invoked by the processing component 502 for execution to implement the page processing methods shown in fig. 1-3.
Wherein the processing component 502 can include one or more processors to execute computer instructions to perform all or part of the steps of the methods described above. Of course, the processing component may also be implemented as one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic elements for executing the methods described above.
The storage component 501 is configured to store various types of data to support operations at a terminal. The memory component may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
Of course, the page processing device may necessarily also include other components, such as input/output interfaces, communication components, and the like. The input/output interface provides an interface between the processing component and a peripheral interface module, which may be an output device, an input device, etc. The communication component is configured to facilitate wired or wireless communication between the page processing device and other devices, and the like.
In addition, the embodiment of the application further provides a computer readable storage medium, and a computer program is stored in the computer readable storage medium, and when the computer program is executed by a computer, the page processing method of the embodiment shown in fig. 1 to 3 can be realized.
The apparatus embodiments described above are merely illustrative, wherein elements illustrated as separate elements may or may not be physically separate, and elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by adding necessary general purpose hardware platforms, or may be implemented by a combination of hardware and software. Based on such understanding, the foregoing aspects, in essence and portions contributing to the art, may be embodied in the form of a computer program product, which may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable page processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable page processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable page processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable page processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (7)

1. A method of processing a page, comprising:
acquiring a target page component selected by a first user from at least one page component; the at least one page component corresponds to the resource file respectively, the at least one page component corresponds to the component identifier respectively, and the resource file of each at least one page component corresponds to the resource identifier;
generating a target template page based on a target resource file corresponding to the target page component;
acquiring target data input by the first user aiming at the target page component;
determining a target page corresponding to the target template page based on target data corresponding to the target page component;
determining a target component identifier corresponding to the target page component;
determining a target resource identifier of a resource file corresponding to the target page component;
determining a target page identifier of the target page;
establishing an association relationship among the target page identifier, the target component identifier and the target resource identifier;
the target page component selected by the first user from at least one page component is acquired; wherein, the at least one page component corresponds to a resource file respectively and includes:
determining the at least one page component; wherein the at least one page component corresponds to a resource file, respectively;
determining a blank page;
acquiring a target page component selected from the at least one page component by the first user and placed on the blank page;
the generating the target template page based on the target resource file corresponding to the target page component comprises:
and generating the target template page based on the target page component in the blank page and the target resource file corresponding to the target page component.
2. The method according to claim 1, wherein after determining that the target template page corresponds to the target page based on the target data corresponding to the target page component, further comprises:
and acquiring a page view request initiated by a second user aiming at the target page, and displaying the target page for the second user.
3. The method of claim 2, wherein the obtaining a page view request initiated by the second user for the target page, displaying the target page for the second user comprises:
acquiring a page view request initiated by the second user aiming at the target page, and determining the target template page corresponding to the target page;
loading a target resource file corresponding to the target page component in the target template page;
rendering the target page component in the target template page based on the target data corresponding to the target page component to obtain the target page;
and outputting the target page for the second user.
4. The method of claim 1, wherein obtaining a page view request initiated by a second user for the target page, and determining the target template page corresponding to the target page comprises:
acquiring a page view request initiated by a second user aiming at the target page, and determining that the target page corresponds to the target page identification;
inquiring the target component identifier and the target resource identifier associated with the target page identifier based on the target page identifier;
determining the target template page formed by the target page component corresponding to the target component identifier;
before loading the target resource file corresponding to the target page component in the target template page, the method further comprises:
and determining the target resource file corresponding to the target resource identifier.
5. The method of claim 1, wherein the generating the target template page based on the target page component in the blank page and the target resource file corresponding to the target page component comprises:
determining a template page formed by the blank pages with the target page component;
and packaging the template page and the target resource file of the target page component to obtain the target template page.
6. The method of claim 1, wherein the obtaining a target page component selected by the first user from the at least one page component; wherein, the at least one page component corresponds to a resource file respectively and includes:
determining at least one page component provided by the page editing program; wherein the at least one page component corresponds to a resource file respectively;
and acquiring the target page component selected by the first user in the page editing program.
7. A page processing apparatus, comprising:
the component acquisition module is used for acquiring a target page component selected by a first user from at least one page component; the at least one page component corresponds to the resource file respectively, the at least one page component corresponds to the component identifier respectively, and the resource file of each at least one page component corresponds to the resource identifier;
the template generation module is used for generating a target template page based on the target resource file corresponding to the target page component;
the data acquisition module is used for acquiring target data input by a first user aiming at the target page component;
the page generation module is used for determining a target page corresponding to the target template page based on target data corresponding to the target page component;
the first determining module is used for determining a target component identifier corresponding to the target page component;
a second determining module for determining a target resource identifier of the resource file corresponding to the target page component;
a third determining module for determining a target page identifier of the target page;
the association establishing module establishes an association relation among the target page identifier, the target component identifier and the target resource identifier;
the target page component selected by the first user from at least one page component is acquired;
the component determining unit is used for determining at least one page component, wherein the at least one page component corresponds to the resource files respectively;
a blank page unit for determining a blank page;
the component selection unit is used for acquiring a target page component which is selected from at least one page component by a first user and placed on a blank page;
the template generation module is specifically configured to generate the target template page based on the target page component in the blank page and a target resource file corresponding to the target page component.
CN202010851439.0A 2020-08-21 2020-08-21 Page processing method and device Active CN112214704B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010851439.0A CN112214704B (en) 2020-08-21 2020-08-21 Page processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010851439.0A CN112214704B (en) 2020-08-21 2020-08-21 Page processing method and device

Publications (2)

Publication Number Publication Date
CN112214704A CN112214704A (en) 2021-01-12
CN112214704B true CN112214704B (en) 2023-08-08

Family

ID=74058657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010851439.0A Active CN112214704B (en) 2020-08-21 2020-08-21 Page processing method and device

Country Status (1)

Country Link
CN (1) CN112214704B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112882782B (en) * 2021-02-08 2023-12-12 广州三七网络科技有限公司 Page generation method, page generation device, computer equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110007999A (en) * 2019-04-15 2019-07-12 成都四方伟业软件股份有限公司 Page layout method, device and computer readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10133587B2 (en) * 2015-10-28 2018-11-20 International Business Machines Corporation Generating component pages to render in a configuration page in a graphical user interface to configure a computing resource
CN107479861B (en) * 2016-06-07 2021-04-06 阿里巴巴集团控股有限公司 Page processing method and system
US10372812B2 (en) * 2016-09-01 2019-08-06 Adobe Inc. Combining aspects of a template into multiple web pages
CN108920203A (en) * 2017-07-13 2018-11-30 成都广达新网科技股份有限公司 A kind of page loading method and equipment
CN107908399B (en) * 2017-11-14 2021-03-16 浪潮通用软件有限公司 Page development method and device
CN110471657A (en) * 2018-05-11 2019-11-19 北京三快在线科技有限公司 The generation method and device of Website page
CN109918607B (en) * 2019-03-20 2021-08-03 杭州网易再顾科技有限公司 Page construction method and device, medium and computing equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110007999A (en) * 2019-04-15 2019-07-12 成都四方伟业软件股份有限公司 Page layout method, device and computer readable storage medium

Also Published As

Publication number Publication date
CN112214704A (en) 2021-01-12

Similar Documents

Publication Publication Date Title
EP3623942B1 (en) Message processing method and apparatus, storage medium, and computer device
US11132114B2 (en) Method and apparatus for generating customized visualization component
US11356498B2 (en) Method and a device for sharing a hosted application
CN107463563B (en) Information service processing method and device of browser
CN109376316B (en) Method, system and server for dynamically loading route
CN107679214B (en) Link positioning method, device, terminal and computer readable storage medium
US20180107686A1 (en) Search method and apparatus
CN110058854B (en) Method, terminal device and computer-readable medium for generating application
CN107391535B (en) Method and device for searching document in document application
CN110968314B (en) Page generation method and device
CN106611065B (en) Searching method and device
CN109582317B (en) Method and apparatus for debugging hosted applications
CN110941779A (en) Page loading method and device, storage medium and electronic equipment
US9934291B2 (en) Dynamic presentation of a results set by a form-based software application
TWI519980B (en) Method and device for displaying web page and computer-readable storage medium
CN108319474B (en) Page information generation method, device and equipment
EP4080507A1 (en) Method and apparatus for editing object, electronic device and storage medium
CN112214704B (en) Page processing method and device
CN114911595A (en) Animation resource information processing method, device, equipment, medium and product
CN113496017A (en) Verification method, device, equipment and storage medium
CN111414507A (en) Information display method, equipment, device and computer readable storage medium
CN111626021B (en) Presentation generation method and device
CN114063958A (en) Page split-screen display method and device
CN113971191A (en) Data import method and device and computer readable storage medium
CN112434237A (en) Page loading method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant