Page building method and device, equipment and storage medium

By grouping material packages according to business scenarios and obtaining configuration files, the complexity caused by the large number of material types in page construction is solved, improving construction efficiency and flexibility.

CN121834080APending Publication Date: 2026-04-10杭州三六零亿方智能有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-08
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

In existing technologies, the increasing variety of materials leads to more complex page building logic processes, resulting in low page building efficiency.

Method used

Determine the material package grouping based on the business scenario of the page to be built, obtain the target material package configuration file of the material package group, and pull the target material according to the target material package path to build the page.

Benefits of technology

By using material package grouping and configuration files, the page building process is simplified, building efficiency and flexibility are improved, and customized development of pages is realized.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121834080A_ABST
    Figure CN121834080A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of Internet, and discloses a page building method, device and equipment and a storage medium, and the method comprises the steps: determining a material package group according to a business scene corresponding to a to-be-built page; obtaining a target material package configuration file corresponding to the material package group; pulling the target material according to a target material package path in the target material package configuration file; and performing page building based on the target material. According to the invention, the material package group is determined according to the business scene corresponding to the to-be-established page, and the target material is pulled according to the target material package path in the target material package configuration file corresponding to the material package group so as to perform page establishment, so that the problem that in the prior art, the types of materials are more and more; therefore, the logic process of page building is more and more complicated, and the efficiency of page building is not high.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of Internet, and particularly relates to a page building method and device, equipment and storage medium. BACKGROUND

[0002] With the growing demand for websites and applications, traditional development methods may not meet the requirements of rapid delivery, so the rapid building and customization of pages become more and more important. However, as the scale of the page building project gradually expands, the types of materials for page building are more and more, resulting in more and more complex logic flow of page building, and thus the efficiency of page building is not high.

[0003] The above content is only used to assist in understanding the technical solutions of the present application and does not represent the acknowledgement of the above content as prior art. SUMMARY

[0004] The main purpose of the present application is to provide a page building method, device, equipment and storage medium, which aims to solve the technical problem that the efficiency of page building is not high due to the increasing types of materials, resulting in more and more complex logic flow of page building.

[0005] To achieve the above purpose, the present application provides a page building method, which comprises:

[0006] determining material package grouping according to the business scenario corresponding to the page to be built;

[0007] obtaining a target material package configuration file corresponding to the material package grouping;

[0008] pulling a target material according to a target material package path in the target material package configuration file;

[0009] building a page based on the target material.

[0010] Optionally, before the step of determining material package grouping according to the business scenario corresponding to the page to be built, the method further comprises:

[0011] material splitting the page building materials according to the business scenario requirements to obtain a plurality of material packages;

[0012] grouping the material packages to obtain a plurality of material package groupings.

[0013] Optionally, the step of grouping the material packages to obtain a plurality of material package groupings comprises:

[0014] generating a basic configuration file corresponding to each material package according to the component basic information corresponding to each component in the material package, wherein the basic configuration file comprises a script resource file, a style resource file and an attribute configuration file.

[0015] Based on the basic configuration file and the material management platform, the material packages are grouped to obtain several material package groups.

[0016] Optionally, before the step of generating the basic configuration file corresponding to each material package based on the basic component information corresponding to each component in each material package, the method further includes:

[0017] The historical business components are parsed to obtain the basic information of the historical components corresponding to the historical business components;

[0018] Generate the target basic configuration file corresponding to the historical business component based on the historical component basic information;

[0019] Integrate the target basic configuration file into the material package.

[0020] Optionally, the step of grouping the material packages based on the basic configuration file and the material management platform to obtain several material package groups includes:

[0021] Upload the basic configuration file to the content delivery network;

[0022] Upon completion of the upload, the material management platform groups the material packages based on preset business scenarios to obtain several material package groups.

[0023] Optionally, after the step of grouping the material packages according to a preset business scenario through the material management platform upon completion of the upload, the method further includes:

[0024] Obtain the material package configuration information corresponding to all material packages in each material package group. The material package configuration information includes: material package path and components to be enabled.

[0025] Based on the material package configuration information, generate material package configuration files corresponding to all material packages.

[0026] Optionally, the step of building a page based on the target material includes:

[0027] Obtain the region division information corresponding to the page to be built;

[0028] The material area in the page to be built is determined based on the area division information;

[0029] The target material is dragged to the material area for page construction.

[0030] Furthermore, to achieve the above objectives, the present invention also proposes a page building device, the device comprising:

[0031] The packet determination module is configured to determine the material package grouping according to a business scenario corresponding to the page to be built.

[0032] The file acquisition module is configured to acquire a target material package configuration file corresponding to the material package grouping.

[0033] The material pulling module is configured to pull a target material according to a target material package path in the target material package configuration file.

[0034] The page building module is configured to build a page based on the target material.

[0035] In addition, to achieve the above object, the application further provides a page building device, which comprises a memory, a processor, and a page building program stored in the memory and executable on the processor, and the page building program is configured to implement the steps of the page building method.

