Website page generation method and system, electronic device and readable storage medium

By establishing page modules and determining location information, selecting display methods, generating page data, and arranging it, the problem of low efficiency in coding modifications when website page modules change is solved, achieving efficient webpage generation and management.

CN115168778BActive Publication Date: 2026-02-03广域铭岛数字科技有限公司 +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210934285.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-04
Publication Date
2026-02-03
Estimated Expiration
2042-08-04

AI Technical Summary

Technical Problem

In existing technologies, changes to website page modules require extensive coding modifications, resulting in low webpage generation efficiency and an inability to meet timeliness requirements.

Method used

By creating page modules and determining their location information, selecting page display methods, generating page data, and arranging the data according to the module location information, page modifications at the module and component levels can be achieved, reducing coding work.

Benefits of technology

It improves the efficiency and timeliness of webpage generation, supports flexible configuration and expansion, and enables page modification at the module and component levels, making it easier to create and manage website pages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115168778B_ABST
    Figure CN115168778B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of webpage generation, and discloses a website page generation method, a website page generation system, an electronic device and a readable storage medium. The method comprises the following steps: establishing page modules, determining module position information of the page modules on a website page, selecting at least one page display mode corresponding to each page module and generating page data corresponding to each page display mode, and then, in response to generating a page version, displaying target display data corresponding to the page version according to the corresponding page display mode to obtain a page display component, and arranging the page display component according to the module position information to obtain the website page. Compared with the writing of the coding level, the website page is divided into modules and page display components, the website page is established according to the page version, the granularity of page generation is improved, the webpage generation efficiency is improved, and the timeliness of the webpage is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of web page generation technology, and in particular to a method, system, electronic device, and readable storage medium for generating website pages. Background Technology

[0002] Currently, with the application and development of Internet technology, websites are an important channel for enterprises to promote themselves, attract traffic, release products, conduct transactions and promote business. They are also regarded as an important soft power to enhance competitiveness. They are often customized by enterprises according to their own needs and updated and iterated as their business changes.

[0003] However, in order to adapt to the ever-changing user needs, the website needs to be modified at the code level. When the modules and components of the page change, the previous data structure will not be able to be rendered, which requires front-end and maintenance personnel to make a lot of modifications and configurations, which consumes a lot of manpower and resources, reduces the efficiency of web page generation, and fails to meet the requirements of web page timeliness. Summary of the Invention

[0004] To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended as a general commentary, nor is it intended to identify key / important components or describe the scope of protection of these embodiments, but rather as a prelude to the detailed description that follows.

[0005] In view of the shortcomings of the prior art described above, the present invention discloses a website page generation method, system, electronic device and readable storage medium to improve the efficiency of web page generation.

[0006] This invention discloses a website page generation method, comprising: establishing at least one page module and determining the module position information of each page module mapped to a website page; selecting from preset data display methods according to the page module to obtain at least one page display method corresponding to each page module, and generating page data corresponding to each page display method; in response to generating a page version, determining at least a portion of the page data as target display data corresponding to the page version, and displaying the target display data according to the corresponding page display method to obtain page display components; and arranging the page display components corresponding to each page module according to the module position information to obtain the website page corresponding to the page version.

[0007] Optionally, after generating page data corresponding to each of the page display methods, the method further includes: storing at least one of the page module, the module location information, the page display method, and the page data as database data in a database; establishing a connection interface between the user terminal and the database, and displaying the database data on the user terminal through the connection interface, wherein the connection interface is equipped with a distributed lock; if a data processing instruction sent by the user terminal is received through the connection interface, performing data processing on the database data according to the data processing instruction to update the database data, wherein the data processing includes at least one of adding database data, deleting at least a portion of database data, and modifying at least a portion of database data.

[0008] Optionally, after generating page data corresponding to each of the page display methods, and before determining the target display data corresponding to the page version from the page data, the method further includes at least one of the following: generating page versions at preset intervals; generating page versions upon receiving a page update request sent by the user terminal; and generating page versions upon detecting an update to the database data.

[0009] Optionally, the page display components corresponding to each page module are arranged according to the module position information to obtain the website page corresponding to the page version, including: the module position information includes at least one of module order information and module coordinate information; if the module position information includes the module order information, then the page display components corresponding to each page module are sequentially filled into the blank positions of a preset webpage according to the module order information to obtain the website page corresponding to the page version; if the module position information includes the module coordinate information, then the page display components corresponding to each page module are filled into a preset webpage according to the module coordinate information to obtain the website page corresponding to the page version.

