CN110008431B - Page component construction method and device, page generation equipment and readable storage medium - Google Patents

Page component construction method and device, page generation equipment and readable storage medium Download PDF

Info

Publication number
CN110008431B
CN110008431B CN201910286968.8A CN201910286968A CN110008431B CN 110008431 B CN110008431 B CN 110008431B CN 201910286968 A CN201910286968 A CN 201910286968A CN 110008431 B CN110008431 B CN 110008431B
Authority
CN
China
Prior art keywords
component
page
configuration information
target
script
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
CN201910286968.8A
Other languages
Chinese (zh)
Other versions
CN110008431A (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.)
Chengdu Sefon Software Co Ltd
Original Assignee
Chengdu Sefon Software 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 Chengdu Sefon Software Co Ltd filed Critical Chengdu Sefon Software Co Ltd
Priority to CN201910286968.8A priority Critical patent/CN110008431B/en
Publication of CN110008431A publication Critical patent/CN110008431A/en
Application granted granted Critical
Publication of CN110008431B publication Critical patent/CN110008431B/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
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code

Abstract

The embodiment of the application provides a page component construction method and device, page generation equipment and a readable storage medium. According to the webpage generating device and the webpage developing and building method, the configuration information acquisition request corresponding to the component to be built is sent to the component configuration server through the webpage generating device, the script resource acquisition request corresponding to the component to be built is sent to the component script server, the corresponding target configuration information is acquired from the component configuration server, the corresponding target component dependence package is acquired from the component script server, and therefore under the current webpage environment of the webpage generating device, the corresponding webpage component is rapidly rendered and generated based on the target configuration information, the target component dependence package and business data corresponding to the component to be built, and the generated webpage component belongs to the localized component of the webpage generating device.

Description