[0036] In addition, to achieve the above object, the application further provides a storage medium, which stores a page building program, and the page building program implements the steps of the page building method when executed by a processor.

[0037] In the application, the material package grouping is determined according to a business scenario corresponding to the page to be built, the target material package configuration file corresponding to the material package grouping is acquired, the target material is pulled according to the target material package path in the target material package configuration file, and the page is built based on the target material. Since the material package grouping is determined according to the business scenario corresponding to the page to be built, and the target material is pulled according to the target material package path in the target material package configuration file corresponding to the material package grouping to build the page, the technical problem that the logic flow of the page building is more and more complex due to the increasing types of materials in the prior art, and the efficiency of the page building is not high is solved. BRIEF DESCRIPTION OF DRAWINGS

[0038] Figure 1 The structural schematic diagram of the page building device of the hardware running environment related to the embodiment scheme of the application;

[0039] Figure 2 The flowchart of the first embodiment of the page building method of the application;

[0040] Figure 3 The flowchart of the second embodiment of the page building method of the application;

[0041] Figure 4 The flowchart of the third embodiment of the page building method of the application;

[0042] Figure 5The total flow chart of the page building in the page building method of the present application;

[0043] Figure 6 The structural block diagram of the first embodiment of the page building device of the present application.

[0044] The implementation, functional features and advantages of the present application will be further explained with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION

[0045] It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.

[0046] Referring to Figure 1 , Figure 1 The structural schematic diagram of the page building device of the hardware running environment involved in the embodiment scheme of the present application.

[0047] As Figure 1 shown, the page building device can include a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 can include a display screen, an input unit such as a keyboard, and can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a wireless fidelity (Wi-Fi) interface). The memory 1005 can be a high-speed random access memory (RAM), and can also be a stable non-volatile memory (NVM), such as a disk memory. The memory 1005 can also be a storage device independent of the aforementioned processor 1001.

[0048] Those skilled in the art can understand that Figure 1 the structure shown in the figure does not constitute a limitation on the page building device, and can include more or fewer components than the figure, or combine certain components, or different component arrangements.

[0049] As Figure 1 shown, the memory 1005 as a storage medium can include an operating system, a network communication module, a user interface module, and a page building program.

[0050] In Figure 1The network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the page building device of the present application can be arranged in the page building device, the page building device calls the page building program stored in the memory 1005 through the processor 1001, and executes the page building method provided in the embodiment of the present application.

[0051] The embodiment of the present application provides a page building method, referring to Figure 2 , Figure 2 The flowchart of the first embodiment of the page building method of the present application is shown.

[0052] In the embodiment, the page building method comprises the following steps:

[0053] Step S10: determining material package grouping according to a business scenario corresponding to the page to be built.

[0054] It should be noted that the execution subject of the method of the embodiment can be a page building device for building a page for a platform such as a website or an application program, or other page building systems capable of achieving the same or similar functions and containing the page building device. Here, the page building system (hereinafter referred to as system) is used to specifically describe the page building method provided in the embodiment and the following embodiments.

[0055] It should be understood that the page to be built can be any page that needs to be built and customized.

[0056] It can be understood that the above-mentioned business scenario is the business scenario of the current page building, for example: knowledge base business scenario, cloud disk business scenario, etc., which is not limited in the embodiment.

[0057] It should be noted that the above-mentioned material package grouping can be a grouping composed of material packages corresponding to different business scenarios, wherein the material package can be a resource package composed of multiple materials.

[0058] It should be noted that in the traditional development mode, the management of components is a pain point of development, and in the page building technology, the corresponding pain point is the management of materials. Among them, the material is the smallest component unit of the page building system, and after a series of assembly, storage, rendering and other links of a variety of materials, the user can access the low-code page. In practical application, at the initial stage of the page building project, the material can be directly managed with the project main project, but as the project scale expands, there are many repeated functions in the project. At this time, in order to solve the problem of function reuse, the material package grouping corresponding to each business scenario in the embodiment can include multiple material packages, and the material package grouping corresponding to different business scenarios can include the same material package, thereby realizing the reuse of the same business scenario resource package configuration, and also solving the differential customization of the resource package under different pages.

[0059] In practical application, the system can group the material packages according to different business scenarios to obtain the material package grouping corresponding to different business scenarios, so that in subsequent page building, the corresponding material package grouping can be obtained according to the business scenario corresponding to the page to be built.

[0060] Step S20: Obtain the target material package configuration file corresponding to the material package grouping.

[0061] It should be noted that the above target material package configuration file can be a file storing the configuration information of each material package in the material package grouping, wherein the configuration information of the material package can include: material package name, material package version, source code address, configuration file address, sorting, etc., which is not limited by the embodiment.

[0062] Step S30: Pull the target material according to the target material package path in the target material package configuration file.

