CN112214704A - Page processing method and device - Google Patents

Page processing method and device Download PDF

Info

Publication number
CN112214704A
CN112214704A CN202010851439.0A CN202010851439A CN112214704A CN 112214704 A CN112214704 A CN 112214704A CN 202010851439 A CN202010851439 A CN 202010851439A CN 112214704 A CN112214704 A CN 112214704A
Authority
CN
China
Prior art keywords
page
target
component
user
template
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.)
Granted
Application number
CN202010851439.0A
Other languages
Chinese (zh)
Other versions
CN112214704B (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a page processing method and a page processing device, wherein the page processing method comprises the following steps: acquiring a target page component selected by a first user in at least one page component; wherein the at least one page component corresponds to resource files respectively; and generating a target template page based on the target resource file corresponding to the target page component. According to the page loading method and device, page resources are loaded as required, 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 application relates to the field of computer technologies, and in particular, to a page processing method and apparatus.
Background
A web page may be composed of multiple page components, such as an image component, a video component, a text component, a button component, and the like. The page component may define attributes such as the size of the element. The page component needs to be supported by the resource file corresponding to the page component for normal operation, for example, the page component generally needs to be supported by a CSS file.
In order to ensure that the web page can operate normally, when the front end edits the web page, the resource files of all the page components need to be packaged with the page at the same time. When an ordinary user opens a page, all types of resource files need to be downloaded from a server or a CDN (Content Delivery Network) device to ensure that the page can be normally opened, which results in a complex page structure.
Disclosure of Invention
In view of this, embodiments of the present application provide a page processing method and apparatus, so as to solve the technical problem in the prior art that a page is complex in structure, which results in a 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 in at least one page component; wherein the at least one page component corresponds to resource files 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 a target page corresponding to the target template 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 viewing request initiated by a second user aiming at the target page, and displaying the target page for the second user.
Preferably, the obtaining a page viewing request initiated by a second user for the target page, and displaying the target page for the second user includes:
acquiring a page viewing request initiated by the second user for 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 is respectively corresponding to a component identifier, and the resource file 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 further includes:
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 incidence relation among the target page identifier, the target component identifier and the target resource identifier.
Preferably, the obtaining of the page viewing 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 viewing request initiated by the second user for the target page, and determining that the target page corresponds to the target page identifier;
based on the target page identification, inquiring the target component identification and the target resource identification which are associated with the target page identification;
determining the target template page formed by the target page components corresponding to the target component identification;
before the loading the target resource file corresponding to the target page component in the target template page, the method further includes:
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 respectively corresponds to the resource file and comprises:
determining the at least one page component; wherein the at least one page component corresponds to resource files, respectively;
determining a blank page;
acquiring a target page component which is selected from the at least one page component by the first user and is placed in the blank page;
the generating a 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 formed by 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 respectively corresponds to the resource file and comprises:
determining at least one page component provided by a page editing program; wherein the at least one page component corresponds to resource files 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 resource files respectively;
and the template generating 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 for the page component selection, the target page component selected by the first user in the at least one page component is obtained. The at least one page component corresponds to a resource file 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, the user can quickly select the required target page component so as to achieve the aims of reducing page composition and page complexity. And thirdly, generating a target template page by using 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, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of an embodiment of a page processing method provided in an embodiment of the present application;
fig. 2 is a flowchart of another embodiment of a page processing method according to 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
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in 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 obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the examples of 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, and "a" and "an" typically include at least two, but do not exclude the presence of at least one.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The words "if," "if," as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a recognition," depending on the context. Similarly, the phrases "if determined" or "if identified (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when identified (a stated condition or event)" or "in response to an identification (a stated condition or event)", depending on the context.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good 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 good or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a commodity or system that includes the element.
The technical scheme of the embodiment of the application can be applied to scenes such as page development and application. Only the resource files related to the page components in the page are packaged, so that the page processing efficiency is improved, the page loading content is reduced, and the page loading efficiency is improved.
The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
As shown in fig. 1, which is a flowchart of an embodiment of a page processing method provided in this embodiment of the present application, the method may include the following steps:
101: and acquiring a target page component selected by the first user in the at least one page component.
Wherein, at least one page component is respectively corresponding to the resource file.
In practical applications, the first user may develop users for the page.
Optionally, at least one page component may be a preset template component, and at least one page component may be directly applied to the page. The resource file corresponding to each page component is also preset, and the generation efficiency of the page can be improved by presetting at least one page component and the resource file corresponding to each page component.
Optionally, the method may further include: and acquiring the adjustment operation of the first user for the target page component, and acquiring adjustment data. 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 the page can display rich content in the page, and therefore, a plurality of target page components may be included to enable the target page to display richer content.
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 may be performed based on the target resource file corresponding to the target page component to generate the target template page.
The target page components are included in the target template page, but because the first user does not set corresponding data for the target page components, the target page components in the target template page may be data-unconfigured and have no page content set.
According to the method and the device for the page component selection, the target page component selected by the first user in the at least one page component is obtained. The at least one page component corresponds to a resource file 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, the user can quickly select the required target page component so as to achieve the aims of reducing page composition and page complexity. And thirdly, generating a target template page by using 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 types of the servers too much. 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 have acquired the first user input for the target page component. That is, the user operation related to the first user may be performed by the first user in the first electronic device, and the first electronic device may send the detected result to the server.
The first electronic device may directly detect and obtain a target page component selected by the first user in the at least one page component.
In a possible design, the server or the first electronic device may further receive a page view request initiated by the second electronic device for the target page, and display the target page for 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 send the user operation to the server after detecting and obtaining the user operation.
It should be noted that, the descriptions of "first", "second", and the like in this application are used for distinguishing different electronic devices, and do not represent a sequential order, and do not limit that "first" and "second" are different types. The electronic device described in the embodiments of the present application may include, for example: the electronic device comprises a computer, a notebook, a mobile phone, a tablet computer, a wearable device and the like, and the specific type of the electronic device is not limited too much in the embodiment of the application. The server corresponding to the electronic device can realize communication with the electronic device based on a communication connection mode such as wired or wireless.
As shown in fig. 2, which is a flowchart of an embodiment of a page processing method provided in this embodiment of the present application, the method may include the following steps:
201: and acquiring a target page component selected by the first user in the at least one page component.
Wherein, at least one page component is respectively corresponding to the resource file.
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 detected and obtained by the first electronic equipment corresponding to the first user. The first electronic device may detect obtaining target data input 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 can receive target data which is sent by the first electronic device and input by the first user aiming at the target page component.
204: and corresponding the target template page to the target page based on the target data corresponding to the target page component.
In the embodiment of the application, the target page component which can be selected by the first user in the at least one page component is obtained, the component layout of the page can be completed quickly through the selection of the target page component, and the layout efficiency of the page is improved. And the resource file corresponding to at least one page is known, and the target template page can be generated based on the target resource file corresponding to the target page component. Therefore, after the target data input by the first user for the target page component is obtained, the target page corresponding to the target template page is determined based on the target data corresponding to the target page component. The conversion of the target page corresponding to the target template page is completed by utilizing the target data corresponding to the target page component, so that the number of resource files of the target page can be reduced, when the target file is loaded, the target page can be loaded by loading the target resource file corresponding to the target page component, and the loading efficiency of the target page is improved.
As an 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 viewing 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 and obtained by the second electronic device. The second electronic device may send the page view request obtained by the detection to the server or the first electronic device.
When a page viewing request of a second user is obtained, the target page can be displayed for the second user. In one possible design, obtaining a page viewing request initiated by a second user for a target page, and presenting the target page for the second user may include:
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;
loading a target resource file corresponding to a target page component in a target template page;
rendering the target page components in the target template page based on the target data corresponding to the target page components to obtain a target page;
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 may be rendered based on the target data corresponding to the target page component to obtain the target page. The target page may be sent to a second electronic device corresponding to a second user. At this time, the inputting of the target page for the second user may include: and sending the target page to second electronic equipment of a second user so that the second electronic equipment can output the target page. The second electronic device can display the target page through the corresponding display screen.
In order to associate the target page with the target page component corresponding to the target page and the resource file corresponding to the target page component, the target page is quickly loaded. As another embodiment, at least one page component may respectively correspond to a component identifier, and a resource file of each 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 may further include:
determining a target component identifier corresponding to a target page component;
determining a target resource identifier of a resource file corresponding to a target page component;
determining a target page identifier of a target page;
and establishing an incidence relation among the target page identifier, the target component identifier and the target resource identifier.
Alternatively, the component identification may be used to identify page components, the component identifications of different page components being different. The resource identifier may be used to identify the resource file, and the resource identifiers of different resource files are different. The page identification may be used to identify a web page, with different page identifications for different pages.
By establishing the association relationship among the target page identifier, the target component identifier and the target resource identifier, when the target page identifier is determined, 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, so that the target page can be quickly loaded.
After the association relationship between the page, the component and the resource file is established through the identifier, 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 relationship. Therefore, in a possible design, obtaining a page viewing 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 viewing request initiated by a second user aiming at a target page, and determining a target page identifier corresponding to the target page;
based on the target page identification, inquiring a target component identification and a target resource identification which are associated with the target page identification;
and determining a target template page formed by target page components corresponding to the target component identification.
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 may be provided, so that the first user selects an appropriate target page component in the blank page, thereby achieving fast acquisition of the target template page.
As shown in fig. 3, which is a flowchart of another embodiment of a page processing method provided in this embodiment of the present application, the method may include:
301: at least one page component is determined.
At least one of the page components corresponds to a resource file.
302: a blank page is determined.
303: and acquiring a target page component which is selected by the first user from the at least one page component and is placed in 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, the page processing method provided in the embodiment of the present application may also be applied to the first electronic device, so that the technical solution is completed by the first electronic device.
In the embodiment of the application, the blank page and the at least one page component are provided, so that the target page component can be quickly selected, 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 an embodiment, generating a target template page based on a target page component in a blank page and a 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 page and the target resource file of the target page component to obtain a target template page.
The template page may be determined based on the blank page and the target page components in the blank page. After the template page and the target resource file corresponding to the target page component are packaged, the target template page can be obtained, and the generation efficiency of the target template page is improved.
In some embodiments, the selection of page components may be done in a page editor. Acquiring a target page component selected by a first user in at least one page component; wherein, at least one page component has resource file respectively to include:
determining at least one page component provided by a page editing program; wherein, at least one page component is respectively corresponding to resource files;
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, and 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 fast acquisition of the target page component and improve page generation efficiency.
Optionally, the page editor program may provide an editing interface in which at least one page component may be displayed, as well as a generation control for a blank page. After the first user triggers the generation control of the blank page, the blank page may be displayed in a page display area of the editing interface outside of the display area of the at least one page component. The first user can add the selected page component in the at least one page component to a blank page displayed in the page display area through dragging or clicking and the like, 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 provided in this embodiment of the present application is provided, where the apparatus may include the following modules:
401: a component acquisition module: the method comprises the steps of obtaining a target page component selected by a first user in at least one page component.
Wherein, at least one page component is respectively corresponding to the resource file.
402: a template generation module: and the target page template component is used for generating a target page template based on the target resource file corresponding to the target page component.
According to the method and the device for the page component selection, the target page component selected by the first user in the at least one page component is obtained. The at least one page component corresponds to a resource file 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, the user can quickly select the required target page component so as to achieve the aims of reducing page composition and page complexity. And thirdly, generating a target template page by using 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 a target page corresponding to the target template page based on the target data corresponding to the target page component.
As still another embodiment, the apparatus may further include:
and 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 a target template page;
the page rendering unit is used for rendering the target page components in the target template page based on the target data corresponding to the target page components to obtain a target page;
and the page output unit is used for outputting the target page for the second user.
In some embodiments, at least one page component corresponds to a component identifier, and a resource file of at least one page component corresponds to a resource identifier; 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 the resource file corresponding to the target page component;
the third determining module is used for determining the 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 viewing 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 searching the target component identification and the target resource identification which are 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 target page components corresponding to the target component identifications;
and the resource determining unit is used for determining the target resource file corresponding to the target resource identifier.
As still another embodiment, the component acquisition module may include:
a component determination unit for determining at least one page component.
At least one of the page components corresponds to a resource file.
A blank page unit for determining a blank page;
the device comprises a component selection unit, a page component selection unit and a page component selection unit, wherein the component selection unit is used for acquiring a target page component which is selected by a first user from at least one page component and is placed in a blank page;
the template generation module may include:
and the template generating 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 be specifically configured to:
determining a template page formed by blank pages with target page components; and packaging the template page and the target resource file of the target page component to obtain a target template page.
As still another embodiment, the component acquisition module includes:
a program component determination unit for determining at least one page component provided by the page editing program; wherein, at least one page component is respectively corresponding to resource files;
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 in fig. 4 may execute the page processing method in the embodiments shown in fig. 1 to fig. 3, and the implementation principle and the technical effect are not described again. The specific manner in which each module and unit 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 elaborated herein.
In one possible design, the page processing apparatus in the embodiment shown in fig. 4 may be implemented as a page processing device, and the page processing device may be the first electronic device or a server, and may be specifically configured according to actual use requirements. As shown in fig. 5, the page processing device may include a storage component 501 and a processing component 502.
One or more computer instructions are stored in the storage component 501, and the one or more computer instructions are called and executed by the processing component 502 to implement the page processing method shown in fig. 1 to 3.
The processing component 502 may include one or more processors executing computer instructions to perform all or part of the steps of the method described above. Of course, the processing elements 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, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
The storage component 501 is configured to store various types of data to support operations at the terminal. The memory components may be implemented by any type or combination of volatile or non-volatile 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 disks.
Of course, the page processing device may of course also comprise other components, such as input/output interfaces, communication components, etc. The input/output interface provides an interface between the processing components and peripheral interface modules, which may be output devices, input devices, 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, an embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the page processing method according to the embodiment shown in fig. 1 to 3 may be implemented.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course, can also be implemented by a combination of hardware and software. With this understanding in mind, the above-described technical solutions and/or portions thereof that contribute to the prior art may be embodied in the form of a computer program product, which may be embodied on one or more computer-usable storage media having computer-usable program code embodied therein (including but not limited to disk storage, CD-ROM, optical storage, etc.).
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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 used to illustrate the technical solutions of the present application, and not to limit the same; 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A page processing method is characterized by comprising the following steps:
acquiring a target page component selected by a first user in at least one page component; wherein the at least one page component corresponds to resource files respectively;
and generating a target template page based on the target resource file corresponding to the target page component.
2. The method of claim 1, further comprising:
acquiring target data input by the first user aiming at the target page component;
and determining a target page corresponding to the target template page based on the target data corresponding to the target page component.
3. The method of claim 2, 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 comprising:
and acquiring a page viewing request initiated by a second user aiming at the target page, and displaying the target page for the second user.
4. The method according to claim 3, wherein the obtaining of the page view request initiated by the second user for the target page, and the displaying of the target page for the second user comprises:
acquiring a page viewing request initiated by the second user for 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.
5. The method according to claim 4, wherein the at least one page component is respectively corresponding to a component identifier, and the 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 further includes:
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 incidence relation among the target page identifier, the target component identifier and the target resource identifier.
6. The method according to claim 5, wherein the obtaining of the page view request initiated by the second user for the target page, and the determining of the target template page corresponding to the target page comprises:
acquiring a page viewing request initiated by the second user for the target page, and determining that the target page corresponds to the target page identifier;
based on the target page identification, inquiring the target component identification and the target resource identification which are associated with the target page identification;
determining the target template page formed by the target page components corresponding to the target component identification;
before the loading the target resource file corresponding to the target page component in the target template page, the method further includes:
and determining the target resource file corresponding to the target resource identifier.
7. The method according to any one of claims 1 to 6, wherein 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 respectively corresponds to the resource file and comprises:
determining the at least one page component; wherein the at least one page component corresponds to resource files, respectively;
determining a blank page;
acquiring a target page component which is selected from the at least one page component by the first user and is placed in the blank page;
the generating a 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.
8. The method of claim 7, wherein the generating 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 comprises:
determining a template page formed by 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.
9. The method according to claim 1, wherein the obtaining a target page component selected by the first user in the at least one page component; wherein, the at least one page component respectively corresponds to the resource file and comprises:
determining at least one page component provided by a page editing program; wherein the at least one page component corresponds to resource files respectively;
and acquiring the target page component selected by the first user in the page editing program.
10. 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; wherein the at least one page component corresponds to resource files respectively;
and the template generating module is used for generating a target template page based on the 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 true CN112214704A (en) 2021-01-12
CN112214704B 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)

Cited By (1)

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

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170123642A1 (en) * 2015-10-28 2017-05-04 International Business Machines Corporation Generating component pages to render in a configuration page in a graphical user interface to configure a computing resource
CN107479861A (en) * 2016-06-07 2017-12-15 阿里巴巴集团控股有限公司 Page processing method and its system
US20180060294A1 (en) * 2016-09-01 2018-03-01 Adobe Systems Incorporated Combining Aspects of a Template into Multiple Web Pages
CN107908399A (en) * 2017-11-14 2018-04-13 山东浪潮通软信息科技有限公司 A kind of page development method and device
CN108920203A (en) * 2017-07-13 2018-11-30 成都广达新网科技股份有限公司 A kind of page loading method and equipment
CN109918607A (en) * 2019-03-20 2019-06-21 杭州网易再顾科技有限公司 Page building method and device, medium and calculating equipment
CN110007999A (en) * 2019-04-15 2019-07-12 成都四方伟业软件股份有限公司 Page layout method, device and computer readable storage medium
CN110471657A (en) * 2018-05-11 2019-11-19 北京三快在线科技有限公司 The generation method and device of Website page

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170123642A1 (en) * 2015-10-28 2017-05-04 International Business Machines Corporation Generating component pages to render in a configuration page in a graphical user interface to configure a computing resource
CN107479861A (en) * 2016-06-07 2017-12-15 阿里巴巴集团控股有限公司 Page processing method and its system
US20180060294A1 (en) * 2016-09-01 2018-03-01 Adobe Systems Incorporated 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
CN107908399A (en) * 2017-11-14 2018-04-13 山东浪潮通软信息科技有限公司 A kind of page development method and device
CN110471657A (en) * 2018-05-11 2019-11-19 北京三快在线科技有限公司 The generation method and device of Website page
CN109918607A (en) * 2019-03-20 2019-06-21 杭州网易再顾科技有限公司 Page building method and device, medium and calculating equipment
CN110007999A (en) * 2019-04-15 2019-07-12 成都四方伟业软件股份有限公司 Page layout method, device and computer readable storage medium

Cited By (2)

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

Also Published As

Publication number Publication date
CN112214704B (en) 2023-08-08

Similar Documents

Publication Publication Date Title
US10554805B2 (en) Information processing method, terminal, and computer-readable storage medium
US11314568B2 (en) Message processing method and apparatus, storage medium, and computer device
US11356498B2 (en) Method and a device for sharing a hosted application
CN103853548A (en) Method and system for deep links in application contexts
US10496696B2 (en) Search method and apparatus
US11916855B2 (en) File commenting method and apparatus, comment viewing method and apparatus, computer device, and storage medium
CN110941500A (en) Interface display method and device
EP3114641B1 (en) Reading group ebook synchronization
CN107391535B (en) Method and device for searching document in document application
CN110968314B (en) Page generation method and device
CN113076499A (en) Page interaction method, device, equipment, medium and program product
CN112527434A (en) Page display method, terminal, server, system and electronic equipment
US9934291B2 (en) Dynamic presentation of a results set by a form-based software application
CN114911595A (en) Animation resource information processing method, device, equipment, medium and product
CN109213782B (en) Search interface configuration and display method and device and communication equipment
CN112214704B (en) Page processing method and device
TW201525740A (en) Method and device for displaying web page and computer-readable storage medium
CN110058857B (en) Boarded application generation method and apparatus
CN105279140B (en) Text display method, server, terminal and system
CN113496017A (en) Verification method, device, equipment and storage medium
CN109492249B (en) Rapid generation method and device of design drawing and terminal equipment
CN111626021A (en) Presentation generation method and device
CN111782309B (en) Method and device for displaying information and computer readable storage medium
KR20210084386A (en) Method and device for recognizing visually coded patterns
CN112905072A (en) Application processing method and device 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
GR01 Patent grant
GR01 Patent grant