Page component construction method and device, page generation equipment and readable storage medium
Technical Field
The application relates to the technical field of webpage development, in particular to a page component construction method and device, page generation equipment and a readable storage medium.
Background
With the continuous development of internet technology, web services have become an indispensable part of people's daily life, wherein web services usually need to be implemented through web page development, and for web page development, how to quickly construct a suitable page component is an extremely important implementation factor in the web page development process.
At present, the components in the corresponding page are usually configured in a webpage system in a nested manner by using a visual product provided by a visual manufacturer in the market, or a Web front-end visual open-source script library is referred to for component development, so that the corresponding components are constructed in the page. In the former mode, the problem of difficult communication between nested Web pages is usually caused by the regulation of a browser homologous policy; in the latter mode, a web page developer is required to manually and constantly search for the attributes and applications of the components according to the requirements and adjust the codes, so that the construction efficiency of the components is not high, and further the whole web page development and construction efficiency is not high.
Disclosure of Invention
In order to overcome the defects in the prior art, the application aims to provide a page component construction method, a page component construction device, page generation equipment and a readable storage medium, which can quickly construct a proper page component, avoid the problem of difficulty in communication between nested Web pages and improve the efficiency of webpage development and construction.
Regarding to a method, an embodiment of the present application provides a page component construction method, where the method is applied to a web page development system including a page generation device, a component configuration server, and a component script server, and the method includes:
the page generation equipment sends a configuration information acquisition request for acquiring configuration information of the component to be constructed to the component configuration server;
the component configuration server obtains corresponding target configuration information according to component type information and component characteristic information included in the configuration information obtaining request, and sends the target configuration information to the page generating equipment;
the page generation equipment sends a script resource acquisition request for acquiring a dependency package script corresponding to the component to be constructed to the component script server;
the component script server acquires a corresponding target component dependency package according to component type information included in the script resource acquisition request, and sends the target component dependency package to the page generation equipment;
and the page generation equipment renders and generates the page component corresponding to the component to be constructed in the current page environment according to the target configuration information, the target component dependency package and the service data corresponding to the component to be constructed.
Regarding to a method, an embodiment of the present application further provides a page component construction method, where the method is applied to a page generation device included in a web page development system, where the system further includes a component configuration server and a component script server, and the method includes:
sending a configuration information acquisition request for acquiring configuration information of a component to be constructed to the component configuration server, so that the component configuration server feeds back corresponding target configuration information, wherein the configuration information acquisition request comprises component type information and component characteristic information corresponding to the component to be constructed;
sending a script resource acquisition request for acquiring a dependency package script corresponding to the component to be constructed to the component script server, so that the component script server feeds back a corresponding target component dependency package, wherein the script resource acquisition request comprises component type information corresponding to the component to be constructed;
and rendering and generating a page component corresponding to the component to be constructed in the current page environment according to the target configuration information, the target component dependency package and the service data corresponding to the component to be constructed.
Regarding to an apparatus, an embodiment of the present application provides a page component constructing apparatus, where the apparatus is applied to a page generating device included in a web page development system, where the system further includes a component configuration server and a component script server, and the apparatus includes:
a configuration acquisition module, configured to send a configuration information acquisition request for acquiring configuration information of a component to be constructed to the component configuration server, so that the component configuration server feeds back corresponding target configuration information, where the configuration information acquisition request includes component type information and component feature information corresponding to the component to be constructed;
the script acquisition module is used for sending a script resource acquisition request for acquiring a dependency package script corresponding to the component to be constructed to the component script server, so that the component script server feeds back a corresponding target component dependency package, wherein the script resource acquisition request comprises component type information corresponding to the component to be constructed;
and the component generation module is used for rendering and generating the page component corresponding to the component to be constructed in the current page environment according to the target configuration information, the target component dependency package and the service data corresponding to the component to be constructed.
The embodiment of the present application provides a page generation device, where the page generation device is applied to a web page development system including a component configuration server and a component script server, the page generation device includes a processor and a non-volatile memory storing computer instructions, and when the computer instructions are executed by the processor, the page generation device executes the above-mentioned page component construction method.
In terms of a storage medium, an embodiment of the present application provides a readable storage medium, where the readable storage medium includes a computer program, and the computer program controls, when running, a page generation device where the readable storage medium is located to execute the above-mentioned page component construction method.
Compared with the prior art, the method has the following beneficial effects:
according to the method and the device, the configuration information acquisition request corresponding to the component to be constructed is sent to the component configuration server through the page generation device, the script resource acquisition request corresponding to the component to be constructed is sent to the component script server, the corresponding target configuration information is acquired from the component configuration server, the corresponding target component dependency package is acquired from the component script server, and therefore under the current page environment of the page generation device, the corresponding page component is rapidly rendered and generated based on the target configuration information corresponding to the component to be constructed, the target component dependency package and service data, and the generated page component is guaranteed to belong to the localized component at the page generation device, the problem of communication difficulty among nested Web pages is avoided, and the webpage development and construction efficiency is improved.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments are briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope of protection of the present application, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic composition diagram of a web page development system provided in an embodiment of the present application;
fig. 2 is a schematic block diagram of a page generation device according to an embodiment of the present application;
fig. 3 is a first flowchart of a page component constructing method according to an embodiment of the present application;
fig. 4 is a second flowchart of a page component constructing method according to an embodiment of the present application;
fig. 5 is a block diagram illustrating a page component constructing apparatus according to an embodiment of the present application.
Icon: 10-web page development system; 11-a page generating device; 12-a component configuration server; 13-component script server; 111-a memory; 112-a processor; 113-a communication unit; 200-page component building means; 210-configuration acquisition module; 220-script acquisition module; 230-component generation module.
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. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. 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.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating a web page development system 10 according to an embodiment of the present disclosure. In the embodiment of the present application, the web page development system 10 may be used for web page development and web page building, where the web page development system 10 includes a page generation device 11, a component configuration server 12, and a component script server 13.
In this embodiment, a Web visualization development platform runs on the component configuration server 12, and the component configuration server 12 may create a component through the Web visualization development platform and obtain configuration information corresponding to the created component, where the configuration information is used to indicate a display configuration condition of the corresponding component in a network environment.
In this embodiment, the component script server 13 is communicatively connected to the component configuration server 12, and stores Web front-end dependency packages corresponding to component types related to the component configuration server 12, where the Web front-end dependency package corresponding to each component type is used to represent script codes of a dependency relationship exhibited by components of the corresponding component type in a network environment. In one embodiment of the present embodiment, the component script server 13 is integrated with the component configuration server 12.
In this embodiment, the page generating device 11 is in communication connection with the component configuration server 12 and the component script server 13, so as to obtain configuration information of a component to be constructed from the component configuration server 12, and obtain a Web front-end dependency package with a component type identical to that of the component to be constructed from the component script server 13, so that a corresponding page component is quickly rendered and generated based on target configuration information, a target component dependency package and service data corresponding to the component to be constructed in a current page environment of the page generating device, and thus, the generated page components are ensured to belong to localized components at the page generating device 11, a problem of communication difficulty between nested Web pages is avoided, and Web page development efficiency is improved. The service data is used to represent component service attributes that are given to the component to be built by the web page developer through the page generation device 11.
Optionally, referring to fig. 2, fig. 2 is a schematic block diagram of the page generating device 11 provided in the embodiment of the present application. In the embodiment of the present application, the page generating apparatus 11 includes a page component constructing device 200, a memory 111, a processor 112, and a communication unit 113. The various elements of the memory 111, the processor 112 and the communication unit 113 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the memory 111, the processor 112 and the communication unit 113 may be electrically connected to each other through one or more communication buses or signal lines. The page generating device 11 may be, but is not limited to, a Personal Computer (PC), a tablet PC, a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), and the like.
In this embodiment, the memory 111 is a non-volatile memory, the memory 111 is used for storing computer instructions or a computer program, and the processor 112 can execute the computer instructions or the computer program after receiving the execution instructions. The processor 112 may be an integrated circuit chip having signal processing capabilities. The Processor 112 may be a general-purpose Processor including a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Network Processor (NP), and the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like that implements or executes the methods, steps and logic blocks disclosed in the embodiments of the present application.
In this embodiment, the communication unit 113 is configured to establish a communication connection between the page generation device 11 and another external device through a network, and to transmit and receive data through the network. For example, the page generating device 11 is communicatively connected to the component configuration server 12 and the component script server 13 through the communication unit 113.
In this embodiment, the page component constructing apparatus 200 includes at least one software function module capable of being stored in the memory 111 in the form of software or firmware or being solidified in the operating system of the page generating device 11. The processor 112 may be used to execute executable modules stored by the memory 111, such as software functional modules and computer programs included by the page component construction device 200. The page generating device 11 can rapidly generate the page component belonging to the localized component at the page generating device 11 through the page component constructing apparatus 200, thereby avoiding the problem of difficult communication between nested Web pages and improving the efficiency of Web page development and construction.
It is understood that the block diagram shown in fig. 2 is only a schematic diagram of one structure of the page generating device 11, and the page generating device 11 may further include more or less components than those shown in fig. 2, or have a different configuration from that shown in fig. 2. The components shown in fig. 2 may be implemented in hardware, software, or a combination thereof.
Referring to fig. 3, fig. 3 is a first flowchart illustrating a page component constructing method according to an embodiment of the present application. In the embodiment of the present application, the page component construction method shown in fig. 3 is applied to the above-mentioned web page development system 10, and specific flows and steps of the page component construction method shown in fig. 3 are described in detail below.
In step S310, the page generating device 11 sends a configuration information acquisition request for acquiring configuration information of the component to be built to the component configuration server 12.
In this embodiment, the configuration information obtaining request includes component type information and component feature information corresponding to the component to be built, where the component feature information is used to represent a component shape requirement of a web page developer for the component to be built.
In step S320, the component configuration server 12 obtains corresponding target configuration information according to the component type information and the component feature information included in the configuration information obtaining request, and sends the target configuration information to the page generating device 11.
In this embodiment, the obtaining, by the component configuration server 12, the corresponding target configuration information according to the component type information and the component feature information included in the configuration information obtaining request includes:
selecting a standardized component corresponding to the component type information from a plurality of stored standardized components;
adjusting the component attribute of the selected standardized component according to the component characteristic information;
and performing component decoupling on the adjusted standardized component, and taking component configuration information obtained by decoupling as the target configuration information.
Wherein each standardized component stored in the component configuration server 12 corresponds to a component category. The component configuration server 12 performs component attribute adjustment on the standardized component corresponding to the component type information through the component feature information, and performs component decoupling on the standardized component that has been adjusted, thereby taking the component configuration information corresponding to the standardized component obtained by the decoupling as the target configuration information corresponding to the configuration information acquisition request.
In an implementation manner of this embodiment, after obtaining the target configuration information corresponding to the configuration information obtaining request, the component configuration server 12 may provide a list including component configuration information of a plurality of components to be constructed to the page generating device 11, so that a web page developer selects the required target configuration information in the list through the page generating device 11, and thus the component configuration server 12 sends the selected target configuration information to the page generating device 11.
In step S330, the page generating device 11 sends a script resource obtaining request for obtaining a dependency package script corresponding to the component to be built to the component script server 13.
In this embodiment, the script resource obtaining request includes component type information corresponding to the component to be built. The page generating device 11 may transmit a script resource acquisition request to the component script server 13 at the same time as transmitting a configuration information acquisition request to the component configuration server 12.
In step S340, the component script server 13 obtains a corresponding target component dependency package according to the component type information included in the script resource obtaining request, and sends the target component dependency package to the page generating device 11.
In this embodiment, the component script server 13, according to the component category information included in the script resource obtaining request, obtains the corresponding target component dependency package, including:
and searching the Web front-end dependency packages corresponding to the component type information in the stored Web front-end dependency packages corresponding to the component types, and taking the searched Web front-end dependency packages as the target component dependency packages.
After acquiring the target component dependency package corresponding to the script resource acquisition request, the component script server 13 directly feeds back the target component dependency package to the page generating device 11.
Step S350, the page generating device 11 generates a page component corresponding to the component to be built by rendering in the current page environment according to the target configuration information, the target component dependency package, and the service data corresponding to the component to be built.
In this embodiment, the rendering, by the page generating device 11, the page component corresponding to the component to be built in the current page environment according to the target configuration information, the target component dependency package, and the service data corresponding to the component to be built, includes:
creating a standardized component corresponding to the component type information of the component to be constructed in the current page environment, and loading the service data to the standardized component;
and locally rendering the standardized component loaded with the service data by using the target configuration information and the target component dependence package, and taking the rendered component as a page component corresponding to the component to be built.
The page generating device 11 may perform local rendering on the created standardized component by using a component initialization function, so that the standardized component that completes rendering operation based on the target configuration information, the target component dependency package, and the service data belongs to the localized component at the page generating device 11, thereby avoiding a problem of difficulty in communication between nested Web pages, and improving efficiency of Web page development and construction.
Optionally, referring to fig. 4, fig. 4 is a second flowchart illustrating a page component constructing method according to an embodiment of the present application. In the embodiment of the present application, the page component construction method shown in fig. 4 is applied to the above-mentioned page generating device 11, and specific flows and steps of the page component construction method shown in fig. 4 are explained in detail below.
Step S410, sending a configuration information obtaining request for obtaining the configuration information of the component to be constructed to the component configuration server 12, so that the component configuration server 12 feeds back the corresponding target configuration information.
In this embodiment, the configuration information obtaining request includes component type information and component feature information corresponding to the component to be built.
Step S420, sending a script resource obtaining request for obtaining the dependency package script corresponding to the component to be built to the component script server 13, so that the component script server 13 feeds back the corresponding target component dependency package.
In this embodiment, the script resource obtaining request includes component type information corresponding to the component to be built.
Step S430, according to the target configuration information, the target component dependency package and the service data corresponding to the component to be built, rendering and generating a page component corresponding to the component to be built in the current page environment.
In this embodiment, the rendering and generating a page component corresponding to the component to be built in a current page environment according to the target configuration information, the target component dependency package, and the service data corresponding to the component to be built includes:
creating a standardized component corresponding to the component type information of the component to be constructed in the current page environment, and loading the service data to the standardized component;
and locally rendering the standardized component loaded with the service data by using the target configuration information and the target component dependence package, and taking the rendered component as a page component corresponding to the component to be built.
Referring to fig. 5, fig. 5 is a block diagram illustrating a page component constructing apparatus 200 according to an embodiment of the present disclosure. In the embodiment of the present application, the page component constructing apparatus 200 includes a configuration acquiring module 210, a script acquiring module 220, and a component generating module 230.
The configuration obtaining module 210 is configured to send a configuration information obtaining request for obtaining configuration information of a component to be built to the component configuration server 12, so that the component configuration server 12 feeds back corresponding target configuration information, where the configuration information obtaining request includes component type information and component feature information corresponding to the component to be built.
The script obtaining module 220 is configured to send a script resource obtaining request for obtaining a dependency package script corresponding to the component to be built to the component script server 13, so that the component script server 13 feeds back a corresponding target component dependency package, where the script resource obtaining request includes component type information corresponding to the component to be built.
The component generating module 230 is configured to render and generate a page component corresponding to the component to be built in a current page environment according to the target configuration information, the target component dependency package, and the service data corresponding to the component to be built.
The manner in which the component generation module 230 generates the page component corresponding to the component to be built by rendering in the current page environment according to the target configuration information, the target component dependency package, and the service data corresponding to the component to be built includes:
creating a standardized component corresponding to the component type information of the component to be constructed in the current page environment, and loading the service data to the standardized component;
and locally rendering the standardized component loaded with the service data by using the target configuration information and the target component dependence package, and taking the rendered component as a page component corresponding to the component to be built.
The embodiment of the present application further provides a readable storage medium, where a computer program is stored, and when the computer program runs, the page generation device 11 where the readable storage medium is located is controlled to execute the above page component construction method. The readable storage medium may be any available medium in the page generating device 11 (e.g., a personal computer, a server, etc.) capable of accessing data, or may be a data storage device including one or more available media integrated servers, data centers, etc. The usable medium may be a magnetic medium (e.g., a floppy Disk, a hard Disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), among others, in which the program code may be stored.
To sum up, in the page component construction method, the page component construction device, the page generation device, and the readable storage medium provided in the embodiments of the present application, the page generation device sends a configuration information acquisition request corresponding to a component to be constructed to a component configuration server, and sends a script resource acquisition request corresponding to the component to be constructed to a component script server, so as to acquire corresponding target configuration information from the component configuration server, and acquire a corresponding target component dependency package from the component script server, thereby quickly rendering and generating a corresponding page component based on the target configuration information, the target component dependency package, and service data corresponding to the component to be constructed in a current page environment of the page generation device, and further ensuring that all generated page components belong to localized components at the page generation device, thereby avoiding a problem of communication difficulty between nested Web pages, the efficiency of webpage development and construction is improved.
The above description is only for various embodiments of the present application, but the scope of the present application is not limited thereto, and any modifications or equivalent substitutions that can be easily made by those skilled in the art within the technical scope of the present application are included in the scope of the present application.