[0063] It should be understood that the target material package path can be the path for obtaining each material package in the material package grouping. Correspondingly, the above target material can be a component in each material package in the material package grouping.

[0064] It can be understood that the material package in the embodiment can adopt a single package and multiple components structure, that is, one material package can include multiple materials (or components), so that the common dependency between components can be better abstracted and reused, thereby facilitating the solution of the material reuse problem in the page building process.

[0065] In specific implementation, the system can establish the configuration file corresponding to each material package according to the material package name, material package version, source code address and other configuration information corresponding to the material package, and after grouping the material package, generate the material package configuration file corresponding to the material package grouping according to the configuration file of each material package, so that the system can directly pull the material of each material package according to the path of each material package stored in the target material package configuration file.

[0066] Step S40: page building based on the target material.

[0067] It should be noted that after the system downloads the material package through the target material package path, the components in the material package and the configuration of the components can be pulled into the canvas of the page to be built, and then the user can build the page to be built by dragging the components and customizing the configuration.

[0068] In a specific implementation, when building a page, the system can first create a page to be built, select a material package group according to the business scenario corresponding to the page to be built, and obtain a target material package configuration file storing configuration information of each material package in the material package group, wherein the configuration information of the material package includes a material package path corresponding to each material package. At this time, the system can pull the components in each material package and the configuration of the components into the canvas of the page to be built through the material package path corresponding to each material package, so that the user can build a page by dragging the components and customizing the configuration of the components.

[0069] The embodiment discloses determining a material package group according to a business scenario corresponding to a page to be built, obtaining a target material package configuration file corresponding to the material package group, pulling a target material according to a target material package path in the target material package configuration file, and building a page based on the target material. Since the embodiment determines a material package group according to a business scenario corresponding to a page to be built, and pulls a target material according to a target material package path in a target material package configuration file corresponding to the material package group to build a page, the technical problem that the logic flow of page building becomes more and more complex due to the increasing types of materials in the prior art, and the efficiency of page building is not high, is solved.

[0070] Reference Figure 3 , Figure 3 The flowchart of the second embodiment of the page building method of the present application is shown.

[0071] Based on the above first embodiment, in order to solve the material reuse in the page building process and improve the page building efficiency, in the embodiment, before step S10, the method further includes:

[0072] Step S01: material splitting of page building materials according to business scenario requirements, obtaining a plurality of material packages.

[0073] It should be noted that the business scenario requirements described above can be component requirements corresponding to different business scenarios. Specifically, the components required by different business scenarios are not the same, and the components required in each business scenario can generally include: general components and business components unique to each business scenario, specifically, such as: a general UI (User Interface) component common-material, a knowledge base business scenario unique business component kbase-material, a portal unique business component fang-material, and the like, which are not limited by the present embodiment.

[0074] It should be understood that the page building materials described above can be all materials required to build a page.

[0075] In actual application, before building a page, the system can first perform page effect analysis to collect business scenario requirements corresponding to different business scenarios in the page, and perform material splitting on the page building materials according to the business scenario requirements, at this time, components can be extracted into material packs, and a plurality of independent material packs are obtained, wherein a page can configure multiple material packs as needed. In addition, the present embodiment can also perform material splitting on the page building materials according to the size of the business scenario, so as to facilitate subsequent reuse of the resource pack.

[0076] Step S02: Grouping each material pack to obtain a plurality of material pack groups.

[0077] It can be understood that the present embodiment can group each material pack according to the business scenario, and obtain a plurality of material pack groups when the grouping is completed.

[0078] In a specific implementation, for the knowledge base business scenario and the cloud disk business scenario, there are material pack A, material pack B and material pack C, if it is found according to the business scenario requirements that material pack B is a material pack common to the knowledge base business scenario and the cloud disk business scenario, material pack A is a material pack corresponding to the knowledge base business scenario, and material pack C is a material pack corresponding to the cloud disk business scenario, then at this time, a material pack group corresponding to the knowledge base business scenario can be established based on material pack A and material pack B, and a material pack group corresponding to the cloud disk business scenario can be established based on material pack B and material pack C.

[0079] Further, in order to facilitate user customization of component configuration, the step S02 includes:

[0080] Step S02a: generating a basic configuration file corresponding to each material pack according to component basic information corresponding to each component in each material pack, the basic configuration file including: a script resource file, a style resource file and an attribute configuration file.

[0081] It should be noted that the above component basic information can be basic configuration information of the component, for example: fields, width, height, display form, version information, etc. configured in the component, which is not limited in the embodiment.

[0082] It should be noted that the above basic configuration file can be a file for storing basic configuration information of the component. In the embodiment, the basic configuration file can include: a script resource file, a style resource file, and an attribute configuration file.

[0083] The script resource file is a JS (JavaScript) file, which is a text file of JavaScript code and is used to realize the interaction and dynamic effect of the webpage. The style resource file is a CSS (Cascading Style Sheets) file, which is a text file containing many codes defining styles. The attribute configuration file can be a JSON (JavaScript Object Natation) configuration file, which can be a file for defining the attributes of the component. Subsequently, when the component is dragged into the page building designer for page building, customization can be realized by changing the attributes of the component.

