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

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

Info

Publication number
CN113419728B
CN113419728B CN202110691848.3A CN202110691848A CN113419728B CN 113419728 B CN113419728 B CN 113419728B CN 202110691848 A CN202110691848 A CN 202110691848A CN 113419728 B CN113419728 B CN 113419728B
Authority
CN
China
Prior art keywords
page
preset
marketing
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.)
Active
Application number
CN202110691848.3A
Other languages
Chinese (zh)
Other versions
CN113419728A (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

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, device, equipment and storage medium, which are used for improving the efficiency of building and publishing the current marketing page. The method for constructing the marketing page comprises the following steps: receiving a marketing page building request, and acquiring a corresponding target marketing strategy type from a strategy type library according to the marketing page building request; acquiring a corresponding page building assembly according to the target marketing strategy type; creating a visual page editing area according to the page building assembly; according to the preset page layout, assembling the page building assembly through the visual page editing area to obtain candidate pages; calling a database interface to acquire a data source corresponding to the page building assembly; and reading rendering data corresponding to the page building sets based on the data source, and rendering the page building sets in the candidate pages according to the rendering data to obtain the target marketing page. In addition, the present invention relates to blockchain technology in which page building sets can be stored.

Description

Marketing page building method, device, equipment and storage medium
Technical Field
The present invention relates to the field of research and development management, and in particular, to a method, an apparatus, a device, and a storage medium for building a marketing page.
Background
With the continuous development of e-commerce business, more and more users shop through the internet, and currently, the marketing page is an entrance of an e-commerce online mall, and the user browses commodities in the marketing page through a home page entrance of an e-commerce APP, so that great convenience is brought to shopping of the user.
The marketing demands of the marketing page business can be adjusted along with the continuous changes of markets, users and environments, and the marketing page system with high cohesion and easy expansion can respond to the demands rapidly and efficiently. However, the conventional page display mode of the APP adopts a local loading mode, and different page versions are generated by directly loading the APP on a user side through the local loading mode because different marketing requirements are required to be met, so that the page versions are more, the management is complex, the compatibility of new and old versions is troublesome, and the new version is required to be reissued for page style adjustment, so that the page adopting the local loading mode can generally only display fixed styles and components, has fixed and uniform styles, and cannot meet different marketing requirements. Resulting in a less efficient process of building marketing pages.
Disclosure of Invention
The invention mainly aims to solve the problem of low efficiency of building and publishing the current marketing page.
The first aspect of the invention provides a method for building a marketing page, which comprises the following steps: receiving a marketing page building request, and acquiring a corresponding target marketing strategy type from a preset strategy type library according to the marketing page building request; acquiring a corresponding preset page building set according to the target marketing strategy type; creating a visual page editing area according to the preset page building assembly; according to the preset page layout, assembling the preset page building assembly through the visual page editing area to obtain a candidate page; calling a preset database interface to acquire a data source corresponding to the preset page building assembly; and reading rendering data corresponding to the preset page building sets based on the data source, and rendering the preset page building sets in the candidate pages 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 building request, and obtaining, according to the marketing page building request, a corresponding target marketing strategy type from a preset strategy type library 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 identifier 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, a preset basic operation interface is called 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 candidate marketing strategy types 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 a corresponding preset page building set according to the target marketing strategy type includes: scanning content information corresponding to the target marketing strategy type to obtain a corresponding component index file; and determining a preset page building set corresponding to the target marketing strategy type based on the set index file.
Optionally, in a third implementation manner of the first aspect of the present invention, the creating a visual page editing area according to the preset page building set includes: selecting a corresponding preset layout template based on the preset page building set; generating a layout code by using the preset layout template in 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 set through the visual page editing area according to the preset page layout, to obtain the candidate page includes: acquiring a position corresponding relation corresponding to the preset page building set based on the preset page layout and the visual page editing area; performing region 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 assembly 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 calling a preset database interface to obtain a data source corresponding to the preset page building set includes: analyzing a data tag of the preset page building set through the preset database interface, wherein the data tag is used for storing a data source address identifier corresponding to the page building set; and downloading the data source corresponding to the preset page building assembly from a preset database according to the data source address identification.
Optionally, in a sixth implementation manner of the first aspect of the present invention, the reading, based on the data source, rendering data corresponding to the preset page building set, and rendering the preset page building set in the candidate page according to the rendering data, and obtaining the target marketing page includes: based on the data source and the preset page building set, reading rendering data corresponding to the preset page building set; configuring a corresponding view for the preset page building assembly according to the rendering data and constructing a page rendering script; and updating the rendering data to the view corresponding to the preset page building set 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, comprising: the receiving module is used for receiving a marketing page building request and acquiring a corresponding target marketing strategy type from a preset strategy type library according to the marketing page building request; the acquisition module is used for acquiring a corresponding preset page building set according to the target marketing strategy type; the creation 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 the preset page layout to obtain candidate pages; the calling module is used for calling a preset database interface to acquire 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 sets based on the data source, and rendering the preset page building sets in the candidate pages 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 identifier 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, a preset basic operation interface is called 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 candidate marketing strategy types 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 acquiring 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 set corresponding to the target marketing strategy type based on the set 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 set; generating a layout code by using the preset layout template in 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 set based on the preset page layout and the visual page editing area; performing region 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 assembly 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 calling module is specifically configured to: analyzing a data tag of the preset page building set through the preset database interface, wherein the data tag is used for storing a data source address identifier corresponding to the page building set; and downloading the data source corresponding to the preset page building assembly from a preset database according to the data source address identification.
Optionally, in a sixth implementation manner of the second aspect of the present invention, the rendering module is specifically configured to: based on the data source and the preset page building set, reading rendering data corresponding to the preset page building set; configuring a corresponding view for the preset page building assembly based on the rendering data and constructing a page rendering script; and updating the rendering data to the view corresponding to the preset page building set by adopting the page rendering script to obtain a corresponding target marketing page.
A third aspect of the present invention provides a device for building a marketing page, comprising: a memory and at least one processor, the memory having instructions stored therein; the at least one processor invokes the instructions in the memory to cause the marketing page building device to perform the marketing page building method described above.
A fourth aspect of the present invention provides a computer-readable storage medium having instructions stored therein that, when run on a computer, cause the computer to perform the method of building a marketing page described above.
In the technical scheme provided by the invention, a marketing page building request is received, and a corresponding target marketing strategy type is obtained from a preset strategy type library according to the marketing page building request; acquiring a corresponding preset page building set according to the target marketing strategy type; creating a visual page editing area according to the preset page building assembly; according to the preset page layout, assembling the preset page building assembly through the visual page editing area to obtain a candidate page; calling a preset database interface to acquire a data source corresponding to the preset page building assembly; and reading rendering data corresponding to the preset page building sets based on the data source, and rendering the preset page building sets in the candidate pages according to the rendering data to obtain a target marketing page. In the embodiment of the invention, the visual page editing area is created, so that the operation background editing page is visualized, the operation is convenient to preview the page in advance to confirm the page display effect, and the page construction efficiency is improved. The page style data is stored in the server, so that the operation is more convenient and rapid when the later-stage component 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 according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of another embodiment of a method for building a marketing page according to an embodiment of the present 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;
figure 4 is a schematic diagram of an embodiment of a construction device for marketing pages in an embodiment of the present 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 and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, 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 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 building request, and acquiring a corresponding target marketing strategy type from a preset strategy type library according to the marketing page building request;
it can be understood that the execution body of the present invention may be a device for building a marketing page, and may also be a server, which is not limited herein. The embodiment of the invention is described by taking a server as an execution main body as an example.
Specifically, the preset policy type library refers to a database containing a plurality of policy types such as a home page processing type, a time-limited rush page processing type, a session 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 building request, the server analyzes the marketing page request to obtain a corresponding identifier, and further determines a corresponding target marketing policy type in the preset policy type library.
Optionally, step 101 includes: the server analyzes the marketing page building request and acquires the corresponding marketing page identification; the server performs 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; 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; merging the first marketing strategy type and the second marketing strategy type into candidate marketing strategy types 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 identifier refers to a unique ID field corresponding to a marketing strategy type, after the server obtains the unique ID field indicated by the marketing page identifier, the server obtains a corresponding first marketing strategy type from a preset strategy type library, and determines that, because there may not be a marketing strategy type corresponding to the marketing page building request in the preset strategy type library, if there is a second strategy type corresponding to the marketing page building request (the strategy type is not in the preset strategy type library), the interface is called to write the second strategy type into the preset strategy type library, and meanwhile, the first strategy type and the second strategy type are combined to obtain candidate marketing strategy types, so that the probability that the marketing page building request can be matched to the corresponding strategy type can be increased, and the accuracy is further improved.
102. Acquiring a corresponding preset page building assembly according to the target marketing strategy type;
Specifically, the target policy type includes a corresponding component index file, and the server obtains, according to the component index file, a page building component corresponding to the target policy type, where it is emphasized that, to further ensure privacy and security of the page building component information, the page building component information may also be stored in a node of a blockchain.
Optionally, step 102 includes: the server scans the content information corresponding to the target strategy type to obtain a corresponding component index file; the server determines a preset page building set corresponding to the target policy type based on the set index file.
Specifically, the server scans the content information corresponding to the target policy type, determines an assembly index file corresponding to the target policy type, analyzes the assembly index file to obtain a uniform resource locator (uniform resource locator, URL) address file of the assembly in the database, and downloads the page building assembly corresponding to the target policy type according to the URL address file.
103. Creating a visual page editing area according to the preset page building assembly;
Specifically, the server selects a corresponding layout template according to the specific content of the page building set, and the server can query corresponding configuration information through an ID value carried on a preset page building set in the layout template, generate a corresponding dynamic-link library (DLL) file, query corresponding configuration information according to the DLL file, and return a JSON string of complete configuration information. When the server receives an object representation (javaScript object notation, JSON) character string of the configuration information, the JSON character string is parsed, the preset page building set is rendered into a document object model (document object model, DOM) node of a corresponding hierarchy according to the hierarchy relation, the style attribute of each set is bound into the function attribute of the DOM node corresponding to the set, and the function attribute of each set is subjected to corresponding function processing, such as click-skip function binding click event processing and the like, so that the rendering of the DOM structure and the style is completed. And finally, the configuration attribute of the page is taken out for corresponding processing, so that the visual page editing area is obtained.
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 in 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; the server builds a visual page editing area based on the page assembly information.
The server reads tag information included in the preset page building assembly, the tag information comprises information including service names, service types, function menus, 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 logic relations among the service flow code blocks, and the server generates extensible markup language (extensible markup language, XML) code files and/or JAVA code files of a target application program, wherein the logic relations comprise father-son relations and precedence relations; 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 assembly through the visual page editing area according to the preset page layout to obtain candidate pages.
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 acquire a data source corresponding to the preset page building assembly;
specifically, the server invokes the database interface to obtain a data source corresponding to the preset page building set, where the data source includes rendering data such as a hypertext markup language (hyper text markup language, HTML) template for page display and a cascading style sheet (CASCADING STYLE SHEETS, CSS) style file, and then analyzes and obtains information included in the data source.
106. And reading rendering data corresponding to the preset page building sets based on the data source, and rendering the preset page building sets in the candidate pages according to the rendering data to obtain the target marketing page.
Specifically, after the server obtains rendering data such as an HTML template and CSS style displayed by the data source page, a preset interface is used to insert the rendering data into a definition document element when the HTML template is processed, so that corresponding preset page building sets can be displayed, and the operation is performed on each preset page building set, so that a 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 an assembly index file corresponding to the target strategy type, analyzes the assembly index file to obtain a URL address file of an assembly in a database, downloads page building assemblies corresponding to the target strategy type, reads tag information included in the preset page building assemblies, generates corresponding page assembly information according to the tag information, constructs a corresponding visual page editing area, assembles a page assembly set according to a page protocol and an assembly sequence, acquires a candidate page, invokes a database interface to acquire a data source corresponding to the preset page assembly, and inserts the preset interface into a definition document element when processing an HTML template after acquiring rendering data such as the HTML template, namely the corresponding preset page building assembly, and performs the target page displaying operation on each preset page building assembly. In the embodiment of the invention, the visual page editing area is created, so that the operation background editing page is visualized, the operation is convenient to preview the page in advance to confirm the page display effect, the page construction efficiency is improved, different types of pages adopt strategy modes, and corresponding strategy modes are determined according to the identification of the marketing page, so that the algorithm among components is isolated, and the expandability is improved.
Referring to fig. 2, another embodiment of a method for building a marketing page according to the embodiment of the present invention includes:
201. receiving a marketing page building request, and acquiring a corresponding target marketing strategy type from a preset strategy type library according to the marketing page building request;
202. acquiring a corresponding preset page building assembly according to the target marketing strategy type;
203. creating a visual page editing area according to the preset page building assembly;
specifically, in this embodiment, the specific implementation of steps 201 to 203 is similar to steps 101 to 103 described above, and will not be repeated here.
204. According to the layout of the preset page, assembling the preset page building assembly through the visual page editing area to obtain a candidate page;
Specifically, in this embodiment, the specific implementation of step 204 is similar to that of step 104 described above, and will not be repeated here.
Optionally, step 204 includes: the server acquires a position corresponding relation corresponding to the preset page building assembly based on the preset page layout and the visual page editing area; the server performs region 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 assembly 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 by taking the end point of the left lower corner in the page as the origin, establishes an X axis from the origin to the right based on the plane of the page, establishes a Y axis upwards, and obtains the position coordinates of the preset page building components by taking 1cm as a unit distance, and the server assembles the preset page building components according to the position coordinates, so as to obtain the corresponding candidate page.
205. Calling a preset database interface to acquire 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 described above, and will not be repeated here.
Optionally, step 205 includes: the server analyzes a data tag of the preset page building assembly through a preset database interface, and the data tag is used for storing a data source address identifier corresponding to the page building assembly; and the server downloads the data source corresponding to the preset page building assembly from the preset database through the data source address identification.
Specifically, the server invokes the preset database interface to obtain the data tag of the preset page building set, and it needs to be 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 blockchain. The server identifies a data tag of target data by using a tag rule, the data tag comprises at least one identification field, a mapping relation between the data tag and a data source address identifier is established, further, a data source address identifier corresponding to the data tag is obtained based on the mapping relation between the data tag and the data source address identifier, a data source address URL file is generated by analyzing the data source address identifier code based on the identification rule, and a corresponding data source is downloaded from a database according to the URL file.
206. Based on the data source and the preset page building assembly, reading rendering data corresponding to the preset page building assembly;
specifically, the data source includes rendering data such as an HTML template and a CSS style for page display, the subsequent server can analyze and acquire information included in the data source, the server scans the preset page building set, reads a corresponding data identifier, and further acquires rendering data such as the corresponding HTML template and CSS style in the data source page according to the data identifier.
207. Configuring a corresponding view for a preset page building assembly by using rendering data and constructing a page rendering script;
Specifically, the server processes the HTML template, configures a corresponding view for the preset page building set according to the CSS style rendering data, the view refers to a corresponding set display frame view, and constructs a corresponding page rendering script, the server can identify a style introduction sentence containing a top page tag in the HTML file according to the HTML template file and the CSS style file through the page rendering script, further obtain a style description sentence corresponding to each style name identified in the CSS style file by a corresponding style name, and fill and replace the corresponding style introduction sentence in the HTML template file according to the style description sentence, so that the server can render the preset page building set according to the page rendering script.
208. And updating the rendering data to the view corresponding to the preset page building set by adopting the page rendering script to obtain the corresponding target marketing page.
Specifically, the server identifies style introduction sentences containing top page labels in the HTML file based on the HTML template file and the CSS style file according to the constructed page rendering script, further obtains corresponding style class names, identifies style description sentences corresponding to each style class name in the CSS style file, then inserts the style description sentences into defined document elements by using a preset interface to replace corresponding style introduction sentences in the HTML template file, namely, corresponding preset page building sets can be displayed, and the operation is carried out for each preset page building set, 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 identification corresponding to the request, determines an assembly index file corresponding to the target strategy type according to the identification, analyzes the assembly index file to obtain a URL address file of an assembly in a database, further downloads a page building assembly corresponding to the target strategy type, reads tag information included in the preset page building assembly, constructs a corresponding visual page editing area according to the tag information, scans the position corresponding relation of each assembly in the preset page layout according to the preset page layout, acquires the position coordinates of the preset page building assembly, assembles the preset page building assembly according to the position coordinates, further obtains a corresponding candidate page, invokes a preset database interface to acquire a data tag of the preset page assembly, establishes a mapping relation between the data tag and a data source address identifier according to the data tag, acquires the data source address identifier corresponding to the data tag according to the mapping relation, downloads a corresponding data source according to the address identifier, scans the preset page building assembly according to the tag information, acquires position corresponding relation of each preset page building assembly, acquires corresponding page building page data according to the position coordinates, and renders script, and renders the script, and the like, renders the page corresponding page data of the preset page building assembly according to the mapping template. In the embodiment of the invention, the marketing page system based on high-cohesive-property easy expansion splits the page into the components, and adopts a visual component editing mode, so that operation background personnel can build the marketing page in a component dragging mode, the page building efficiency is improved, the HTML template data and the CSS style data are stored in the cloud database, the operation can be more convenient and rapid in the later component change, 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 building request, and obtain a corresponding target marketing strategy type from a preset strategy type library according to the marketing page building request;
The obtaining module 302 is configured to obtain a corresponding preset page building set according to the target marketing strategy type;
a creation module 303, configured to create a visual page editing area according to the preset page building set;
The assembling module 304 is configured to assemble the preset page building set through the visual page editing area according to a preset page layout, so as 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 set;
And the rendering module 306 is configured to read rendering data corresponding to the preset page building sets based on the data source, and render the preset page building sets in the candidate pages according to the rendering data, so as 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 identifier 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, a preset basic operation interface is called 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 candidate marketing strategy types 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 set corresponding to the target marketing strategy type based on the set index file.
Optionally, the creation module 303 may be further specifically configured to: selecting a corresponding preset layout template based on the preset page building set; generating a layout code by using the preset layout template in 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 set based on the preset page layout and the visual page editing area; performing region 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 assembly in the visual page area through the position coordinates to obtain a candidate page.
Optionally, the calling module 305 may be further specifically configured to: analyzing a data tag of the preset page building set through the preset database interface, wherein the data tag is used for storing a data source address identifier corresponding to the page building set; and downloading the data source corresponding to the preset page building assembly from a preset database through the data source address identification.
Optionally, the rendering module 306 may be further specifically configured to: based on the data source and the preset page building set, reading rendering data corresponding to the preset page building set; configuring a corresponding view for the preset page building assembly by using the rendering data and constructing a page rendering script; and updating the rendering data to the view corresponding to the preset page building set by adopting the page rendering script to obtain a corresponding target marketing page.
Fig. 4 is a schematic structural diagram of a construction device for a marketing page provided by the embodiment of the present invention, where the construction device 400 for the marketing page may have a relatively large difference due to different configurations or performances, and may include one or more processors (central processing units, CPUs) 410 (e.g., one or more processors) and a memory 420, one or more storage mediums 430 (e.g., one or more mass storage devices) storing application programs 433 or data 432. Wherein memory 420 and storage medium 430 may be transitory 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 device 400 for marketing pages. Still further, the processor 410 may be configured to communicate with the storage medium 430 to execute a series of instruction operations in the storage medium 430 on the construction device 400 of the marketing page.
The marketing page building device 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 Serve, mac OS X, unix, linux, freeBSD, and the like. It will be appreciated by those skilled in the art that the construction device structure of the marketing page shown in fig. 4 does not constitute a limitation of the construction device of the marketing page, and may comprise more or less components than illustrated, or may combine certain components, or may be arranged in different components.
The invention also provides a marketing page building device, which comprises a memory and a processor, wherein the memory stores computer readable instructions, and when the computer readable instructions are executed by the processor, the processor executes the steps of the marketing page building method in the embodiments.
The present invention also provides a computer readable storage medium, which may be a non-volatile computer readable storage medium, or may be a volatile computer readable storage medium, in which instructions are stored that, when executed on a computer, cause the computer to perform the steps of the method for building a marketing page.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory, a magnetic disk, or an optical disk, or the like, which can store program codes.
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 decentralised database, is a string of data blocks that are generated in association using cryptographic methods, each of which contains a batch of information for network transactions, for verifying the validity (anti-counterfeiting) of the information and generating the next block, may include a blockchain underlying platform, a platform product service layer, an application service layer, and so on.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. The method for building the marketing page is characterized by comprising the following steps of:
Receiving a marketing page building request, and acquiring a corresponding target marketing strategy type from a preset strategy type library according to the marketing page building request;
acquiring a corresponding preset page building set according to the target marketing strategy type;
creating a visual page editing area according to the preset page building assembly;
according to the preset page layout, assembling the preset page building assembly through the visual page editing area to obtain a candidate page;
calling a preset database interface to acquire a data source corresponding to the preset page building assembly;
Reading rendering data corresponding to the preset page building sets based on the data source, and rendering the preset page building sets in the candidate pages according to the rendering data to obtain target marketing pages;
The receiving a marketing page building request, and obtaining the corresponding target marketing strategy type from a preset strategy type library according to the marketing page building request comprises the following steps:
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 identifier 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, a preset basic operation interface is called 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 candidate marketing strategy types 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.
2. The method for building a marketing page according to claim 1, wherein the obtaining a corresponding preset page building set according to the target marketing strategy type comprises:
Scanning content information corresponding to the target marketing strategy type to obtain a corresponding component index file;
And determining a preset page building set corresponding to the target marketing strategy type based on the set index file.
3. The method of building a marketing page of claim 1, wherein the creating a visual page editing area from the preset page building set comprises:
selecting a corresponding preset layout template based on the preset page building set;
Generating a layout code by using the preset layout template in 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.
4. The method for building the marketing page according to claim 1, wherein the assembling the preset page building set through the visual page editing area according to the preset page layout to obtain the candidate page comprises the following steps:
Acquiring a position corresponding relation corresponding to the preset page building set based on the preset page layout and the visual page editing area;
performing region 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 assembly in the visual page area through the position coordinates to obtain a candidate page.
5. The method of claim 1, wherein the invoking a preset database interface to obtain a data source corresponding to the preset page building set comprises:
Analyzing a data tag of the preset page building set through the preset database interface, wherein the data tag is used for storing a data source address identifier corresponding to the page building set;
And downloading the data source corresponding to the preset page building assembly from a preset database through the data source address identification.
6. The method for building the marketing page according to any one of claims 1 to 5, wherein the reading rendering data corresponding to the preset page building sets based on the data source and rendering the preset page building sets in the candidate page according to the rendering data to obtain a target marketing page comprises:
Based on the data source and the preset page building set, reading rendering data corresponding to the preset page building set;
Configuring a corresponding view for the preset page building assembly by using the rendering data and constructing a page rendering script;
And updating the rendering data to the view corresponding to the preset page building set by adopting the page rendering script to obtain a corresponding target marketing page.
7. A marketing page building device, characterized in that the marketing page building device performs the marketing page building method according to any one of claims 1 to 6, the marketing page building device comprising:
The receiving module is used for receiving a marketing page building request and acquiring a corresponding target marketing strategy type from a preset strategy type library according to the marketing page building request;
the acquisition module is used for acquiring a corresponding preset page building set according to the target marketing strategy type;
the creation 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 the preset page layout to obtain candidate pages;
the calling module is used for calling a preset database interface to acquire 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 sets based on the data source, and rendering the preset page building sets in the candidate pages according to the rendering data to obtain a target marketing page.
8. The utility model provides a build equipment of marketing page, its characterized in that, the build equipment of marketing page includes: a memory and at least one processor, the memory having instructions stored therein;
the at least one processor invokes the instructions in the memory to cause the construction device of the marketing page to perform the construction method of the marketing page of any of claims 1-6.
9. A computer readable storage medium having instructions stored thereon, which when executed by a processor, implement the method of building a marketing page according to any of claims 1-6.
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 CN113419728A (en) 2021-09-21
CN113419728B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN116360761B (en) * 2023-03-26 2023-11-14 二十六度数字科技(广州)有限公司 Automatic marketing method and system for private domain and public domain based on data labels
CN116974558B (en) * 2023-06-13 2024-02-23 天翼爱音乐文化科技有限公司 Marketing billing activity H5 page development platform and development method
CN118034666B (en) * 2023-12-29 2024-08-09 北京领雁科技股份有限公司 Construction platform for marketing page and marketing page construction 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

Also Published As

Publication number Publication date
CN113419728A (en) 2021-09-21

Similar Documents

Publication Publication Date Title
CN113419728B (en) Marketing page building method, device, equipment and storage medium
US12026727B2 (en) Systems and methods for managing and modifying web content
CN109508191B (en) Code generation method and system
US11182535B2 (en) Configuring a page for drag and drop arrangement of content artifacts in a page development tool
CN110968325B (en) Applet conversion method and device
US8260844B2 (en) Information messaging and collaboration system
CN106293675B (en) System static resource loading method and device
JP5526128B2 (en) Embed macros in web pages that contain advertisements
KR101444389B1 (en) Message catalogs for remote modules
CN103389895B (en) A kind of generation method and system of front end page
US9110686B2 (en) Web client command infrastructure integration into a rich client application
US20190065514A1 (en) Taxonomy Driven Multi-System Networking and Content Delivery
EP2680159A1 (en) Dynamic language translation of a message
KR20080083300A (en) Remote module incorporation into a container document
JP2004334866A (en) Conversion of web site summary through tag rib
US20220060565A1 (en) System and methods for web-based software application translation
CN112765516A (en) Page content display method and device, storage medium and electronic device
CN107515866B (en) Data operation method, device and system
US20120072828A1 (en) Complex input to image transformation for distribution
CN116719523A (en) Page rendering method and electronic device
US7685511B2 (en) Framework for providing and using schema data for markup languages
US10083407B2 (en) Ad hoc task creation and process modification
US20150154162A1 (en) Website content and seo modifications via a web browser for native and third party hosted websites
CN113139145B (en) Page generation method and device, electronic equipment and readable storage medium
CN115390835A (en) Method and device for constructing small program labeling search box

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