[0010] Optionally, generating page data corresponding to each of the page display methods includes: obtaining at least one business system and the data format corresponding to each business system; pulling data from the business system to obtain the business data corresponding to the business system; parsing the business data according to the data format to obtain the data to be displayed in the business data; establishing a corresponding data template according to the page display method; filling the data to be displayed into the data template to obtain the page data corresponding to the page display method.

[0011] Optionally, after generating page data corresponding to each of the page display methods, and before determining at least a portion of the page data as the target display data corresponding to the page version, the method further includes: obtaining module function information corresponding to any page module; annotating the page module based on the module function information and the module location information to obtain a module identifier corresponding to the page module, wherein the module identifier includes at least one of a function identifier corresponding to the module function information and a location identifier corresponding to the module location information; obtaining acquisition time information and acquisition source information corresponding to any page data; annotating the page data based on the acquisition time information and the acquisition source information to obtain a data identifier corresponding to the page data, wherein the data identifier includes at least one of a timeliness identifier corresponding to the acquisition time information and a source identifier corresponding to the acquisition source information.

[0012] Optionally, determining at least a portion of page data as target display data corresponding to the page version includes: using the page version to carry matching information, wherein the matching information includes at least one of functional requirement information, page size requirement information, display type requirement information, estimated display time information, and display object information; performing module matching on each of the module identifiers according to the page version, and determining the page module corresponding to the matched module identifier as the target module corresponding to the page version, wherein the module matching includes at least one of matching between the functional requirement information and the functional identifier, and matching between the page size requirement information and the location identifier; matching the page display method corresponding to the target module according to the display type requirement information in the page version to obtain the target display method corresponding to the page version; performing data matching on the data identifiers corresponding to each of the target display methods according to the page version, and determining the page data corresponding to the matched data identifier as the target display data corresponding to the page version, wherein the data matching includes at least one of matching between the estimated display time information and the timeliness identifier, and matching between the display object information and the acquisition source information.

[0013] This invention discloses a website page generation system, comprising: a creation module for creating at least one page module and determining the module position information of each page module mapped to a website page; a selection module for selecting from preset data display methods according to the page module to obtain at least one page display method corresponding to each page module, and generating page data corresponding to each page display method; a determination module for determining at least a portion of the page data as target display data corresponding to the page version in response to the generated page version, and displaying the target display data according to the corresponding page display method to obtain page display components; and a display module for arranging the page display components corresponding to each page module according to the module position information to obtain the website page corresponding to the page version.

[0014] The present invention discloses an electronic device, comprising: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory to cause the electronic device to perform the above-described method.

[0015] The present invention discloses a computer-readable storage medium having a computer program stored thereon: when the computer program is executed by a processor, it implements the above-described method.

[0016] The beneficial effects of this invention are:

[0017] By establishing page modules and determining their corresponding module positions on the website page, at least one page display method is selected for each module, and page data for each display method is generated. In response to the page version generation, the target display data for each page version is displayed according to the corresponding page display method to obtain page display components. These components are then arranged according to the module position information to create the website page. Compared to coding at the code level, this approach, by differentiating website pages through modules and page display components and extracting modules and components based on page versions, improves the granularity of page generation. It provides module-level and component-level page modification, facilitating website page creation and writing, improving webpage generation efficiency, and ensuring the timeliness of webpages.

[0018] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0019] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:

[0020] Figure 1 This is a flowchart illustrating a website page generation method in an embodiment of the present invention;

[0021] Figure 2 This is a schematic diagram of the structure of a website system for implementing a website page generation method in an embodiment of the present invention;

[0022] Figure 3 This is a flowchart illustrating another website page generation method in an embodiment of the present invention;

[0023] Figure 4 This is a schematic diagram of the structure of a product access system in an embodiment of the present invention;

[0024] Figure 5 This is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. Detailed Implementation

[0025] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, unless otherwise specified, the following embodiments and sub-samples in the embodiments can be combined with each other.

[0026] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. Therefore, the drawings only show the components related to the present invention and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.

[0027] In the following description, numerous details are explored to provide a more thorough explanation of embodiments of the invention. However, it will be apparent to those skilled in the art that embodiments of the invention may be practiced without these specific details. In other embodiments, well-known structures and devices are shown in block diagram form rather than in detail to avoid obscuring embodiments of the invention.