[0084] Step S02b: grouping the material packages based on the basic configuration file and the material management platform to obtain a plurality of material package groups.

[0085] Further, in order to standardize the management of the basic configuration file and realize the grouping of the material package, the step S02b includes: uploading the basic configuration file to a content distribution network; when the uploading is completed, grouping the material packages based on a preset business scenario through the material management platform to obtain a plurality of material package groups.

[0086] It should be noted that the above content distribution network is a CDN (Content Delivery Network), which is a distributed network composed of edge node servers distributed in different regions. In actual application, since the CDN can avoid as much as possible the bottlenecks and links that may affect the data transmission speed and stability on the Internet, the basic configuration file can be transmitted faster and more stably.

[0087] It can be understood that the material management platform can be a platform for managing the material package and the configuration (file) corresponding to the material package.

[0088] It should be understood that the above preset business scenario can be a scenario that may exist when building a page, such as a knowledge base business scenario, a cloud disk business scenario, etc.

[0089] In a specific implementation, after the system performs material splitting on the business building materials and builds a plurality of material packages, the system can generate JS files, CSS files and JSON configuration files corresponding to each material package, and then upload these basic configuration files to a CDN for management of the basic configuration files corresponding to the material packages by a page building platform. At this time, the system can group the material packages according to different business scenarios through the material management platform to obtain a plurality of material package groups.

[0090] Further, in order to smoothly switch the traditional business development to the page building development mode, before the step S02a, the method further includes: parsing a historical business component to obtain historical component basic information corresponding to the historical business component; generating a target basic configuration file corresponding to the historical business component according to the historical component basic information; and integrating the target basic configuration file into a material package.

[0091] It should be noted that the historical business component described above can be a business component existing in the traditional business development mode. Correspondingly, the historical component basic information described above can be basic configuration information corresponding to the historical business component.

[0092] It should be understood that the target basic configuration file described above is a configuration file corresponding to the historical business component.

[0093] In actual application, existing business components usually do not have configuration files, but have attribute declarations when writing components. Therefore, if the existing business components are used for page building, the existing business components can be first parsed to obtain attribute information corresponding to the existing business components, and a basic configuration file corresponding to the existing business components can be generated based on the attribute information, and then integrated into a low-code material package to realize relatively smooth transition of the existing business components.

[0094] Further, in order to improve the page building efficiency, after the step of grouping the material packages based on the preset business scenarios through the material management platform to obtain a plurality of material package groups, the method further includes:

[0095] obtaining material package configuration information corresponding to all material packages in each material package group, the material package configuration information including a material package path and a to-be-enabled component; and generating a material package configuration file corresponding to all the material packages based on the material package configuration information.

[0096] It should be understood that the material package configuration information described above can be information for configuring the material package by the system, and in the embodiment, the material package configuration information can include a material package path and a to-be-enabled component.

[0097] It can be understood that the package path can be a CDN address corresponding to the package. In actual application, the system can pre-configure the CDN address corresponding to each package, so that the resource (such as the script resource file, the style resource file and the attribute configuration file of the package itself) of the package can be pulled according to the CDN address corresponding to the package subsequently.

[0098] It should be noted that the component to be enabled can be a component enabled in the package. In actual application, there can be multiple components in a package, but not necessarily each component needs to be enabled. In the embodiment, the system can configure the package to enable certain components, and the number of components enabled in the package is not limited.

[0099] In specific implementation, the system can pre-configure the CDN path corresponding to each package in the package group and the enabled components, obtain the configuration information corresponding to each package, and generate the package configuration file corresponding to all packages based on the configuration information of each package, so that the configuration information of the package can be directly obtained according to the package configuration file when the page is built subsequently, and the components are pulled based on the configuration information to build the page, thereby improving the efficiency of page building.

[0100] Further, the step S02a further includes determining the source code address corresponding to each package; and the step of generating the package configuration file corresponding to all packages based on the package configuration information includes generating the package configuration file corresponding to all packages based on the package configuration information and the source code address.

[0101] It should be noted that after the package is built, the corresponding source code address can be generated by compiling, and at this time, the system can generate the package configuration file corresponding to the package according to the configuration information and the source code address corresponding to the package, and the system can directly obtain the source code address according to the package configuration file when the page is built subsequently, so as to pull the components in the package, thereby further improving the efficiency of building the components.

[0102] Further, the step S30 includes:

[0103] determining the target package path corresponding to each package in the package group and the component to be enabled according to the target package configuration file; and pulling the target material based on the target package path and the component to be enabled.

[0104] It should be understood that the target package path can be a CDN address corresponding to each package in the package group. Correspondingly, the component to be enabled is a component enabled in each package in the package group.