Claims (9)

1. A page component construction method is applied to a webpage development system comprising a page generation device, a component configuration server and a component script server, and comprises the following steps:
the page generation equipment sends a configuration information acquisition request for acquiring configuration information of the component to be constructed to the component configuration server;
the component configuration server obtains corresponding target configuration information according to component type information and component characteristic information included in the configuration information obtaining request, and sends the target configuration information to the page generating equipment; the component feature information is used for representing the component shape requirement of a webpage developer for the component to be constructed;
the page generation equipment sends a script resource acquisition request for acquiring a dependency package script corresponding to the component to be constructed to the component script server;
the component script server acquires a corresponding target component dependency package according to component type information included in the script resource acquisition request, and sends the target component dependency package to the page generation equipment;
the page generation equipment renders and generates a page component corresponding to the component to be constructed in a current page environment according to the target configuration information, the target component dependency package and the service data corresponding to the component to be constructed;
the component configuration server obtains corresponding target configuration information according to the component type information and the component characteristic information included in the configuration information obtaining request, and the method comprises the following steps:
selecting a standardized component corresponding to the component type information from a plurality of stored standardized components;
adjusting the component attribute of the selected standardized component according to the component characteristic information;
and performing component decoupling on the adjusted standardized component, and taking component configuration information obtained by decoupling as the target configuration information.
2. The method according to claim 1, wherein the component script server obtains the corresponding target component dependency package according to the component category information included in the script resource obtaining request, and comprises:
and searching the Web front-end dependency packages corresponding to the component type information in the stored Web front-end dependency packages corresponding to the component types, and taking the searched Web front-end dependency packages as the target component dependency packages.
3. The method according to any one of claims 1-2, wherein the page generating device generates a page component corresponding to the component to be built by rendering in a current page environment according to the target configuration information, the target component dependency package, and business data corresponding to the component to be built, including:
creating a standardized component corresponding to the component type information in a current page environment, and loading the service data onto the standardized component;
and locally rendering the standardized component loaded with the service data by using the target configuration information and the target component dependence package, and taking the rendered component as a page component corresponding to the component to be built.
4. A page component construction method is applied to page generation equipment included in a webpage development system, wherein the system further comprises a component configuration server and a component script server, and the method comprises the following steps:
sending a configuration information acquisition request for acquiring configuration information of a component to be constructed to the component configuration server, so that the component configuration server feeds back corresponding target configuration information, wherein the configuration information acquisition request comprises component type information and component characteristic information corresponding to the component to be constructed; the component feature information is used for representing the component shape requirement of a webpage developer for the component to be constructed;
sending a script resource acquisition request for acquiring a dependency package script corresponding to the component to be constructed to the component script server, so that the component script server feeds back a corresponding target component dependency package, wherein the script resource acquisition request comprises component type information corresponding to the component to be constructed;
rendering and generating a page component corresponding to the component to be constructed in the current page environment according to the target configuration information, the target component dependency package and the service data corresponding to the component to be constructed;
the target configuration information is determined according to the component type information and the component feature information included in the configuration information acquisition request by the component configuration server, and specifically includes:
selecting a standardized component corresponding to the component type information from a plurality of stored standardized components;
adjusting the component attribute of the selected standardized component according to the component characteristic information;
and performing component decoupling on the adjusted standardized component, and taking component configuration information obtained by decoupling as the target configuration information.
5. The method according to claim 4, wherein the rendering and generating a page component corresponding to the component to be built in a current page environment according to the target configuration information, the target component dependency package, and business data corresponding to the component to be built comprises:
creating a standardized component corresponding to the component type information in a current page environment, and loading the service data onto the standardized component;
and locally rendering the standardized component loaded with the service data by using the target configuration information and the target component dependence package, and taking the rendered component as a page component corresponding to the component to be built.
6. A page component construction device is applied to page generation equipment included in a webpage development system, wherein the system further comprises a component configuration server and a component script server, and the device comprises:
a configuration acquisition module, configured to send a configuration information acquisition request for acquiring configuration information of a component to be constructed to the component configuration server, so that the component configuration server feeds back corresponding target configuration information, where the configuration information acquisition request includes component type information and component feature information corresponding to the component to be constructed; the component feature information is used for representing the component shape requirement of a webpage developer for the component to be constructed;
the script acquisition module is used for sending a script resource acquisition request for acquiring a dependency package script corresponding to the component to be constructed to the component script server, so that the component script server feeds back a corresponding target component dependency package, wherein the script resource acquisition request comprises component type information corresponding to the component to be constructed;
the component generation module is used for rendering and generating a page component corresponding to the component to be constructed in the current page environment according to the target configuration information, the target component dependency package and the service data corresponding to the component to be constructed;
the target configuration information is determined according to the component type information and the component feature information included in the configuration information acquisition request by the component configuration server, and specifically includes:
selecting a standardized component corresponding to the component type information from a plurality of stored standardized components;
adjusting the component attribute of the selected standardized component according to the component characteristic information;
and performing component decoupling on the adjusted standardized component, and taking component configuration information obtained by decoupling as the target configuration information.
7. The apparatus of claim 6, wherein the component generation module is specifically configured to:
creating a standardized component corresponding to the component type information in a current page environment, and loading the service data onto the standardized component;
and locally rendering the standardized component loaded with the service data by using the target configuration information and the target component dependence package, and taking the rendered component as a page component corresponding to the component to be built.
8. A page generating device applied to a web page development system including a component configuration server and a component script server, wherein the page generating device includes a processor and a non-volatile memory storing computer instructions, and when the computer instructions are executed by the processor, the page generating device executes the page component constructing method according to claim 4 or 5.
9. A readable storage medium, characterized in that the readable storage medium comprises a computer program, and the computer program controls a page generation device in which the readable storage medium is located to execute the page component construction method according to claim 4 or 5.
CN201910286968.8A 2019-04-11 2019-04-11 Page component construction method and device, page generation equipment and readable storage medium Active CN110008431B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910286968.8A CN110008431B (en) 2019-04-11 2019-04-11 Page component construction method and device, page generation equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910286968.8A CN110008431B (en) 2019-04-11 2019-04-11 Page component construction method and device, page generation equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN110008431A CN110008431A (en) 2019-07-12
CN110008431B true CN110008431B (en) 2021-10-08