[0028] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this disclosure described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion.

[0029] Unless otherwise stated, the term "multiple" means two or more.

[0030] In this embodiment of the disclosure, the character " / " indicates that the objects before and after it are in an "or" relationship. For example, A / B means: A or B.

[0031] The term "and / or" describes an association between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or A and B.

[0032] Combination Figure 1 As shown, this disclosure provides a website page generation method, including:

[0033] Step S101: Create at least one page module and determine the module location information of each page module mapped to the website page;

[0034] Step S102: Select from preset data display methods according to the page module to obtain at least one page display method corresponding to each page module, and generate page data corresponding to each page display method;

[0035] Step S103: In response to generating a page version, at least a portion of the page data is determined as the target display data corresponding to the page version, and the target display data is displayed according to the corresponding page display method to obtain the page display component;

[0036] Step S104: Arrange the page display components corresponding to each page module according to the module location information to obtain the website page corresponding to the page version.

[0037] The website page generation method provided in this disclosure involves establishing page modules, determining the module location information of each page module mapped to the website page, selecting at least one page display method corresponding to each page module, generating page data corresponding to each page display method, and then, in response to generating a page version, displaying the target display data corresponding to the page version according to the corresponding page display method to obtain page display components. Finally, the page display components are arranged according to the module location information to obtain the website page. Compared to coding at the code level, this method distinguishes website pages by modules and page display components, extracts modules and page display components based on the page version to build the website page, thereby improving the granularity of page generation, providing module-level and component-level page modification, facilitating the creation and writing of website pages, improving webpage generation efficiency, and ensuring the timeliness of webpages.

[0038] Optionally, at least one page module is established, and the module location information of each page module mapped to the website page is determined respectively, including: pre-setting multiple original web pages, each original web page including at least one original module and the original location information corresponding to each original module; configuring corresponding web page styles for each original web page; responding to the style requirements selected by the user, determining the user-selected page from the original web pages based on the matching result of the web page style and the style requirements, and determining at least a portion of the original modules in the user-selected page as page modules.

[0039] In some embodiments, all pages of the same website will have a basic style, and the addition and modification of pages will follow a unified style. Page modules are divided according to the principles of page design, display area, functional area, direction and position layout. Page modules can be understood as the layout of the actual needs of the page, and are divided according to different functional areas of the page.

[0040] In some embodiments, if a website page includes an official website product aggregation page, then the corresponding page modules are determined to include banners, popular products, transition banners, solutions, recommended product slots, aggregated recommendations, bottom banners, etc., and the module configuration information corresponding to each page module is determined.

[0041] In this way, website pages are modularized and componentized, providing different pages according to the website style and scenario requirements of users.

[0042] Optionally, the number and type of page display methods corresponding to each page module are different. Among them, the preset data display methods include graphic and text methods, text methods, image methods, table methods, etc. Graphic and text methods include sliding graphic and text methods, static graphic and text methods, related product graphic and text methods, transition graphic and text methods, etc.

[0043] In some embodiments, each page module selects a page display method according to the principles of universality, integrity, flexibility, and practicality, so that the website pages and page modules can be displayed according to user needs. For example, if a page module consists of a background image, sub-item titles, sub-item sub-titles, sub-item tags, and related products, then the corresponding page display method includes an img image and multiple input text boxes.

[0044] Optionally, after obtaining at least one page display method corresponding to each page module, the method further includes: if there are multiple page display methods, generating page style data between each page display method.

[0045] In some embodiments, page style data is configured individually for elements in page modules and page display components using CSS (Cascading Style Sheets, a computer language used to represent document styles) to achieve the desired page layout.

[0046] Optionally, the method further includes: generating module information corresponding to each page module, wherein the module information includes one or more of the following: module name, module ID (Identity document, ID card recognition), module description, and the number of corresponding components; and generating component information corresponding to each page display method, wherein the component information includes one or more of the following: component name, component ID, component code, and configuration parameter information required by the component.

[0047] Optionally, after generating page data corresponding to each page display method, the method further includes: storing at least one of the page module, module location information, page display method, and page data as database data in the database; establishing a connection interface between the user terminal and the database, and displaying the database data on the user terminal through the connection interface, wherein the connection interface is equipped with a distributed lock; if a data processing instruction sent by the user terminal is received through the connection interface, performing data processing on the database data according to the data processing instruction to update the database data, wherein the data processing includes at least one of adding database data, deleting at least a portion of database data, and modifying at least a portion of database data.