[0105] In actual application, the system establishes the material package configuration file corresponding to each material package based on the material package path corresponding to all material packages in each material package group and the to-be-enabled component in advance, so that when the service is built, the system can determine the target material package path corresponding to the material package for which the page is built and the to-be-enabled component according to the target material package configuration file corresponding to the current service scenario, and pull the enabled component and the component configuration in the material package based on the target material package path to build the page.

[0106] The embodiment splits the page building material according to the service scenario requirement, obtains a plurality of material packages, groups each material package, and obtains a plurality of material package groups, thereby solving the problem of material reuse in the page building process and improving the page building efficiency. Meanwhile, the embodiment generates the target basic configuration file corresponding to the historical service component based on the historical component basic information corresponding to the historical service component, and integrates the target basic configuration file into the material package, so that the traditional service development can be smoothly switched to the development mode of page building.

[0107] Reference Figure 4 , Figure 4 FIG. 3 is a flowchart of a third embodiment of the page building method of the present application.

[0108] Based on the above embodiments, in order to customize the development of the page and improve the flexibility of page building, in the embodiment, the step S40 comprises:

[0109] Step S401: Obtain the region division information corresponding to the to-be-built page.

[0110] It should be noted that the above region division information can be the information of different functional regions divided in the to-be-built page. The embodiment can determine the corresponding functional region in the to-be-built page according to the region division information, wherein the corresponding functional region in the to-be-built page can include a region for pulling a material package, a canvas region, an attribute panel region, etc., which is not limited in the embodiment.

[0111] Step S402: Determine the material region in the to-be-built page according to the region division information.

[0112] It should be understood that the above material region can be a region for pulling and placing material. Specifically, the embodiment can determine the left region of the to-be-built page as the material region.

[0113] Step S403: Pull the target material to the material region for page building.

[0114] It can be understood that after the target material is pulled to the material region in the to-be-built page, the user can build the page by dragging the component and customizing the configuration.

[0115] Specifically, before the step S403, the method further includes: determining a canvas region in the page to be built according to the region division information.

[0116] Correspondingly, the step S403 includes: pulling the target material to the material region; when a page building request is received, obtaining target business data according to a business data source; and pulling the target business data and the target material in the material region to the canvas region for page building.

[0117] It should be noted that the canvas region can be a region for drawing a self-defined component style. In the embodiment, the system can drag the component in the material region to the canvas region for arrangement and combination, thereby realizing customized development of the page.

[0118] It should be noted that the page building request can be a request indicating that the system starts to build the page.

[0119] It can be understood that the business data source is a source of the target business data. In actual application, the page building platform can be pre-bound with the data source corresponding to the business data, so that the corresponding business data can be directly pulled according to the bound data source when building the page.

[0120] It should be understood that the target business data can be business data required for building the page to be built, such as video, file and other data in the cloud disk when building the page of the cloud disk business, which is not limited in the embodiment.

[0121] In a specific implementation, the system can determine the material region, the canvas region and the attribute panel region in the page to be built through region division information corresponding to the page to be built. Specifically, the embodiment can determine the left region of the page to be built as the material region, the middle region as the canvas region, and the right region as the attribute panel region. When building the page, the system can first create a page to be built, and pull the component to the material region on the left of the page to be built according to the material package path in the material package configuration file. When a page building request is received, the system pulls the component and the business data to the canvas region in the middle for arrangement and combination. At this time, the user can drag the component and perform self-defined configuration. Specifically, the user can click the component in the attribute panel region on the right of the page to be built to configure the attribute of the component, thereby realizing customized development of the page to be built and improving the flexibility of page building.

[0122] Further, in order to facilitate the user to access the built page and improve the user experience, after the step of pulling the target business data and the target material in the material area to the canvas area for page building, the method further comprises: obtaining and saving the built page when a page publishing request is received; and generating a page access link based on the built page.

[0123] It should be noted that the page publishing request can be a publishing request triggered by the user after completing the custom configuration of the page by clicking the publish button. Correspondingly, the page access link can be a link generated based on the page publishing request for accessing the built page. In actual application, after completing the building of the to-be-built page, the user can trigger the page publishing request by clicking the publish button. After detecting the page publishing request, the system can save and publish the built page. Meanwhile, the system can also generate a corresponding page access link based on the built page. Subsequently, the user can access and view the built page by clicking the page access link.