Family

ID=67170892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910286968.8A Active CN110008431B (en) 2019-04-11 2019-04-11 Page component construction method and device, page generation equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN110008431B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111079047B (en) * 2019-11-28 2020-09-15 蜂助手股份有限公司 Web-oriented page construction system
CN112817632A (en) * 2021-01-27 2021-05-18 豆盟(北京)科技股份有限公司 Interactive page packaging method and device
CN114398038A (en) * 2022-03-25 2022-04-26 深圳市维度数据科技股份有限公司 Page construction method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107451296A (en) * 2017-08-21 2017-12-08 南京焦点领动云计算技术有限公司 A kind of Website Module rendering intent based on component
CN107577459A (en) * 2017-08-21 2018-01-12 杰为软件系统(深圳)有限公司 A kind of towed cross-platform development system and method based on modularization
CN108664296A (en) * 2017-03-31 2018-10-16 阿里巴巴集团控股有限公司 A kind of page rendering method and apparatus, a kind of page processing method and device
CN109542404A (en) * 2018-10-19 2019-03-29 东软集团股份有限公司 Construction method, device, storage medium and the electronic equipment of page assembly

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7509649B2 (en) * 2005-03-03 2009-03-24 Research In Motion Limited System and method for conversion of generic services' applications into component based applications for devices
US7493594B2 (en) * 2005-03-14 2009-02-17 Research In Motion System and method for designing component based applications
KR100884435B1 (en) * 2007-12-05 2009-02-19 정안모 A Method for Decoupling Service Components from Application-Specific Business Entities
CN103984548B (en) * 2014-05-14 2018-03-06 陕西上讯信息技术有限公司 A kind of web application front ends framework and its construction method, system
CN106775751A (en) * 2016-12-30 2017-05-31 深圳中顺易金融服务有限公司 A kind of web front-end frame system and framework method
CN108256124A (en) * 2018-02-26 2018-07-06 成都步速者科技股份有限公司 Method for building website, device, server and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108664296A (en) * 2017-03-31 2018-10-16 阿里巴巴集团控股有限公司 A kind of page rendering method and apparatus, a kind of page processing method and device
CN107451296A (en) * 2017-08-21 2017-12-08 南京焦点领动云计算技术有限公司 A kind of Website Module rendering intent based on component
CN107577459A (en) * 2017-08-21 2018-01-12 杰为软件系统(深圳)有限公司 A kind of towed cross-platform development system and method based on modularization
CN109542404A (en) * 2018-10-19 2019-03-29 东软集团股份有限公司 Construction method, device, storage medium and the electronic equipment of page assembly

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于HTML5的移动电商系统前端的设计与实现;段跃润;《中国优秀硕士学位论文全文数据库信息科技辑》;20180215(第02期);I138-916 *