[0048] In this way, website pages are modularized and componentized, and database data including page modules and page display methods is stored in the database, making it easy for users to modify the database data, and enabling the creation of website pages to support flexible configuration and expansion.

[0049] Optionally, after generating page data corresponding to each page display method, and before determining the target display data corresponding to the page version from the page data, the method further includes at least one of the following: generating page versions at preset intervals; generating page versions upon receiving a page update request sent by the user; and generating page versions upon detecting database data updates.

[0050] In some embodiments, the website pages corresponding to different page versions may be the same website page, website pages of different modules, or website pages of the same module and the same page display method but with different page data.

[0051] In this way, corresponding website pages are generated in response to page versions, enabling scheduled or real-time generation of website pages, facilitating the management of different website pages and improving the flexibility of page management.

[0052] Optionally, the page display components corresponding to each page module are arranged according to the module location information to obtain the website page corresponding to the page version. This includes: the module location information includes at least one of module order information and module coordinate information; if the module location information includes module order information, the page display components corresponding to each page module are sequentially filled into the blank spaces of the preset webpage according to the module order information to obtain the website page corresponding to the page version; if the module location information includes module coordinate information, the page display components corresponding to each page module are filled into the preset webpage according to the module coordinate information to obtain the website page corresponding to the page version.

[0053] In this way, compared to determining the coordinate information corresponding to each page module and then arranging the webpage based on the coordinate information and the page module arrangement based on the module order information, the steps of determining coordinate information are reduced, the efficiency of page arrangement is improved, and thus the efficiency of page generation is improved.

[0054] Optionally, generating page data corresponding to each page display method includes: obtaining at least one business system and the data format corresponding to each business system; pulling data from the business system to obtain the business data corresponding to the business system; parsing the business data according to the data format to obtain the data to be displayed in the business data; establishing a corresponding data template according to the page display method; filling the data to be displayed into the data template to obtain the page data corresponding to the page display method.

[0055] In this way, by pulling business data from different business systems and filling the parsed data to be displayed into a preset data template, the automatic collection of page data is achieved. This not only improves the efficiency of page data collection, but also provides different page display data according to different business systems, thereby improving the relevance of page data.

[0056] Optionally, after generating page data corresponding to each page display method, and before determining at least a portion of the page data as the target display data corresponding to the page version, the method further includes: obtaining module function information corresponding to any page module, annotating the page module based on the module function information and module location information to obtain the module identifier corresponding to the page module, wherein the module identifier includes at least one of the function identifier corresponding to the module function information and the location identifier corresponding to the module location information; obtaining acquisition time information and acquisition source information corresponding to any page data, annotating the page data based on the acquisition time information and acquisition source information to obtain the data identifier corresponding to the page data, wherein the data identifier includes at least one of the timeliness identifier corresponding to the acquisition time information and the source identifier corresponding to the acquisition source information.

[0057] Optionally, at least a portion of the page data is determined as the target display data corresponding to the page version, including: using the page version to carry matching information, wherein the matching information includes at least one of functional requirement information, page size requirement information, display type requirement information, expected display time information, and display object information; performing module matching on each module identifier according to the page version, and determining the page module corresponding to the matched module identifier as the target module corresponding to the page version, wherein the module matching includes at least one of matching between functional requirement information and functional identifier, and matching between page size requirement information and location identifier; matching the page display method corresponding to the target module according to the display type requirement information in the page version to obtain the target display method corresponding to the page version; performing data matching on the data identifiers corresponding to each target display method according to the page version, and determining the page data corresponding to the matched data identifiers as the target display data corresponding to the page version, wherein the data matching includes at least one of matching between expected display time information and timeliness identifier, and matching between display object information and acquisition source information.

[0058] In this way, by using page versions to carry matching information, the target display data can be matched from the page data based on the matching information, thereby achieving automated selection of page modules and page display components, and thus improving the efficiency of website page generation.

[0059] Combination Figure 2As shown in the figure, this disclosure provides a website system for implementing a website page generation method, including a client 201, a service gateway 202, website web pages 203, and service interfaces 204. The client is used for business development, operating the entire website system, and providing an official website, etc.; the service gateway is used for establishing a content system, identity verification, access authorization, load balancing, circuit breaking and rate limiting, and service degradation, etc.; the website web pages include modules for creating solutions, viewing solutions, binding solutions relationships, solution case studies, and a help center, etc.; the service interfaces include product system services, transaction system services, user system services, and payment center services, etc.