[0124] In a specific implementation, the method can further comprise the following steps. Figure 5 Figure 5 The total flowchart of the page building method of the present application is shown in FIG. 1. Figure 5 ​As shown, before page building, the system can first perform page effect analysis to collect business scenario demands corresponding to different business scenarios in the page, and perform material splitting on page building materials according to the business scenario demands to construct a material package. Specifically, the system can construct a material package A based on the extracted components a1, a2 and the public module, and construct a material package B based on the extracted components b1, b2 and the public module. At the same time, if existing page components are needed to build the page, the existing business components can be parsed and converted to obtain corresponding configuration files and integrate them into the page material package. Then, the system can generate component source code and the corresponding JSON configuration file of the material package by compiling, and upload them to the CDN. Thereafter, the system can establish material package grouping according to business scenarios through the material management platform. For the knowledge base portal, the material package grouping thereof can include the unique material package A and the universal material package B; for the cloud disk portal, the material package grouping thereof can include the unique material package C and the universal material package B. At the same time, the system can obtain material package configuration information (such as material package name, material package version, source code address, configuration file address, etc.) corresponding to all material packages in the material package grouping, and generate a material package configuration file based on the material package configuration information. Subsequently, when building the page, the system can first create a page to be built, determine the material package grouping according to the business scenario corresponding to the page to be built, obtain the target material package configuration file corresponding to the material package grouping, then pull the material source code and configuration through the configuration information (such as material package path) of the material package in the target material package configuration file, and build and render the page through the material source code and configuration.

[0125] The embodiment of the present application determines the material area in the page to be built according to the area division information corresponding to the page to be built, and pulls the target material to the material area to build the page, so as to realize customized development of the page and improve the flexibility of page building. At the same time, the embodiment of the present application obtains and saves the built page when receiving the page publishing request, and generates a page access link based on the built page, so as to facilitate the user to access the built page and improve the user experience.

[0126] In addition, the embodiment of the present application also provides a storage medium, wherein the storage medium stores a page building program, and the page building program is executed by a processor to realize the steps of the page building method as described above.

[0127] Reference Figure 6 , Figure 6 The structure block diagram of the first embodiment of the page building device of the present application is shown in the figure.

[0128] As Figure 6 shown, the page building device provided by the embodiment of the present application comprises:

[0129] The grouping determination module 601 is configured to determine material package grouping according to a service scenario corresponding to a page to be built.

[0130] The file acquisition module 602 is configured to acquire a target material package configuration file corresponding to the material package grouping.

[0131] The material pulling module 603 is configured to pull a target material according to a target material package path in the target material package configuration file.

[0132] The page building module 604 is configured to build a page based on the target material.

[0133] The page building device of the embodiment discloses the following technical solutions: determining material package grouping according to a service scenario corresponding to a page to be built; acquiring a target material package configuration file corresponding to the material package grouping; pulling a target material according to a target material package path in the target material package configuration file; and building a page based on the target material. Since the material package grouping is determined according to the service scenario corresponding to the page to be built, and the target material is pulled according to the target material package path in the target material package configuration file corresponding to the material package grouping to build the page, the technical problem that the logic flow of page building is more and more complex due to more and more types of materials in the prior art, and the efficiency of page building is not high, is solved.

[0134] Based on the first embodiment of the page building device, the second embodiment of the page building device is provided.

[0135] In the embodiment, the grouping determination module 601 is further configured to perform material splitting on page building materials according to service scenario requirements, to obtain a plurality of material packages; and group the material packages to obtain a plurality of material package groupings.

[0136] The grouping determination module 601 is further configured to generate a basic configuration file corresponding to each material package according to component basic information corresponding to each component in the material package, wherein the basic configuration file includes a script resource file, a style resource file and an attribute configuration file; and group the material packages based on the basic configuration file and a material management platform, to obtain a plurality of material package groupings.

[0137] The grouping determination module 601 is further configured to analyze historical service components to obtain historical component basic information corresponding to the historical service components; generate a target basic configuration file corresponding to the historical service components according to the historical component basic information; and integrate the target basic configuration file into a material package.

[0138] The grouping determination module 601 is further configured to upload the basic configuration file to a content distribution network; and when the uploading is completed, group the material packages based on a preset business scenario through a material management platform to obtain a plurality of material package groups.

[0139] The grouping determination module 601 is further configured to obtain material package configuration information corresponding to all the material packages in each material package group, wherein the material package configuration information includes a material package path and a component to be enabled; and generate a material package configuration file corresponding to all the material packages based on the material package configuration information.

[0140] The embodiment splits the page building materials according to the business scenario requirements, obtains a plurality of material packages, groups the material packages, and obtains a plurality of material package groups, thereby solving the problem of material reuse in the page building process and improving the page building efficiency. Meanwhile, the embodiment generates a target basic configuration file corresponding to a historical business component based on historical component basic information corresponding to the historical business component, and integrates the target basic configuration file into a material package, thereby enabling the traditional business development to smoothly switch to the development mode of the page building.

[0141] Based on the above-mentioned device embodiments, a third embodiment of the page building device of the present application is provided.

[0142] In the embodiment, the page building module 604 is further configured to obtain region division information corresponding to the page to be built; determine a material region in the page to be built according to the region division information; and pull the target material to the material region for page building.

[0143] The embodiment determines a material region in the page to be built according to region division information corresponding to the page to be built, and pulls the target material to the material region for page building, thereby enabling the customized development of the page and improving the flexibility of the page building. Meanwhile, the embodiment obtains and saves the built page when receiving a page publishing request, and generates a page access link based on the built page, thereby enabling the user to access the built page and improving the user experience.