Also Published As

Publication number Publication date
CN110008431A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN109145238B (en) Card display method and device and mobile device
CN110008431B (en) Page component construction method and device, page generation equipment and readable storage medium
CN109062563B (en) Method and device for generating page
CN105931107B (en) Sharing method and device
CN113808231B (en) Information processing method and device, image rendering method and device, and electronic device
CN111756779B (en) Data serialization processing method, device and computer system
CN105488125A (en) Page access method and apparatus
CN106233257A (en) The conditionality of input data preserves
CN111125057A (en) Service request processing method and device and computer system
JP2011192103A (en) Evaluation device, method, and program
JP6297515B2 (en) Information processing apparatus, information processing method, and information processing program
US20230281674A1 (en) Digital Service Resource Allocation and Sharing
CN112650804A (en) Big data access method, device, system and storage medium
JP6300750B2 (en) Verification program, verification apparatus, and verification method
CN112347383A (en) Sharing link generation method and device and electronic equipment
CN111506340B (en) Business rule information processing method, device and system
CN110457632B (en) Webpage loading processing method and device
CN108734149B (en) Text data scanning method and device
CN112348928A (en) Animation synthesis method, animation synthesis device, electronic device, and medium
CN108196848B (en) Interface embedded display method and device, user terminal and readable storage medium
CN111338624A (en) Data processing method and related equipment
CN107851165B (en) Key system, key client and key management method
CN114860350B (en) Data processing method and device based on cloud diskless tree-like mirror image
CN111586133B (en) Information pushing method and related device
CN113553123B (en) Data processing method, 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