CN113419728A - Marketing page building method, marketing page building device, marketing page building equipment and storage medium - Google Patents

Marketing page building method, marketing page building device, marketing page building equipment and storage medium Download PDF

Info

Publication number
CN113419728A
CN113419728A CN202110691848.3A CN202110691848A CN113419728A CN 113419728 A CN113419728 A CN 113419728A CN 202110691848 A CN202110691848 A CN 202110691848A CN 113419728 A CN113419728 A CN 113419728A
Authority
CN
China
Prior art keywords
page
marketing
preset
building
strategy type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110691848.3A
Other languages
Chinese (zh)
Other versions
CN113419728B (en
Inventor
毛璐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kangjian Information Technology Shenzhen Co Ltd
Original Assignee
Kangjian Information Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kangjian Information Technology Shenzhen Co Ltd filed Critical Kangjian Information Technology Shenzhen Co Ltd
Priority to CN202110691848.3A priority Critical patent/CN113419728B/en
Publication of CN113419728A publication Critical patent/CN113419728A/en
Application granted granted Critical
Publication of CN113419728B publication Critical patent/CN113419728B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention relates to the field of research and development management, and discloses a marketing page building method, a marketing page building device, marketing page building equipment and a marketing page storage medium, which are used for improving the efficiency of building and publishing a current marketing page. The marketing page building method comprises the following steps: receiving a marketing page construction request, and acquiring a corresponding target marketing strategy type from a strategy type library according to the marketing page construction request; acquiring a corresponding page building component according to the target marketing strategy type; creating a visual page editing area according to the page building assembly; assembling the page building assembly through the visual page editing area according to the preset page layout to obtain a candidate page; calling a database interface to obtain a data source corresponding to the page building component; and reading rendering data corresponding to the page building components based on the data source, and rendering the page building components in the candidate pages according to the rendering data to obtain the target marketing page. In addition, the invention also relates to a block chain technology, and the page building assembly can be stored in the block chain.

Description

Marketing page building method, marketing page building device, marketing page building equipment and storage medium
Technical Field
The invention relates to the field of research and development management, in particular to a method, a device, equipment and a storage medium for building a marketing page.
Background
With the continuous development of e-commerce services, more and more users shop on the internet, currently, a marketing page is an entrance of an e-commerce online shopping mall and is also a foundation, and the users browse commodities in the marketing page through a home page entrance of an e-commerce APP, so that great convenience is brought to the shopping of the users.
The marketing demand of the marketing page business can be adjusted along with the continuous change of markets, users and environments, and the marketing page system with high cohesion and easy expansion can quickly and efficiently respond to the demand change. However, the existing general APP page display modes are local loading modes, and are directly loaded at a user side through local loading, different page versions can be generated due to the fact that different marketing requirements need to be met, so that the page versions are more, management is complex, compatibility of new versions and old versions is troublesome, the new versions need to be reissued for page style adjustment, and therefore pages adopting the local loading modes can only display fixed styles and components generally, the styles are fixed and uniform, and different marketing requirements cannot be considered. The efficiency of the process of constructing the marketing page is low.
Disclosure of Invention
The invention mainly aims to solve the problem of low efficiency of building and publishing the current marketing page.
The invention provides a method for constructing a marketing page in a first aspect, which comprises the following steps: receiving a marketing page construction request, and acquiring a corresponding target marketing strategy type from a preset strategy type library according to the marketing page construction request; acquiring a corresponding preset page building assembly according to the target marketing strategy type; creating a visual page editing area according to the preset page building assembly; assembling the preset page building assembly through the visual page editing area according to a preset page layout to obtain a candidate page; calling a preset database interface to obtain a data source corresponding to the preset page building assembly; and reading rendering data corresponding to the preset page building component based on the data source, and rendering the preset page building component in the candidate page according to the rendering data to obtain a target marketing page.
Optionally, in a first implementation manner of the first aspect of the present invention, the receiving a marketing page construction request, and acquiring a corresponding target marketing policy type from a preset policy type library according to the marketing page construction request includes: analyzing the marketing page building request to obtain a corresponding marketing page identifier; performing type matching on the strategy types in the preset strategy type library according to the marketing page identification to obtain a first marketing strategy type; judging whether a second marketing strategy type corresponding to the marketing page request exists or not; if the second marketing strategy type exists, calling a preset basic operation interface to transmit the second marketing strategy type to the preset strategy type library; merging the first marketing strategy type and the second marketing strategy type into a candidate marketing strategy type in the preset strategy type library; and acquiring a target strategy type corresponding to the marketing page request according to the candidate marketing strategy type.
Optionally, in a second implementation manner of the first aspect of the present invention, the obtaining, according to the target marketing strategy type, a corresponding preset page building set includes: scanning content information corresponding to the target marketing strategy type to obtain a corresponding component index file; and determining a preset page building assembly corresponding to the target marketing strategy type based on the assembly index file.
Optionally, in a third implementation manner of the first aspect of the present invention, the creating a visual page editing region according to the preset page building assembly includes: selecting a corresponding preset layout template based on the preset page building assembly; generating a layout code by using the preset layout template through a preset code generation mode, and compiling the layout code into a DLL file; performing page assembly on the preset layout template based on the DLL file and generating page assembly information; and constructing a visual page editing area based on the page assembly information.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the assembling the preset page building component through the visual page editing region according to a preset page layout to obtain a candidate page includes: acquiring a position corresponding relation corresponding to the preset page building assembly based on the preset page layout and the visual page editing area; carrying out area positioning on the preset page building assembly according to the position corresponding relation to obtain a corresponding position coordinate; and assembling the preset page building components in the visual page area according to the position coordinates to obtain a candidate page.
Optionally, in a fifth implementation manner of the first aspect of the present invention, the invoking a preset database interface to obtain a data source corresponding to the preset page building component includes: analyzing a data tag of the preset page building component through the preset database interface, wherein the data tag is used for storing a data source address identifier corresponding to the page building component; and downloading a data source corresponding to the preset page building component from a preset database according to the data source address identifier.
Optionally, in a sixth implementation manner of the first aspect of the present invention, the reading rendering data corresponding to the preset page building set based on the data source, and rendering the preset page building set in the candidate page according to the rendering data to obtain a target marketing page includes: reading rendering data corresponding to the preset page building component based on the data source and the preset page building component; configuring a corresponding view for the preset page building assembly according to the rendering data and building a page rendering script; and updating the rendering data to the view corresponding to the preset page building assembly by adopting the page rendering script to obtain a corresponding target marketing page.
The second aspect of the present invention provides a device for building a marketing page, including: the receiving module is used for receiving a marketing page construction request and acquiring a corresponding target marketing strategy type from a preset strategy type library according to the marketing page construction request; the acquisition module is used for acquiring a corresponding preset page building assembly according to the target marketing strategy type; the creating module is used for creating a visual page editing area according to the preset page building assembly; the assembly module is used for assembling the preset page building assembly through the visual page editing area according to a preset page layout to obtain a candidate page; the calling module is used for calling a preset database interface to obtain a data source corresponding to the preset page building assembly; and the rendering module is used for reading rendering data corresponding to the preset page building assembly based on the data source, and rendering the preset page building assembly in the candidate page according to the rendering data to obtain a target marketing page.
Optionally, in a first implementation manner of the second aspect of the present invention, the receiving module is specifically configured to: analyzing the marketing page building request to obtain a corresponding marketing page identifier; performing type matching on the strategy types in the preset strategy type library according to the marketing page identification to obtain a first marketing strategy type; judging whether a second marketing strategy type corresponding to the marketing page request exists or not; if the second marketing strategy type exists, calling a preset basic operation interface to transmit the second marketing strategy type to the preset strategy type library; merging the first marketing strategy type and the second marketing strategy type into a candidate marketing strategy type in the preset strategy type library; and acquiring a target strategy type corresponding to the marketing page request according to the candidate marketing strategy type.
Optionally, in a second implementation manner of the second aspect of the present invention, the obtaining module is specifically configured to: scanning content information corresponding to the target marketing strategy type to obtain a corresponding component index file; and determining a preset page building assembly corresponding to the target marketing strategy type based on the assembly index file.
Optionally, in a third implementation manner of the second aspect of the present invention, the creating module is specifically configured to: selecting a corresponding preset layout template based on the preset page building assembly; generating a layout code by using the preset layout template through a preset code generation mode, and compiling the layout code into a DLL file; performing page assembly on the preset layout template based on the DLL file and generating page assembly information; and constructing a visual page editing area based on the page assembly information.
Optionally, in a fourth implementation manner of the second aspect of the present invention, the assembly module is specifically configured to: acquiring a position corresponding relation corresponding to the preset page building assembly based on the preset page layout and the visual page editing area; carrying out area positioning on the preset page building assembly according to the position corresponding relation to obtain a corresponding position coordinate; and assembling the preset page building components in the visual page area according to the position coordinates to obtain a candidate page.
Optionally, in a fifth implementation manner of the second aspect of the present invention, the invoking module is specifically configured to: analyzing a data tag of the preset page building component through the preset database interface, wherein the data tag is used for storing a data source address identifier corresponding to the page building component; and downloading a data source corresponding to the preset page building component from a preset database according to the data source address identifier.
Optionally, in a sixth implementation manner of the second aspect of the present invention, the rendering module is specifically configured to: reading rendering data corresponding to the preset page building component based on the data source and the preset page building component; configuring a corresponding view for the preset page building assembly based on the rendering data and building a page rendering script; and updating the rendering data to the view corresponding to the preset page building assembly by adopting the page rendering script to obtain a corresponding target marketing page.
The third aspect of the present invention provides a marketing page building device, including: a memory and at least one processor, the memory having instructions stored therein; the at least one processor calls the instructions in the memory to enable the marketing page construction equipment to execute the marketing page construction method.
A fourth aspect of the present invention provides a computer-readable storage medium, in which instructions are stored, and when the computer-readable storage medium runs on a computer, the computer is caused to execute the above marketing page building method.
According to the technical scheme provided by the invention, a marketing page construction request is received, and a corresponding target marketing strategy type is obtained from a preset strategy type library according to the marketing page construction request; acquiring a corresponding preset page building assembly according to the target marketing strategy type; creating a visual page editing area according to the preset page building assembly; assembling the preset page building assembly through the visual page editing area according to a preset page layout to obtain a candidate page; calling a preset database interface to obtain a data source corresponding to the preset page building assembly; and reading rendering data corresponding to the preset page building component based on the data source, and rendering the preset page building component in the candidate page according to the rendering data to obtain a target marketing page. In the embodiment of the invention, the operation background editing page is visualized by creating the visualized page editing area, so that the operation can preview the page in advance to confirm the page display effect, and the page construction efficiency is improved. The page style data are stored in the server, so that the operation is more convenient and faster when the later assembly is changed, and the research and development efficiency is improved.
Drawings
FIG. 1 is a schematic diagram of an embodiment of a method for building a marketing page in the embodiment of the invention;
FIG. 2 is a schematic diagram of another embodiment of a method for building a marketing page in the embodiment of the invention;
FIG. 3 is a schematic diagram of an embodiment of a device for building a marketing page according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an embodiment of the construction equipment of the marketing page in the embodiment of the invention.
Detailed Description
The embodiment of the invention provides a method, a device, equipment and a storage medium for constructing a marketing page. The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1, an embodiment of a method for building a marketing page according to an embodiment of the present invention includes:
101. receiving a marketing page construction request, and acquiring a corresponding target marketing strategy type from a preset strategy type library according to the marketing page construction request;
it is understood that the execution subject of the present invention may be a device for building a marketing page, or may be a server, and is not limited herein. The embodiment of the present invention is described by taking a server as an execution subject.
Specifically, the preset strategy type library is a database containing multiple strategy types such as a home page processing type, a limited-time rush-purchase page processing type, a field page processing type, a mall home page processing type, a medical mall home page processing type and the like, and after receiving a marketing page construction request, the server analyzes the marketing page request to obtain a corresponding identifier, and then determines a corresponding target marketing strategy type in the preset strategy type library.
Optionally, step 101 includes: the server analyzes the marketing page building request and acquires a corresponding marketing page identifier; the server carries out type matching on the strategy types in a preset strategy type library according to the marketing page identification to obtain a first marketing strategy type; the server judges whether a second marketing strategy type corresponding to the marketing page request exists or not; if the second marketing strategy type exists, calling a preset basic operation interface to transmit the second marketing strategy type to a preset strategy type library; combining the first marketing strategy type and the second marketing strategy type into a candidate marketing strategy type in a preset strategy type library; and the server acquires a target strategy type corresponding to the marketing page request according to the candidate marketing strategy type.
Specifically, the marketing page identification refers to a unique ID field corresponding to the marketing strategy type, and after the server acquires the unique ID field indicated by the marketing page identification, acquiring a corresponding first marketing strategy type from a preset strategy type library, judging the situation because the preset strategy type library possibly does not have the marketing strategy type corresponding to the marketing page building request, if a second strategy type corresponding to the marketing page building request exists (the strategy type is not in the preset strategy type library), the second strategy type is written into a preset strategy type library by calling an interface, and the first strategy type and the second strategy type are combined to obtain a candidate marketing strategy type, the probability that the marketing page building request can be matched with the corresponding strategy type can be increased, and the accuracy is further improved.
102. Acquiring a corresponding preset page building component according to the target marketing strategy type;
specifically, the target policy type includes a corresponding component index file, and the server obtains the page building component corresponding to the target policy type according to the component index file, where it is emphasized that, in order to further ensure the privacy and security of the page building component information, the page building component information may also be stored in a node of a block chain.
Optionally, step 102 includes: the server scans content information corresponding to the target strategy type to obtain a corresponding component index file; and the server determines a preset page building assembly corresponding to the target strategy type based on the assembly index file.
Specifically, the server scans content information corresponding to the target policy type, determines a component index file corresponding to the target policy type, analyzes the component index file to obtain a Uniform Resource Locator (URL) address file of the component in a database, and downloads the page building component corresponding to the target policy type according to the URL address file.
103. Creating a visual page editing area according to a preset page building assembly;
specifically, the server selects a corresponding layout template according to the specific content of the page building component, and can query corresponding configuration information through an ID value carried on a preset page building component in the layout template to generate a corresponding dynamic-link library (DLL) file, query the corresponding configuration information according to the DLL file, and return a JSON character string of complete configuration information. When a server receives a JSON (Java script object notation) character string of configuration information, the JSON character string is analyzed, the preset page building components are rendered into Document Object Model (DOM) nodes of corresponding levels according to the level relation, the style attribute of each component is bound into the functional attribute of the corresponding DOM node, and the functional attribute of each component is subjected to corresponding functional processing, such as click jump function binding click event processing and the like, so that the rendering of the DOM structure and the style is completed. And finally, taking out the configuration attribute of the page and carrying out corresponding processing, thereby obtaining the visual page editing area.
Optionally, step 103 includes: the server selects a preset layout template based on the preset page building assembly; the server generates a layout code by using the preset layout template through a preset code generation mode, and compiles the layout code into a DLL file; the server performs page assembly on the layout template based on the DLL file and generates page assembly information; and the server constructs a visual page editing area based on the page assembly information.
Specifically, a server reads tag information included by the preset page building component, the tag information specifically includes information such as a service name, a service type, a function menu, service keywords and the like, the server determines a corresponding page layout template through the tag information, the server calls corresponding service flow code blocks from a service flow code library according to the page layout template information, the service flow code blocks are packaged according to a logical relationship among the service flow code blocks, the server generates an extensible markup language (XML) code file and/or a JAVA code file of a target application program, and the logical relationship includes a parent-child relationship and a precedence relationship; and packaging the data returned to the target application program according to the page layout template information, generating a DLL file by the server, generating corresponding page assembly information according to the DLL file, and further obtaining a corresponding visual page editing area according to the assembly information.
104. And assembling the preset page building assemblies through the visual page editing area according to the preset page layout to obtain the candidate page.
Specifically, the server performs standardized definition on the components to obtain standardized components, determines a page editing area according to a target service scene, obtains a page component set, a page protocol and a component assembly sequence corresponding to the target service scene according to the standardized components, and assembles the page component set according to the page protocol and the component assembly sequence to obtain candidate pages corresponding to the target service scene.
105. Calling a preset database interface to obtain a data source corresponding to the preset page building assembly;
specifically, the server may call the database interface to obtain a data source corresponding to the preset page building component, where the data source includes rendering data such as a hypertext markup language (HTML) template and a Cascading Style Sheet (CSS) style file for page display, and subsequently analyzes and obtains information included in the data source.
106. And reading rendering data corresponding to the preset page building component based on a data source, and rendering the preset page building component in the candidate page according to the rendering data to obtain the target marketing page.
Specifically, after the server acquires rendering data such as an HTML template and CSS style displayed on a data source page, the HTML template is processed, a preset interface is inserted into a defined document element, the corresponding preset page building component can be displayed, the operation is performed on each preset page building component, and the target marketing page can be displayed.
In the embodiment of the invention, a server receives a marketing page building request, analyzes the request to obtain an identifier corresponding to the request, acquires a corresponding target marketing strategy type in a preset strategy type library according to the identifier, scans the target strategy type, determines a component index file corresponding to the target strategy type, analyzes the component index file to obtain a URL address file of a component in a database, further downloads a page building component corresponding to the target strategy type, reads label information included by the preset page building component, generates corresponding page assembly information according to the label information, builds a corresponding visual page editing area, assembles a page component set according to a page protocol and a component assembly sequence to obtain a candidate page, and then calls a database interface to acquire a data source corresponding to the preset page building component, after the server acquires rendering data such as an HTML template and CSS style displayed by a data source page, a preset interface is inserted into a defined document element when the HTML template is processed, so that corresponding preset page building components can be displayed, the operation is carried out on each preset page building component, and a target marketing page can be displayed. In the embodiment of the invention, the page edited by the operation background is visualized by creating the visualized page editing area, so that the operation can preview the page in advance to confirm the page display effect conveniently, the page building efficiency is improved, different types of pages adopt strategy modes, and the corresponding strategy modes are determined according to the marks of the marketing pages, so that the algorithms of the components are isolated, and the expandability is improved.
Referring to fig. 2, another embodiment of the method for building a marketing page according to the embodiment of the present invention includes:
201. receiving a marketing page construction request, and acquiring a corresponding target marketing strategy type from a preset strategy type library according to the marketing page construction request;
202. acquiring a corresponding preset page building component according to the target marketing strategy type;
203. creating a visual page editing area according to a preset page building assembly;
specifically, in the present embodiment, the specific implementation of steps 201-203 is similar to that of steps 101-103, and is not described herein again.
204. Assembling the preset page building assembly through the visual page editing area according to the preset page layout to obtain a candidate page;
specifically, in this embodiment, the specific implementation of step 204 is similar to that of step 104, and is not described herein again.
Optionally, step 204 includes: the server acquires a corresponding position relation with a preset page building assembly based on a preset page layout and a visual page editing area; the server carries out area positioning on the preset page building assembly by utilizing the position corresponding relation to obtain a corresponding position coordinate; and the server assembles the preset page building components in the visual page area through the position coordinates to obtain a candidate page.
Specifically, the server scans the position corresponding relation of each component in the preset page layout according to the preset page layout, the page layout establishes a plane rectangular coordinate system with a left lower corner endpoint in the page as an origin, establishes an X axis from the origin to the right and establishes a Y axis upwards based on a plane where the page is located, obtains the position coordinates of the preset page building components by taking 1 cm as a unit distance, and assembles the preset page building components according to the position coordinates to obtain corresponding candidate pages.
205. Calling a preset database interface to obtain a data source corresponding to the preset page building assembly;
specifically, in this embodiment, the specific implementation of step 205 is similar to that of step 105, and is not described herein again.
Optionally, step 205 includes: the server analyzes a data tag of a preset page building component through a preset database interface, wherein the data tag is used for storing a data source address identifier corresponding to the page building component; and the server downloads the data source corresponding to the preset page building assembly from the preset database through the data source address identifier.
Specifically, the server calls a preset database interface to obtain the data tag of the preset page building assembly, and it is emphasized that, in order to further ensure the privacy and security of the data tag information, the data tag information may also be stored in a node of a block chain. The server identifies a data label of target data by using a label rule, wherein the data label comprises at least one identification field, establishes a mapping relation between the data label and a data source address identification, further acquires the data source address identification corresponding to the data label based on the mapping relation between the data label and the data source address identification, analyzes the data source address identification code based on the identification rule to generate a data source address URL file, and downloads a corresponding data source from a database according to the URL file.
206. Reading rendering data corresponding to the preset page building component based on the data source and the preset page building component;
specifically, the data source comprises rendering data such as an HTML template and a CSS style for page display, a subsequent server can analyze and acquire information contained in the data source, the server scans the preset page building assembly, reads the corresponding data identifier, and then acquires the rendering data such as the HTML template and the CSS style corresponding to the page of the data source according to the data identifier.
207. Configuring a corresponding view for a preset page building assembly by using rendering data and building a page rendering script;
specifically, the server processes the HTML template, configures a corresponding view for the preset page building component according to the CSS style rendering data, wherein the view refers to a corresponding component display frame view, and builds a corresponding page rendering script, the server can identify style introduction sentences containing home page labels in the HTML file according to the HTML template file and the CSS style file through the page rendering script, further acquire corresponding style class names and identify style description sentences corresponding to each style class name in the CSS style file, and fill and replace the corresponding style introduction sentences in the HTML template file according to the style description sentences, so the server can render the preset page building component according to the page rendering script.
208. And updating the rendering data to the view corresponding to the preset page building assembly by adopting the page rendering script to obtain a corresponding target marketing page.
Specifically, the server identifies the style introduction statements including the home page tags in the HTML file according to the constructed page rendering script based on the HTML template file and the CSS style file, further obtains the corresponding style class names and identifies the style description statements corresponding to each style class name in the CSS style file, then inserts the style description statements into the defined document elements by using a preset interface to replace the corresponding style introduction statements in the HTML template file, that is, the corresponding preset page building components can be displayed, and the operation is performed on each preset page building component, so that the target marketing page is obtained.
In the embodiment of the invention, a server receives a marketing page building request, analyzes the request to obtain an identifier corresponding to the request, determines a component index file corresponding to a target strategy type according to the identifier, analyzes the component index file to obtain a URL (Uniform resource locator) address file of a component in a database, further downloads a page building component corresponding to the target strategy type, reads label information included by the preset page building component, builds a corresponding visual page editing area according to the label information, scans the position corresponding relation of each component in the preset page layout according to the preset page layout, obtains the position coordinates of the preset page building component, assembles the preset page building component according to the position coordinates, further obtains a corresponding candidate page, and then calls a preset database interface to obtain the data labels of the preset page building component and builds the data labels according to the data labels The method comprises the steps that a mapping relation between a data tag and a data source address identification is obtained according to the mapping relation, the data source address identification corresponding to the data tag is obtained according to the mapping relation, a corresponding data source is downloaded according to the address identification, a server scans the preset page building assembly, reads the corresponding data identification, then obtains rendering data such as an HTML (hypertext markup language) template and a CSS (cascading style sheets) style and the like corresponding to a data source page according to the data identification, and renders the page preset building assembly according to a built page rendering script to obtain a target marketing page. In the embodiment of the invention, based on the marketing page system with high cohesion and easy expansion, the page is divided into the components, and a visual component editing mode is adopted, so that an operator in a backstage can build the marketing page in a component dragging mode, the page building efficiency is improved, HTML template data and CSS style data are stored in the cloud database, the operation is more convenient and faster when the components are changed in the later period, and the research and development efficiency is improved.
Referring to fig. 3, an embodiment of a device for building a marketing page according to an embodiment of the present invention includes:
the receiving module 301 is configured to receive a marketing page construction request, and obtain a corresponding target marketing strategy type from a preset strategy type library according to the marketing page construction request;
an obtaining module 302, configured to obtain a corresponding preset page building component according to the target marketing strategy type;
a creating module 303, configured to create a visual page editing area according to the preset page building component;
the assembling module 304 is configured to assemble the preset page building assembly through the visual page editing area according to a preset page layout to obtain a candidate page;
a calling module 305, configured to call a preset database interface to obtain a data source corresponding to the preset page building component;
and the rendering module 306 is configured to read rendering data corresponding to the preset page building component based on the data source, and render the preset page building component in the candidate page according to the rendering data to obtain a target marketing page.
Optionally, the receiving module 301 may be further specifically configured to: analyzing the marketing page building request to obtain a corresponding marketing page identifier; performing type matching on the strategy types in the preset strategy type library according to the marketing page identification to obtain a first marketing strategy type; judging whether a second marketing strategy type corresponding to the marketing page request exists or not; if the second marketing strategy type exists, calling a preset basic operation interface to transmit the second marketing strategy type to the preset strategy type library; merging the first marketing strategy type and the second marketing strategy type into a candidate marketing strategy type in the preset strategy type library; and acquiring a target strategy type corresponding to the marketing page request according to the candidate marketing strategy type.
Optionally, the obtaining module 302 may be further specifically configured to: scanning content information corresponding to the target marketing strategy type to obtain a corresponding component index file; and determining a preset page building assembly corresponding to the target marketing strategy type based on the assembly index file.
Optionally, the creating module 303 may be further specifically configured to: selecting a corresponding preset layout template based on the preset page building assembly; generating a layout code by using the preset layout template through a preset code generation mode, and compiling the layout code into a DLL file; performing page assembly on the preset layout template based on the DLL file and generating page assembly information; and constructing a visual page editing area based on the page assembly information.
Optionally, the assembly module 304 may be further specifically configured to: acquiring a position corresponding relation corresponding to the preset page building assembly based on the preset page layout and the visual page editing area; carrying out area positioning on the preset page building assembly by utilizing the position corresponding relation to obtain a corresponding position coordinate; and assembling the preset page building components in the visual page area through the position coordinates to obtain a candidate page.
Optionally, the invoking module 305 may be further specifically configured to: analyzing a data tag of the preset page building component through the preset database interface, wherein the data tag is used for storing a data source address identifier corresponding to the page building component; and downloading a data source corresponding to the preset page building component from a preset database through the data source address identifier.
Optionally, the rendering module 306 may be further specifically configured to: reading rendering data corresponding to the preset page building component based on the data source and the preset page building component; configuring a corresponding view for the preset page building assembly by using the rendering data and building a page rendering script; and updating the rendering data to the view corresponding to the preset page building assembly by adopting the page rendering script to obtain a corresponding target marketing page.
Fig. 4 is a schematic structural diagram of a construction apparatus for a marketing page according to an embodiment of the present invention, where the construction apparatus 400 for a marketing page may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 410 (e.g., one or more processors) and a memory 420, and one or more storage media 430 (e.g., one or more mass storage devices) storing an application 433 or data 432. Memory 420 and storage medium 430 may be, among other things, transient or persistent storage. The program stored on the storage medium 430 may include one or more modules (not shown), each of which may include a series of instruction operations in the construction apparatus 400 for marketing pages. Still further, the processor 410 may be configured to communicate with the storage medium 430, and execute a series of instruction operations in the storage medium 430 on the construction apparatus 400 for the marketing page.
The marketing page construction apparatus 400 may also include one or more power supplies 440, one or more wired or wireless network interfaces 450, one or more input-output interfaces 460, and/or one or more operating systems 431, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, and the like. Those skilled in the art will appreciate that the construction of the construction device of the marketing page shown in fig. 4 does not constitute a limitation of the construction device of the marketing page and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The invention further provides a marketing page building device, which comprises a memory and a processor, wherein computer readable instructions are stored in the memory, and when the computer readable instructions are executed by the processor, the processor executes the steps of the marketing page building method in each embodiment.
The invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are run on a computer, the instructions cause the computer to execute the steps of the method for building the marketing page.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media that can store program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a random access memory, a magnetic disk, or an optical disk.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralized database, is a string of data blocks associated by using a cryptographic method, each data block contains information of a batch of network transactions for verifying the validity (anti-counterfeiting) of the information and generating a next block, and the Blockchain may include a Blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A marketing page building method is characterized by comprising the following steps:
receiving a marketing page construction request, and acquiring a corresponding target marketing strategy type from a preset strategy type library according to the marketing page construction request;
acquiring a corresponding preset page building assembly according to the target marketing strategy type;
creating a visual page editing area according to the preset page building assembly;
assembling the preset page building assembly through the visual page editing area according to a preset page layout to obtain a candidate page;
calling a preset database interface to obtain a data source corresponding to the preset page building assembly;
and reading rendering data corresponding to the preset page building component based on the data source, and rendering the preset page building component in the candidate page according to the rendering data to obtain a target marketing page.
2. The marketing page building method according to claim 1, wherein the receiving of the marketing page building request and the obtaining of the corresponding target marketing strategy type from a preset strategy type library according to the marketing page building request comprises:
analyzing the marketing page building request to obtain a corresponding marketing page identifier;
performing type matching on the strategy types in the preset strategy type library according to the marketing page identification to obtain a first marketing strategy type;
judging whether a second marketing strategy type corresponding to the marketing page request exists or not;
if the second marketing strategy type exists, calling a preset basic operation interface to transmit the second marketing strategy type to the preset strategy type library;
merging the first marketing strategy type and the second marketing strategy type into a candidate marketing strategy type in the preset strategy type library;
and acquiring a target strategy type corresponding to the marketing page request according to the candidate marketing strategy type.
3. The method for building a marketing page according to claim 1, wherein the step of obtaining a corresponding preset page building set according to the target marketing strategy type comprises the following steps:
scanning content information corresponding to the target marketing strategy type to obtain a corresponding component index file;
and determining a preset page building assembly corresponding to the target marketing strategy type based on the assembly index file.
4. The method for building a marketing page according to claim 1, wherein the creating a visual page editing area according to the preset page building set comprises:
selecting a corresponding preset layout template based on the preset page building assembly;
generating a layout code by using the preset layout template through a preset code generation mode, and compiling the layout code into a Dynamic Link Library (DLL) file;
performing page assembly on the preset layout template based on the DLL file and generating page assembly information;
and constructing a visual page editing area based on the page assembly information.
5. The marketing page building method according to claim 1, wherein the preset page building components are assembled through the visual page editing area according to a preset page layout to obtain a candidate page, and the obtaining of the candidate page comprises:
acquiring a position corresponding relation corresponding to the preset page building assembly based on the preset page layout and the visual page editing area;
carrying out area positioning on the preset page building assembly by utilizing the position corresponding relation to obtain a corresponding position coordinate;
and assembling the preset page building components in the visual page area through the position coordinates to obtain a candidate page.
6. The method for building a marketing page according to claim 1, wherein the step of calling a preset database interface to obtain a data source corresponding to the preset page building assembly comprises the steps of:
analyzing a data tag of the preset page building component through the preset database interface, wherein the data tag is used for storing a data source address identifier corresponding to the page building component;
and downloading a data source corresponding to the preset page building component from a preset database through the data source address identifier.
7. The marketing page building method according to any one of claims 1 to 6, wherein the reading of rendering data corresponding to the preset page building set based on the data source and the rendering of the preset page building set in the candidate page according to the rendering data to obtain a target marketing page comprises:
reading rendering data corresponding to the preset page building component based on the data source and the preset page building component;
configuring a corresponding view for the preset page building assembly by using the rendering data and building a page rendering script;
and updating the rendering data to the view corresponding to the preset page building assembly by adopting the page rendering script to obtain a corresponding target marketing page.
8. The utility model provides a device of buildding of marketing page which characterized in that, the device of buildding of marketing page includes:
the receiving module is used for receiving a marketing page construction request and acquiring a corresponding target marketing strategy type from a preset strategy type library according to the marketing page construction request;
the acquisition module is used for acquiring a corresponding preset page building assembly according to the target marketing strategy type;
the creating module is used for creating a visual page editing area according to the preset page building assembly;
the assembly module is used for assembling the preset page building assembly through the visual page editing area according to a preset page layout to obtain a candidate page;
the calling module is used for calling a preset database interface to obtain a data source corresponding to the preset page building assembly;
and the rendering module is used for reading rendering data corresponding to the preset page building assembly based on the data source, and rendering the preset page building assembly in the candidate page according to the rendering data to obtain a target marketing page.
9. The utility model provides a set up equipment of marketing page which characterized in that, the set up equipment of marketing page includes: a memory and at least one processor, the memory having instructions stored therein;
the at least one processor calls the instructions in the memory to cause the construction device of the marketing page to perform the construction method of the marketing page according to any one of claims 1 to 7.
10. A computer readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement a method of constructing a marketing page according to any one of claims 1-7.
CN202110691848.3A 2021-06-22 2021-06-22 Marketing page building method, device, equipment and storage medium Active CN113419728B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110691848.3A CN113419728B (en) 2021-06-22 2021-06-22 Marketing page building method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110691848.3A CN113419728B (en) 2021-06-22 2021-06-22 Marketing page building method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113419728A true CN113419728A (en) 2021-09-21
CN113419728B CN113419728B (en) 2024-05-24

Family

ID=77789898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110691848.3A Active CN113419728B (en) 2021-06-22 2021-06-22 Marketing page building method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113419728B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821749A (en) * 2021-09-30 2021-12-21 上海柯林布瑞信息技术有限公司 Page generation method based on JS real-time analysis and computer
CN115357239A (en) * 2022-10-21 2022-11-18 智者四海(北京)技术有限公司 Method and device for quickly building operation activity page and electronic equipment
CN116360761A (en) * 2023-03-26 2023-06-30 二十六度数字科技(广州)有限公司 Automatic marketing method and system for private domain and public domain based on data labels
CN116974558A (en) * 2023-06-13 2023-10-31 天翼爱音乐文化科技有限公司 Marketing billing activity H5 page development platform and development method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388396A (en) * 2018-09-18 2019-02-26 深圳壹账通智能科技有限公司 Page generation method, device, computer equipment and storage medium
CN109559153A (en) * 2018-10-26 2019-04-02 深圳壹账通智能科技有限公司 Marketing activity configuration method, device, medium and computer equipment
CN109918607A (en) * 2019-03-20 2019-06-21 杭州网易再顾科技有限公司 Page building method and device, medium and calculating equipment
CN110210889A (en) * 2019-04-25 2019-09-06 深圳壹账通智能科技有限公司 Creation method, device and the computer equipment of marketing activity information
CN110865807A (en) * 2018-08-27 2020-03-06 北京京东金融科技控股有限公司 Active page creation system, method, device and storage medium
CN111857700A (en) * 2020-07-22 2020-10-30 南京欣网互联网络科技有限公司 Template marketing activity publishing method and system
WO2020233306A1 (en) * 2019-05-22 2020-11-26 深圳壹账通智能科技有限公司 Dynamic page generation method and apparatus, and computer device and storage medium
CN112416339A (en) * 2020-02-17 2021-02-26 上海哔哩哔哩科技有限公司 Page development method and device and computer equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110865807A (en) * 2018-08-27 2020-03-06 北京京东金融科技控股有限公司 Active page creation system, method, device and storage medium
CN109388396A (en) * 2018-09-18 2019-02-26 深圳壹账通智能科技有限公司 Page generation method, device, computer equipment and storage medium
CN109559153A (en) * 2018-10-26 2019-04-02 深圳壹账通智能科技有限公司 Marketing activity configuration method, device, medium and computer equipment
CN109918607A (en) * 2019-03-20 2019-06-21 杭州网易再顾科技有限公司 Page building method and device, medium and calculating equipment
CN110210889A (en) * 2019-04-25 2019-09-06 深圳壹账通智能科技有限公司 Creation method, device and the computer equipment of marketing activity information
WO2020233306A1 (en) * 2019-05-22 2020-11-26 深圳壹账通智能科技有限公司 Dynamic page generation method and apparatus, and computer device and storage medium
CN112416339A (en) * 2020-02-17 2021-02-26 上海哔哩哔哩科技有限公司 Page development method and device and computer equipment
CN111857700A (en) * 2020-07-22 2020-10-30 南京欣网互联网络科技有限公司 Template marketing activity publishing method and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821749A (en) * 2021-09-30 2021-12-21 上海柯林布瑞信息技术有限公司 Page generation method based on JS real-time analysis and computer
CN113821749B (en) * 2021-09-30 2023-09-01 上海柯林布瑞信息技术有限公司 Page generation method and computer based on JS real-time analysis
CN115357239A (en) * 2022-10-21 2022-11-18 智者四海(北京)技术有限公司 Method and device for quickly building operation activity page and electronic equipment
CN116360761A (en) * 2023-03-26 2023-06-30 二十六度数字科技(广州)有限公司 Automatic marketing method and system for private domain and public domain based on data labels
CN116360761B (en) * 2023-03-26 2023-11-14 二十六度数字科技(广州)有限公司 Automatic marketing method and system for private domain and public domain based on data labels
CN116974558A (en) * 2023-06-13 2023-10-31 天翼爱音乐文化科技有限公司 Marketing billing activity H5 page development platform and development method
CN116974558B (en) * 2023-06-13 2024-02-23 天翼爱音乐文化科技有限公司 Marketing billing activity H5 page development platform and development method

Also Published As

Publication number Publication date
CN113419728B (en) 2024-05-24

Similar Documents

Publication Publication Date Title
CN109508191B (en) Code generation method and system
CN113419728B (en) Marketing page building method, device, equipment and storage medium
US20190392026A1 (en) Configuring a page for drag and drop arrangement of content artifacts in a page development tool
KR101477763B1 (en) Message catalogs for remote modules
US8527943B1 (en) System and method of application development
JP5526128B2 (en) Embed macros in web pages that contain advertisements
EP2680160B1 (en) Methods of Uniform Resource Locator (URL) translation
US9110686B2 (en) Web client command infrastructure integration into a rich client application
US20040006743A1 (en) Method and apparatus for re-editing and redistributing web documents
US8387055B1 (en) System and method for providing information and associating information
US7305657B2 (en) Web server having function of Java servlet, method for updating Java program and computer program
CN111444696B (en) Report form display and editing method and device
CN101661512A (en) System and method for identifying traditional form information and establishing corresponding Web form
US20080104082A1 (en) Method of constructing a remotely editable machine-readable document
US20060253411A1 (en) Method, system and program product for inserting visual controls for data values in web content from a legacy web application without rewriting the legacy web application
US6993713B2 (en) Web content management software utilizing a workspace aware JSP servlet
CN112115338A (en) Page query request processing method, device, equipment and storage medium
CN113703785B (en) Component-based platform deployment method, device, equipment and storage medium
CN113452613B (en) Method, device, electronic equipment and storage medium for acquiring page routing address
US20120072828A1 (en) Complex input to image transformation for distribution
US7594235B2 (en) Method of executing on a station of a communication network a computer program represented in a markup language
CN116719523A (en) Page rendering method and electronic device
US7685229B1 (en) System and method for displaying server side code results in an application program
CN112287255B (en) Page construction method and device, computing equipment and computer readable storage medium
US20100125846A1 (en) Ad hoc task creation and process modification

Legal Events

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