[0144] It should be noted that in this document, the terms "comprising", "including", or any other variant thereof are intended to cover non-exclusive inclusion, so that processes, methods, articles, or systems that include a series of elements not only include those elements, but also include other elements not explicitly listed, or inherent to such processes, methods, articles, or systems. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article, or system that includes the element.

[0145] The above embodiment numbers of the application are only for description, and do not represent the advantages and disadvantages of the embodiments.

[0146] Through the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment method can be realized by means of software and the necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the application can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, an optical disk), and includes a plurality of instructions for causing a terminal device (which can be a mobile phone, a computer, a server, or a network device) to execute the method described in each embodiment of the application.

[0147] The above is only a preferred embodiment of the application, and does not limit the patent scope of the application, and any equivalent structure or equivalent process transformation based on the content of the specification and drawings, or direct or indirect application in other related technical fields, are also included in the patent protection scope of the application.

[0148] The application discloses A1, a page building method, the page building method comprises:

[0149] According to the business scenario corresponding to the page to be built, the material package grouping is determined;

[0150] The target material package configuration file corresponding to the material package grouping is obtained;

[0151] According to the target material package path in the target material package configuration file, the target material is pulled;

[0152] The page is built based on the target material.

[0153] A2, the page building method of A1, before the step of determining the material package grouping according to the business scenario corresponding to the page to be built, further comprises:

[0154] According to the business scenario requirement, the page building material is material split, and a plurality of material packages are obtained;

[0155] The material packages are grouped, and a plurality of material package groupings are obtained.

[0156] A3, the page building method of A2, the step of grouping the material packages to obtain a plurality of material package groupings, comprising:

[0157] According to the component basic information corresponding to each component in each material package, the basic configuration file corresponding to each material package is generated, and the basic configuration file comprises: a script resource file, a style resource file and an attribute configuration file;

[0158] grouping the material packages based on the basic configuration files and a material management platform to obtain a plurality of material package groups.

[0159] A4, the page building method of A3, before the step of generating the basic configuration file corresponding to each material package according to the component basic information corresponding to each component in each material package, further comprising:

[0160] analyzing the historical business components to obtain historical component basic information corresponding to the historical business components;

[0161] generating a target basic configuration file corresponding to the historical business components according to the historical component basic information;

[0162] integrating the target basic configuration file into the material package.

[0163] A5, the page building method of A3, the step of grouping the material packages based on the basic configuration files and a material management platform to obtain a plurality of material package groups, comprising:

[0164] uploading the basic configuration file to the content distribution network;

[0165] When the uploading is completed, grouping the material packages based on a preset business scenario through the material management platform to obtain a plurality of material package groups.

[0166] A6, the page building method of A5, after the step of grouping the material packages based on a preset business scenario through the material management platform to obtain a plurality of material package groups when the uploading is completed, further comprising:

[0167] obtaining material package configuration information corresponding to all material packages in each material package group, the material package configuration information comprising: material package path and to-be-enabled component;

[0168] generating a material package configuration file corresponding to all material packages based on the material package configuration information.

[0169] A7, the page building method of A1, the step of building a page based on the target material, comprising:

[0170] obtaining region division information corresponding to the page to be built;

[0171] determining the material region in the page to be built according to the region division information;

[0172] pulling the target material to the material region for page building.

[0173] A8. The page building method of A7, before the step of pulling the target material to the material area for page building, further comprising:

[0174] determining a canvas area in the page to be built according to the area division information;

[0175] The step of pulling the target material to the material area for page building, further comprising:

[0176] pulling the target material to the material area;

[0177] Upon receiving a page building request, obtaining target business data from a business data source;

[0178] pulling the target business data and the target material in the material area to the canvas area for page building.

[0179] A9. The page building method of A8, after the step of pulling the target business data and the target material in the material area to the canvas area for page building, further comprising:

[0180] Upon receiving a page publishing request, obtaining and saving a built page;

[0181] generating a page access link based on the built page.

[0182] A10. The page building method of A6, after the step of generating the basic configuration file corresponding to each material package according to the component basic information corresponding to each component in each material package, further comprising:

[0183] determining a source code address corresponding to each material package;

[0184] The step of generating the material package configuration file corresponding to all material packages based on the material package configuration information, comprising:

[0185] generating the material package configuration file corresponding to all material packages based on the material package configuration information and the source code address.

[0186] A11. The page building method of A6, the step of pulling a target material according to a target material package path in the target material package configuration file, comprising:

[0187] determining a target material package path and a component to be enabled corresponding to each material package in the material package group according to the target material package configuration file;

[0188] pulling a target material based on the target material package path and the component to be enabled.

[0189] The application further discloses a page building device, which comprises the following.

[0190] A grouping determination module is configured to determine material package grouping according to a service scenario corresponding to a page to be built.