[0060] Combination Figure 3 As shown, this disclosure provides a website page generation method, including:

[0061] Step S301: The user terminal establishes at least one page module and determines the module location information of each page module mapped to the website page.

[0062] Step S302: The user terminal selects from the preset data display methods according to the page module to obtain at least one page display method corresponding to each page module, and generates page data corresponding to each page display method.

[0063] Step S303: The user sends preset website data to the server.

[0064] The preset website data includes one or more of the following: page modules, module location information, page display method, and page data.

[0065] Step S304: Register preset website data on the server side;

[0066] Step S305: The server generates database data based on preset website data;

[0067] Step S306: The server sends database data to the database.

[0068] In step S307, the database responds to the data processing instruction and performs data processing on the database data according to the data processing instruction;

[0069] Step S308: The user client generates the page version;

[0070] Step S309: The user sends the page version to the server.

[0071] Step S310: The server sends a data retrieval request corresponding to the page version to the database.

[0072] Step S311: The database sends the request data corresponding to the data retrieval request to the server.

[0073] The requested data includes the target display data, the page display method corresponding to the target display data, the page module corresponding to the target display data, and the module location information corresponding to the target display data;

[0074] In step S312, the server displays the target display data according to the corresponding page display method to obtain the page display component;

[0075] Step S313: The server arranges the page display components corresponding to each page module according to the module location information to obtain the website page corresponding to the page version.

[0076] Step S314: The server sends the website page corresponding to the page version to the user.

[0077] Step S315: The website page is displayed on the user's end.

[0078] The website page generation method provided in this disclosure involves establishing page modules, determining the module position information of each page module mapped to the website page, selecting at least one page display method corresponding to each page module and generating page data corresponding to each page display method, and then, in response to generating a page version, displaying the target display data corresponding to the page version according to the corresponding page display method to obtain page display components. Finally, arranging the page display components according to the module position information yields the website page. This method has the following advantages:

[0079] First, compared to coding-level writing, website pages are differentiated by modules and page display components. Based on the page version, modules and page display components are extracted to build website pages, thereby improving the granularity of page generation, providing module-level and component-level page modification, facilitating the creation and writing of website pages, improving webpage generation efficiency, and ensuring the timeliness of webpages.

[0080] Second, modularize and componentize website pages to provide different pages according to the website style and scenario requirements of users;

[0081] Third, modularize and componentize website pages, and store database data including page modules and page display methods through a database, so that users can modify the database data through the database, making the creation of website pages support flexible configuration and expansion;

[0082] Fourth, it generates corresponding website pages in response to page versions, enabling scheduled or real-time generation of website pages, facilitating the management of different website pages and improving the flexibility of page management;

[0083] Fifth, compared to determining the coordinate information of each page module and then arranging the webpage based on the coordinate information, arranging the page modules according to the module order information reduces the steps of determining coordinate information, improves the efficiency of page layout, and thus improves the efficiency of page generation.

[0084] Sixth, by pulling business data from different business systems and filling the parsed data to be displayed into a preset data template, the automatic collection of page data is realized. This not only improves the efficiency of page data collection, but also provides different page display data according to different business systems, thus improving the relevance of page data.

[0085] Seventh, by using page versions to carry matching information, the target display data can be matched from the page data based on the matching information, thereby achieving automated selection of page modules and page display components and improving the efficiency of website page generation.

[0086] Combination Figure 4 As shown, this embodiment of the disclosure provides a website page generation system, including a creation module 401, a selection module 402, a determination module 403, and a display module 404. The creation module 401 is used to create at least one page module and determine the module position information of each page module mapped to the website page. The selection module 402 is used to select from preset data display methods according to the page module, obtain at least one page display method corresponding to each page module, and generate page data corresponding to each page display method. The determination module 403 is used, in response to the generated page version, to determine at least a portion of the page data as the target display data corresponding to the page version, and to display the target display data according to the corresponding page display method, thereby obtaining page display components. The display module 404 is used to arrange the page display components corresponding to each page module according to the module position information, thereby obtaining the website page corresponding to the page version.

[0087] The website page generation system provided in this disclosure establishes page modules, determines the module location information of each page module mapped to the website page, selects at least one page display method corresponding to each page module, and generates page data corresponding to each page display method. Then, in response to generating a page version, the target display data corresponding to the page version is displayed according to the corresponding page display method to obtain page display components. Finally, the page display components are arranged according to the module location information to obtain the website page. In this way, compared to coding at the code level, distinguishing website pages through modules and page display components, and extracting modules and page display components based on the page version to build website pages, improves the granularity of page generation, provides module-level and component-level page modification, facilitates the creation and writing of website pages, improves webpage generation efficiency, and ensures the timeliness of webpages.

[0088] Figure 5 A schematic diagram of a computer system suitable for implementing the embodiments of this application is shown. It should be noted that... Figure 5 The computer system 500 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0089] like Figure 5 As shown, the computer system 500 includes a Central Processing Unit (CPU) 501, which can perform various appropriate actions and processes, such as executing the methods described in the above embodiments, based on programs stored in Read-Only Memory (ROM) 502 or programs loaded from storage portion 508 into Random Access Memory (RAM) 503. The RAM 503 also stores various programs and data required for system operation. The CPU 501, ROM 502, and RAM 503 are interconnected via a bus 504. An Input / Output (I / O) interface 505 is also connected to the bus 504.

[0090] The following components are connected to I / O interface 505: an input section 506 including a keyboard, mouse, etc.; an output section 507 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to I / O interface 505 as needed. Removable media 511, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 510 as needed so that computer programs read from them can be installed into storage section 508 as needed.

[0091] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 509, and / or installed from removable medium 511. When the computer program is executed by central processing unit (CPU) 501, it performs various functions defined in the system of this application.

[0092] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.

[0093] This disclosure also provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements any of the methods in this embodiment.

[0094] The computer-readable storage medium in the embodiments of this disclosure will be understood by those skilled in the art: all or part of the steps of the above method embodiments can be implemented by hardware related to computer programs. The aforementioned computer program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disk, or optical disk.

[0095] The electronic device disclosed in this embodiment includes a processor, a memory, a transceiver, and a communication interface. The memory and the communication interface are connected to the processor and the transceiver and complete communication between them. The memory is used to store computer programs, the communication interface is used to perform communication, and the processor and the transceiver are used to run the computer programs, so that the electronic device performs the various steps of the above method.

[0096] In this embodiment, the memory may include random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage device.

[0097] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), graphics processing units (GPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0098] The foregoing description and accompanying drawings fully illustrate embodiments of this disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, procedural, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the order of operation may vary. Parts and subsamples of some embodiments may be included in or replace parts and subsamples of other embodiments. Moreover, the terminology used in this application is for describing embodiments only and is not intended to limit the claims. As used in the description of embodiments and claims, the singular forms “a,” “an,” and “the” are intended to equally include the plural forms unless the context clearly indicates otherwise. Similarly, the term “and / or” as used herein means including one or more of the associated listed items and all possible combinations thereof. Additionally, when used in this application, the term "comprise" and its variations "comprises" and / or "comprising" refer to the presence of stated subsamples, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other subsamples, wholes, steps, operations, elements, components, and / or groups thereof. Without further limitations, an element defined by the phrase "comprising a..." does not exclude the presence of other identical elements in the process, method, or apparatus that includes the element. In this document, each embodiment may focus on the differences from other embodiments, and similar or identical parts between embodiments can be referred to mutually. For methods, products, etc., disclosed in the embodiments, if they correspond to the method section disclosed in the embodiments, the relevant parts can be referred to the description of the method section.

[0099] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this disclosure. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0100] The methods and products (including but not limited to devices and equipment) disclosed in the embodiments herein can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units may be merely a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some sub-samples may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms. Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to implement this embodiment according to actual needs. Furthermore, the functional units in the embodiments of this disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0101] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than that shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in a different order than disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. Each block in a block diagram and / or flowchart, and combinations of blocks in a block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

Claims

1. A method for generating website pages, characterized in that, include: Establish at least one page module, and determine the module location information of each page module mapped to the website page; Based on the selection of the page module from the preset data display methods, at least one page display method corresponding to each page module is obtained, and page data corresponding to each page display method is generated, wherein the page display methods corresponding to each page module are all different; In response to generating a page version, at least a portion of the page data is determined as the target display data corresponding to the page version, and the target display data is displayed according to the corresponding page display method to obtain a page display component; Based on the module location information, the page display components corresponding to each page module are arranged to obtain the website page corresponding to the page version.