[0191] A file acquisition module is configured to acquire a target material package configuration file corresponding to the material package grouping.

[0192] A material pulling module is configured to pull a target material according to a target material package path in the target material package configuration file.

[0193] A page building module is configured to build a page based on the target material.

[0194] B13. The page building device of B12, wherein the grouping determination module is further configured to perform material splitting on page building materials according to service scenario requirements, to obtain a plurality of material packages; and to group the material packages to obtain a plurality of material package groupings.

[0195] B14. The page building device of B13, wherein the grouping determination module is further configured to generate a basic configuration file corresponding to each material package according to component basic information corresponding to each component in the material package, and the basic configuration file comprises a script resource file, a style resource file and an attribute configuration file; and to group the material packages based on the basic configuration file and a material management platform, to obtain a plurality of material package groupings.

[0196] B15. The page building device of B14, wherein the grouping determination module is further configured to analyze historical service components to obtain historical component basic information corresponding to the historical service components; to generate a target basic configuration file corresponding to the historical service components according to the historical component basic information; and to integrate the target basic configuration file into a material package.

[0197] B16. The page building device of B14, wherein the grouping determination module is further configured to upload the basic configuration file to a content distribution network; and to group the material packages based on a preset service scenario through a material management platform when the uploading is completed, to obtain a plurality of material package groupings.

[0198] B17. The page building device of B16, wherein the grouping determination module is further configured to acquire material package configuration information corresponding to all material packages in each material package grouping, and the material package configuration information comprises a material package path and a component to be enabled; and to generate a material package configuration file corresponding to the all material packages based on the material package configuration information.

[0199] B18. The page building apparatus of B17, wherein the material pulling module is further configured to determine a target material package path and an activation component to be activated for each material package in the material package group according to the target material package configuration file; and pull a target material based on the target material package path and the activation component to be activated.

[0200] The application further discloses C19, a page building device, which comprises a memory, a processor and a page building program stored in the memory and executable on the processor, and the page building program is configured to implement the steps of the page building method.

[0201] The application further discloses D20, a storage medium, which stores a page building program, and the page building program implements the steps of the page building method when executed by a processor.

Claims

1. A method for building a webpage, characterized in that, The page construction method includes: Determine the material package groupings based on the business scenario corresponding to the page to be built; Obtain the target material package configuration file corresponding to the material package group; Retrieve the target material according to the target material package path in the target material package configuration file; The page is built based on the target material.

2. The page building method as described in claim 1, characterized in that, Before the step of determining the material package grouping based on the business scenario corresponding to the page to be built, the method also includes: Based on business scenario requirements, the page building materials are split into several material packages; The material packages are grouped to obtain several material package groups.

3. The page building method as described in claim 2, characterized in that, The step of grouping each material package to obtain several material package groups includes: Based on the basic component information of each component in each material package, a basic configuration file corresponding to each material package is generated. The basic configuration file includes: a script resource file, a style resource file, and an attribute configuration file. Based on the basic configuration file and the material management platform, the material packages are grouped to obtain several material package groups.

4. The page building method as described in claim 3, characterized in that, Before the step of generating the basic configuration file corresponding to each material package based on the basic component information corresponding to each component in each material package, the method further includes: The historical business components are parsed to obtain the basic information of the historical components corresponding to the historical business components; Generate the target basic configuration file corresponding to the historical business component based on the historical component basic information; Integrate the target basic configuration file into the material package.

5. The page building method as described in claim 3, characterized in that, The step of grouping the material packages based on the basic configuration file and the material management platform to obtain several material package groups includes: Upload the basic configuration file to the content delivery network; Upon completion of the upload, the material management platform groups the material packages based on preset business scenarios to obtain several material package groups.

6. The page building method as described in claim 5, characterized in that, After the step of grouping the material packages according to a preset business scenario through the material management platform upon completion of the upload, the method further includes: Obtain the material package configuration information corresponding to all material packages in each material package group. The material package configuration information includes: material package path and components to be enabled. Based on the material package configuration information, generate material package configuration files corresponding to all material packages.

7. The page building method as described in claim 1, characterized in that, The step of building a page based on the target material includes: Obtain the region division information corresponding to the page to be built; The material area in the page to be built is determined based on the area division information; The target material is dragged to the material area for page construction.

8. A page building device, characterized in that, The device includes: The grouping determination module is used to determine the material package grouping based on the business scenario corresponding to the page to be built; The file acquisition module is used to acquire the target material package configuration file corresponding to the material package group; The material retrieval module is used to retrieve the target material according to the target material package path in the target material package configuration file. The page building module is used to build pages based on the target material.

9. A page building device, characterized in that, The device includes: a memory, a processor, and a page building program stored in the memory and executable on the processor, the page building program being configured to implement the steps of the page building method as described in any one of claims 1 to 7.

10. A storage medium, characterized in that, The storage medium stores a page building program, which, when executed by a processor, implements the steps of the page building method as described in any one of claims 1 to 7.