2. The method according to claim 1, characterized in that, After generating the page data corresponding to each of the aforementioned page display methods, the method further includes: At least one of the page module, the module location information, the page display method, and the page data is used as database data and stored in the database. Establish a connection interface between the user terminal and the database, and display the database data on the user terminal through the connection interface, wherein the connection interface is equipped with a distributed lock; If a data processing instruction sent by the user terminal is received through the implementation connection interface, the database data is processed according to the data processing instruction to update the database data. The data processing includes at least one of adding database data, deleting at least a portion of database data, and modifying at least a portion of database data.

3. The method according to claim 2, characterized in that, After generating page data corresponding to each of the aforementioned page display methods, and before determining the target display data corresponding to the page version from the page data, the method further includes at least one of the following: Page versions are generated periodically according to preset intervals; Upon receiving a page update request from the user client, a page version is generated; An update to the database was detected, and a page version was generated.

4. The method according to claim 1, characterized in that, Based on the module location information, the page display components corresponding to each page module are arranged to obtain the website page corresponding to the page version, including: The module location information includes at least one of module sequence information and module coordinate information; If the module location information includes the module order information, then the page display components corresponding to each page module are sequentially filled into the blank spaces of the preset webpage according to the module order information to obtain the website page corresponding to the page version; If the module location information includes the module coordinate information, then the page display components corresponding to each page module are filled into the preset webpage according to the module coordinate information to obtain the website page corresponding to the page version.

5. The method according to claim 1, characterized in that, Generate page data corresponding to each of the aforementioned page display methods, including: Obtain at least one business system and the corresponding data format for each business system; Data is pulled from the business system to obtain the business data corresponding to the business system. The business data is then parsed according to the data format to obtain the data to be displayed from the business data. A corresponding data template is created based on the page display method, and the data to be displayed is filled into the data template to obtain the page data corresponding to the page display method.

6. The method according to any one of claims 1 to 5, characterized in that, After generating page data corresponding to each of the aforementioned page display methods, and before determining at least a portion of the page data as the target display data corresponding to the page version, the method further includes: Obtain module function information corresponding to any page module, annotate the page module based on the module function information and the module location information to obtain the module identifier corresponding to the page module, wherein the module identifier includes at least one of the function identifier corresponding to the module function information and the location identifier corresponding to the module location information; Obtain the acquisition time information and acquisition source information corresponding to any page data, and annotate the page data based on the acquisition time information and acquisition source information to obtain the data identifier corresponding to the page data. The data identifier includes at least one of the timeliness identifier corresponding to the acquisition time information and the source identifier corresponding to the acquisition source information.

7. The method according to claim 6, characterized in that, Determining at least a portion of the page data as the target display data corresponding to the page version includes: The matching information is carried by the page version, wherein the matching information includes at least one of the following: functional requirement information, page size requirement information, display type requirement information, expected display time information, and display object information; Based on the page version, module matching is performed on each module identifier, and the page module corresponding to the matched module identifier is determined as the target module corresponding to the page version. The module matching includes at least one of matching the functional requirement information with the functional identifier and matching the page size requirement information with the location identifier. Based on the display type requirement information in the page version, the page display method corresponding to the target module is matched to obtain the target display method corresponding to the page version; According to the page version, the data identifiers corresponding to each of the target display methods are matched, and the page data corresponding to the matched data identifiers are determined as the target display data corresponding to the page version. The data matching includes at least one of the following: matching the expected display time information with the timeliness identifier, and matching the display object information with the acquisition source information.

8. A website page generation system, characterized in that, include: A module is established to create at least one page module and to determine the module location information of each page module mapped to a website page. The selection module is used to select from preset data display methods according to the page module, obtain at least one page display method corresponding to each page module, and generate page data corresponding to each page display method, wherein the page display methods corresponding to each page module are different; The determination module is used to, in response to the generation of a page version, determine at least a portion of the page data as the target display data corresponding to the page version, and display the target display data according to the corresponding page display method to obtain a page display component; The display module is used to arrange the page display components corresponding to each page module according to the module location information to obtain the website page corresponding to the page version.

9. An electronic device, characterized in that, include: Processor and memory; The memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory to cause the electronic device to perform the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Webpage generation method and terminal device

    CN107870989A

  • Page display method and system, computer system and computer readable medium

    CN110888696A

  • Page display control method and device, storage medium and electronic equipment

    CN113094136A