CN112528199B - Method and device for publishing activity page, electronic device and storage medium - Google Patents

Method and device for publishing activity page, electronic device and storage medium Download PDF

Info

Publication number
CN112528199B
CN112528199B CN202011441846.0A CN202011441846A CN112528199B CN 112528199 B CN112528199 B CN 112528199B CN 202011441846 A CN202011441846 A CN 202011441846A CN 112528199 B CN112528199 B CN 112528199B
Authority
CN
China
Prior art keywords
page
data
configuration
identification information
active
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
CN202011441846.0A
Other languages
Chinese (zh)
Other versions
CN112528199A (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.)
Hangzhou Souche Data Technology Co ltd
Original Assignee
Hangzhou Souche Data Technology 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 Hangzhou Souche Data Technology Co ltd filed Critical Hangzhou Souche Data Technology Co ltd
Priority to CN202011441846.0A priority Critical patent/CN112528199B/en
Publication of CN112528199A publication Critical patent/CN112528199A/en
Application granted granted Critical
Publication of CN112528199B publication Critical patent/CN112528199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to an activity page publishing method, an activity page publishing device, an electronic device and a storage medium, wherein the activity page publishing method comprises the following steps: acquiring page configuration data input by a user, wherein the page configuration data comprises page element data and page configuration parameters; processing page element data according to the page configuration parameters to obtain first configuration data corresponding to the active page to be released; storing the first configuration data in a preset database, and generating first page identification information associated with the first configuration data; after the first page identification information is sent to the landing page, the landing page reads the first configuration data according to the first page identification information and issues the first configuration data, the problems of complex page configuration, low iteration updating efficiency and high cost of the marketing activities in the related technology are solved, the marketing activities are generated in a CMS background configuration mode, and the marketing activities can be iterated rapidly.

Description

Method and device for publishing activity page, electronic device and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for publishing an active page, an electronic apparatus, and a storage medium.
Background
With the rapid development of mobile internet technology, more and more enterprises and merchants conduct marketing activities through internet social media to increase publicity for products.
Marketing campaigns have the characteristics of time-critical activity and frequent iteration of activity content during the activity. In the related art, in order to meet the requirements of different marketing activities, enterprises are required to develop and meet related functions or components for support, and under the condition that the marketing activities are urgent and intensive, the problems of short software development time and high development difficulty exist.
At present, no effective solution is provided aiming at the problems of complex page configuration, low iteration updating efficiency and high cost of the marketing activities in the related technology.
Disclosure of Invention
The embodiment of the application provides a method and a device for publishing a live page, an electronic device and a storage medium, which are used for at least solving the problems of complex configuration, low iteration updating efficiency and high cost of a marketing campaign page in the related technology.
In a first aspect, an embodiment of the present application provides a method for publishing a live page, including: acquiring page configuration data input by a user, wherein the page configuration data comprises page element data and page configuration parameters; processing the page element data according to the page configuration parameters to obtain first configuration data corresponding to an active page to be issued, wherein the active page comprises one of the following: single page active pages, multi-page active pages; storing the first configuration data in a preset database, and generating first page identification information related to the first configuration data; after the first page identification information is sent to a landing page, the landing page reads the first configuration data according to the first page identification information and issues the first configuration data.
In some embodiments, the page configuration parameter comprises a number of pages, and before processing the page element data according to the page configuration parameter, the method comprises: and extracting the page number from the page configuration parameters, and determining the active page according to the page number.
In some embodiments, the activity page includes the single-page activity page, and the processing the page element data according to the page configuration parameter to obtain first configuration data corresponding to the activity page to be published includes: transcoding the page element data according to a preset format to generate first page data, and determining that the first configuration data comprises the first page data, wherein the preset format comprises a JSON data format.
In some embodiments, storing the first configuration data in a predetermined database, and generating the first page identification information associated with the first configuration data comprises: storing the first page data in the database, and acquiring first storage address information of the first page data in the database; and processing the first storage address information according to a preset format to generate first identification information, and determining that the first page identification information comprises the first identification information, wherein the preset format comprises a JSON data format.
In some embodiments, after sending the first page identification information to a landing page, reading, by the landing page, the first configuration data according to the first page identification information, and publishing the first configuration data includes: the landing page reads the first identification information and generates first routing address information according to the first identification information; the landing page reads the first page data according to the first routing address information; the landing page detects first data corresponding to the first modules of the landing page in the first page data, and renders and displays the first data on the corresponding first modules.
In some embodiments, the page configuration parameter further includes a data flow identifier, the active page includes the multi-page active page, and processing the page element data according to the page configuration parameter to obtain first configuration data corresponding to the active page to be published includes: extracting first element data and second element data from the page element data, wherein the first element data comprises element data configured in a first page, the second element data comprises transfer data for transferring from the first page to a next first page, and the multi-page active page comprises a plurality of first pages; transcoding the first element data, the second element data and the data flow identification according to a preset format to obtain first transcoding data, second transcoding data and a data flow switch identification, wherein the preset format comprises a JSON data format, and the data flow identification is used for determining whether the second element data flows; and generating second page data according to the first transcoding data, the second transcoding data and the data circulation switch identifier, and determining that the first configuration data comprises a plurality of copies of the second page data.
In some embodiments, storing the first configuration data in a predetermined database, and generating the first page identification information associated with the first configuration data comprises: storing a plurality of copies of the second page data in the database, and acquiring a plurality of second storage address information corresponding to the plurality of copies of the second page data in the database; processing the second storage address information according to a preset format to generate a plurality of second identifiers, wherein the preset format comprises a JSON data format; and coding the plurality of second identifiers according to a preset sequence to generate second identifier information, and determining that the first page identifier information comprises the second identifier information.
In some embodiments, after sending the first page identification information to a landing page, reading, by the landing page, the first configuration data according to the first page identification information, and publishing the first configuration data includes: the landing page reads the second identification information and detects a plurality of second identifications in the second identification information; the landing page generates a plurality of second routing address information according to the second identification, and reads a plurality of second page data according to the plurality of second routing address information; the landing page determines third transcoding data of each first page for publishing and displaying, renders and displays third data corresponding to a plurality of second modules of each first page in the third transcoding data on the plurality of second modules, and streams the second transcoding data in the second page data to a next first page, wherein the third transcoding data is generated according to the first transcoding data in the second page data corresponding to each first page and the received second transcoding data.
In some of these embodiments, the method further comprises: and sending the first page identification information to the landing page through postmessage communication, and/or reading the first configuration data by the landing page through the postmessage communication.
In a second aspect, an embodiment of the present application provides an active page publishing apparatus, including:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring page configuration data input by a user, and the page configuration data comprises page element data and page configuration parameters;
the configuration module is configured to process the page element data according to the page configuration parameter to obtain first configuration data corresponding to an active page to be published, where the active page includes one of the following: single page active pages, multi-page active pages;
the generating module is used for storing the first configuration data in a preset database and generating first page identification information related to the first configuration data;
and the issuing module is used for reading the first configuration data according to the first page identification information by the landing page and issuing the first configuration data after sending the first page identification information to the landing page.
In a third aspect, an embodiment of the present application provides an electronic apparatus, which includes a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform the activity page publishing method according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a storage medium, where a computer program is stored in the storage medium, where the computer program is configured to execute the method for publishing an active page according to the first aspect when running.
Compared with the related art, the method, the device, the electronic device and the storage medium for publishing the active page provided by the embodiment of the application acquire the page configuration data input by the user, wherein the page configuration data comprises page element data and page configuration parameters; processing the page element data according to the page configuration parameters to obtain first configuration data corresponding to an activity page to be released, wherein the activity page comprises one of the following data: single page active pages, multi-page active pages; storing the first configuration data in a preset database, and generating first page identification information related to the first configuration data; after the first page identification information is sent to the landing page, the landing page reads the first configuration data according to the first page identification information and issues the first configuration data, the problems of complex page configuration, low iteration updating efficiency and high cost of the marketing activities in the related technology are solved, the marketing activities are generated in a CMS background configuration mode, and the marketing activities can be iterated rapidly.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a terminal of an activity page publication method according to an embodiment of the present invention;
FIG. 2 is a flow diagram of an activity page publication method according to an embodiment of the application;
fig. 3 is a block diagram of an activity page issuance apparatus according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to only those steps or elements but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
Various techniques described in this application may be used for configuration generation and iteration of landing pages for marketing campaigns, advertising promotions.
Before describing and explaining embodiments of the present application, a description will be given of the related art used in the present application as follows:
the landing page, also called landing page and guide page, refers to a page that a visitor sees a specific marketing campaign with a definite theme sent from other places, i.e., an enticing offer issued through Email, social media or advertisements, etc., and is linked to the first page on your website after clicking.
The Content Management System (CMS) is a software System located between the WEB front end (WEB server) and the back end office System or process (Content creation, editing); the content creators, editors and publishers use the content management system to submit, modify, approve and publish the content; the content comprises information of files, tables, pictures, data in a database, videos and the like which are published to Internet, Intranet and Extranet websites; the content management system optionally provides a content capture tool, automatically captures the content of a third-party information source, such as a text file, an HTML webpage, a Web service, a relational database and the like, and puts the content into a content library of the content management system after analysis and processing; with the development of personalization, the content management system also assists the WEB front end to provide content to a content user in a personalized manner, i.e. a personalized portal framework is provided, so as to better push the content to the browser end of the user based on WEB technology.
The embodiment of the activity page publishing method provided by the embodiment can be executed in a terminal, a computer or a similar test platform. Taking the operation on the terminal as an example, fig. 1 is a hardware structure block diagram of the terminal of the activity page publishing method according to the embodiment of the present invention. As shown in fig. 1, the terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally, a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the terminal. For example, the terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as a computer program corresponding to the active page publishing method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the terminal. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet via wireless.
The present embodiment provides a method for publishing an active page, and fig. 2 is a flowchart of a method for publishing an active page according to an embodiment of the present application, and as shown in fig. 2, the flowchart includes the following steps:
step S201, obtaining page configuration data input by a user, where the page configuration data includes page element data and page configuration parameters.
In this embodiment, the configuration of the page configuration data is performed by a user on a Content Management System (CMS), when the user performs the configuration of the page configuration data, the CMS provides the user with a plurality of configuration items, each configuration item corresponds to one type of page configuration data, where the configuration items include: the system comprises an input box, a color selector, a vehicle type selector and an upload file.
It should be noted that, in the process of configuring the page configuration data, the Content Management System (CMS) will use the common or public configuration item of each active page as a part of the page configuration data of each active page, and generate the page configuration data of one active page together with the page configuration data configured by the user; wherein the common or common configuration items include: shared content, database dropped database data.
In this embodiment, the page element data corresponds to marketing elements of the activity page, and the marketing elements include names, mobile phones, vehicle models, cities, stores, arrival time lists, countdown and vehicle lists.
In this embodiment, the page configuration parameter is used to indicate how to configure the active page, for example: configuring a single-page active page or configuring a multi-page active page, for example: a data flow mode among a plurality of active pages of the multi-page active page; meanwhile, the page configuration parameter is also used to instruct to convert the page element data according to a preset data format, for example: and converting into data which is directly read and displayed by a landing page.
Step S202, processing the page element data according to the page configuration parameters to obtain first configuration data corresponding to an active page to be released, wherein the active page comprises one of the following data: single page active pages, multi-page active pages.
In this embodiment, processing the page element data according to the page configuration parameters at least includes: converting the page element data according to a preset data format indicated by the page configuration parameters, and configuring the converted page element data with corresponding data volume for the active page; the data amount configured for the active page is determined according to what type of active page configuration indicated in the page configuration parameters, for example: the page configuration parameter indicates configuring an active page having three pages, the configured first configuration data including at least total converted page element data of the three page configurations; when the data is configured, the corresponding page element data is selected from the converted page element data, and each page is configured one by one.
In this embodiment, when the first configuration data is the configuration data corresponding to the multi-page active page, the first configuration data further includes data used for data flow of multiple pages of the multi-page active page, that is, data from a previous page to a next page.
In this embodiment, the step of processing the page element data according to the page configuration parameters is to agree page element data (page content) of a plurality of modules to be configured in the active page into a uniform data format, so that after the first configuration data is obtained, the first configuration data can be directly rendered and displayed on a module corresponding to the active page, that is, a corresponding active page is generated.
Step S203, storing the first configuration data in a preset database, and generating first page identification information associated with the first configuration data.
In this embodiment, when the first configuration data is stored in the corresponding database of the content management system, one copy of the first configuration data corresponds to at least one piece of first page identification information, and each piece of first page identification information has a one-to-one correspondence with each copy of the first configuration data; in some optional embodiments, the first page identification information may be data obtained by performing corresponding data conversion on the first configuration data, or may be a storage address for storing the first configuration data, that is, the first page identification information may be used to obtain the corresponding first configuration data.
In this embodiment, after the user finishes processing the required page configuration data into the first configuration data, the entire first configuration data is stored in the database, and a piece of first page identification information is correspondingly generated.
Step S204, after the first page identification information is sent to the landing page, the landing page reads the first configuration data according to the first page identification information, and issues the first configuration data.
In this embodiment, the first page identification information is sent to the landing page via postmessage communication, and/or the landing page reads the first configuration data via postmessage communication.
In the present embodiment, a Content Management System (CMS) stores a plurality of first page identification information, and the plurality of first page identification information exists in the form of a first page identification information list; after a Content Management System (CMS) finishes page configuration data, first page identification information is extracted from a first page identification information list and transmitted to a landing page, after the landing page receives the first page identification information, corresponding routing address information is generated according to the first page identification information, then the landing page reads the first configuration data according to the routing address information and is matched with default data of each module of the landing page, and corresponding content is rendered on the landing page in sequence to publish the first configuration data.
In this embodiment, the principle of the landing page matching the first configuration data with the default data of each module of the landing page is as follows: if the first configuration data exists, the default data is covered, and if the first configuration data does not exist, the default data is kept.
Through the steps S201 to S204, acquiring page configuration data input by a user, where the page configuration data includes page element data and page configuration parameters; processing page element data according to the page configuration parameters to obtain first configuration data corresponding to the active page to be released; storing the first configuration data in a preset database, and generating first page identification information related to the first configuration data; after the first page identification information is sent to the landing page, the landing page reads the first configuration data according to the first page identification information and issues the first configuration data, the problems of complex page configuration, low iteration updating efficiency and high cost of the marketing activities in the related technology are solved, the marketing activities are generated in a CMS background configuration mode, and the marketing activities can be iterated rapidly.
It should be noted that, in the process of performing background data configuration by a Content Management System (CMS), the method for publishing an activity page according to the embodiment of the present application may further implement a function of previewing an activity page being configured, so as to visually see what effect the configuration currently made will be after completion.
Specifically, a Content Management System (CMS) and a landing page communicate with each other in a postmessage manner, the landing page takes special routing information as a preview, and a method for newly adding a reception postmessage recalls rendering logic after receiving data that is "updated", that is, completes a real-time preview effect in a process of configuring a database.
In some embodiments, the page configuration parameter includes a page number, and before processing the page element data according to the page configuration parameter, the following steps are further performed: and extracting the page number from the page configuration parameters, and determining the active page according to the page number.
In this embodiment, it is determined whether an active page to be generated and released is a single-page active page or a multi-page active page by determining page data configured in a page configuration parameter; meanwhile, the data volume of the first configuration data which needs to be configured for the activity page is determined by determining the page number of the activity page to be generated and issued; moreover, when it is determined that the active page is a multi-page active page, data for flowing among multiple pages of the multi-page active page needs to be configured in the configured first configuration data.
By extracting the page number from the page configuration parameters in the steps and determining the active page according to the page number, the confirmation of the type of the active page to be generated and issued is realized, and the accuracy of the configured data is ensured.
In some embodiments, the activity page includes a single-page activity page, and the processing the page element data according to the page configuration parameters to obtain first configuration data corresponding to the activity page to be published includes the following steps: transcoding the page element data according to a preset format to generate first page data, and determining that the first configuration data comprises the first page data, wherein the preset format comprises a JSON data format.
In this embodiment, when the active page is determined to be a single-page active page by the page number, the first page configuration data is data corresponding to the single page, and the first page data is generated by converting the page element data configured by the user according to the preset format, that is, the entire page element data configured by the user is converted into the entire JSON data, thereby completing the data configuration of the active page.
The page element data are transcoded according to the preset format in the steps to generate first page data, and the first configuration data are determined to comprise the first page data, so that the configured data are transcoded according to the corresponding format, and the page data corresponding to the single-page movable page are generated.
In some embodiments, the first configuration data includes first page data, storing the first configuration data in a preset database, and generating first page identification information associated with the first configuration data includes the following steps:
step 1, storing the first page data in a database, and acquiring first storage address information of the first page data in the database.
In this embodiment, the first storage address information is used for generating a key parameter of the corresponding routing information for the landing page.
And 2, processing the first storage address information according to a preset format to generate first identification information, and determining that the first page identification information comprises the first identification information, wherein the preset format comprises a JSON data format.
Storing the first page data in the database in the steps, and acquiring first storage address information of the first page data in the database; and processing the first storage address information according to a preset format to generate first identification information, and determining that the first page identification information comprises the first identification information, so that the generation of the activity identification information corresponding to the single-page activity page is realized.
In some embodiments, the first page identification information includes first identification information, and after the first page identification information is sent to the landing page, the landing page reads the first configuration data according to the first page identification information, and issues the first configuration data includes the following steps:
step 1, the landing page reads first identification information and generates first routing address information according to the first identification information.
In this embodiment, the first identification information is storage address information of first page data transcoded into a preset format; and after the landing page receives the first identification information, the first identification information is used as a variable parameter of the landing page routing information to generate first routing address information.
And step 2, the landing page reads the first page data according to the first routing address information.
In this embodiment, the landing page accesses a database corresponding to a Content Management System (CMS) according to the first routing address information, and reads the first page data; the first page data is data which is correspondingly configured on a single-page active page.
And 3, detecting first data corresponding to the plurality of first modules of the landing page in the first page data by the landing page, and rendering and displaying the first data on the corresponding plurality of first modules.
In this embodiment, the rendering and displaying of the first data on the corresponding plurality of first modules is to perform data coverage according to a principle that the default data of the first modules is covered if the first data exists, and the default data of the first modules is covered if the first data does not exist, and then render the corresponding contents in sequence after the data coverage is completed.
Reading first identification information through the landing page in the step, and generating first routing address information according to the first identification information; the landing page reads first page data according to the first routing address information; the landing page detects first data corresponding to the first modules of the landing page in the first page data, and renders and displays the first data on the corresponding first modules, so that the landing page reads page configuration data corresponding to the single-page activity page and issues the single-page activity page.
In some embodiments, the page configuration parameters further include a data flow identifier, the active page includes a multi-page active page, and the step of processing the page element data according to the page configuration parameters to obtain first configuration data corresponding to the active page to be published includes:
step 1, extracting first element data and second element data from page element data, wherein the first element data comprises element data configured on a first page, the second element data comprises transfer data from a first page flow to a next first page, and a multi-page active page comprises a plurality of first pages.
And 2, transcoding the first element data, the second element data and the data flow identification according to a preset format to obtain first transcoding data, second transcoding data and a data flow switch identification, wherein the preset format comprises a JSON data format, and the data flow identification is used for determining whether the second element data flows.
And 3, generating second page data according to the first transcoding data, the second transcoding data and the data flow switch identifier, and determining that the first configuration data comprises a plurality of copies of the second page data.
Extracting first element data and second element data from the page element data in the steps; transcoding the first element data, the second element data and the data flow identification according to a preset format to obtain first transcoding data, second transcoding data and a data flow switch identification; and generating second page data according to the first transcoding data, the second transcoding data and the data flow switch identifier, and determining that the first configuration data comprises a plurality of copies of the second page data, so that the configured data is transcoded according to a corresponding format, and the page data corresponding to the multi-surface movable page is generated.
In some embodiments, the first configuration data includes a plurality of second page data, storing the first configuration data in a preset database, and generating the first page identification information associated with the first configuration data includes the following steps:
step 1, storing the multiple copies of the second page data in a database, and acquiring multiple second storage address information corresponding to the multiple copies of the second page data in the database.
In this embodiment, the plurality of second storage address information is used for generating a plurality of key parameters of corresponding routing information for the landing page.
And 2, processing the plurality of second storage address information according to a preset format to generate a plurality of second identifications, wherein the preset format comprises a JSON data format.
And 3, encoding the plurality of second identifiers according to a preset sequence to generate second identifier information, and determining that the first page identifier information comprises the second identifier information.
Storing a plurality of second page data in the database in the steps, and acquiring a plurality of second storage address information corresponding to the plurality of second page data in the database; processing the second storage address information according to a preset format to generate a plurality of second identifications; and coding the plurality of second identifiers according to a preset sequence to generate second identifier information, and determining that the first page identifier information comprises the second identifier information, so that the generation of the activity identifier information corresponding to the multi-page activity page is realized.
In some embodiments, the first page identification information includes the second identification information, and after the first page identification information is sent to the landing page, the landing page reads the first configuration data according to the first page identification information, and issues the first configuration data includes the following steps:
step 1, the landing page reads the second identification information, and detects a plurality of second identifications in the second identification information.
In this embodiment, the second identifier is storage address information of a plurality of second page data transcoded into a preset format.
And 2, the landing page generates a plurality of second routing address information according to the second identifier, and reads a plurality of second page data according to the plurality of second routing address information.
In this embodiment, after receiving the second identifier, the landing page generates a plurality of second routing address information by using the second identifier as a variable parameter of the landing page routing information; the landing page accesses a database corresponding to a Content Management System (CMS) according to the plurality of second routing address information and reads a plurality of second page data; the second page data is data configured corresponding to the first page.
And step 3, the landing page determines third transcoding data of each first page for publishing and displaying, renders and displays third data corresponding to a plurality of second modules of each first page in the third transcoding data on the plurality of second modules, and transfers a second transcoding data stream in the second page data to a next first page, wherein the third transcoding data is generated according to first transcoding data in the second page data corresponding to each first page and the received second transcoding data.
In this embodiment, the first transcoding data is data generated by transcoding the first element data according to a preset format, the second transcoding data is data generated by transcoding the second element data according to the preset format, and both the first element data and the second element data are extracted from the page element data.
In this embodiment, rendering and displaying the third transcoded data on the corresponding second modules is to overlay the default data of the second modules according to the principle that the default data of the second modules is overlaid when the third transcoded data exists, and the default data of the second modules is overlaid when the third transcoded data does not exist, and then render the corresponding contents in sequence after the data overlay is completed.
Reading second identification information through the landing page in the step, and detecting a plurality of second identifications in the second identification information; the landing page generates a plurality of pieces of second routing address information according to the second identification, and reads a plurality of pieces of second page data according to the plurality of pieces of second routing address information; the landing page determines third transcoding data of each first page for publishing and displaying, renders and displays third data corresponding to a plurality of second modules of each first page in the third transcoding data on the plurality of second modules, and transfers second transcoding data in the second page data to the next first page, so that the landing page reads page configuration data corresponding to the multi-page active page and publishes the multi-page active page.
It should be noted that, when the active page is a multi-page active page, there is data flow between multiple pages of the active page, for example: after the first page reserves resources (corresponding to cache data configured after the page data configuration is finished), the second page needs resource reserving data (corresponding to second element data or second transcoding data); according to the method and the device, associated second identification information is configured for a Content Management System (CMS) of a front active page and a back active page (first pages), after a first page of a multi-page active page is generated and released and displayed, corresponding reserved data is stored in a cache field of a second identification corresponding to the first page, when the next first page is entered, the previous level second identification informs that the data of the previous first page is stored on the next first page, the reserved data is stored in a designated field cache, and the next first page generates and releases and displays the page according to the configured data (including first transcoding data and second transcoding data), and so on.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
The present embodiment further provides an apparatus for publishing a live page, which is used to implement the foregoing embodiments and preferred embodiments, and is not described again. As used hereinafter, the terms "module," "unit," "subunit," and the like may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 3 is a block diagram of an activity page issuance apparatus according to an embodiment of the present application, and as shown in fig. 3, the apparatus includes:
the acquiring module 31 is configured to acquire page configuration data input by a user, where the page configuration data includes page element data and page configuration parameters;
the configuration module 32 is coupled to the obtaining module 31, and configured to process the page element data according to the page configuration parameter to obtain first configuration data corresponding to an active page to be published, where the active page includes one of the following: single page active pages, multi-page active pages;
a generating module 33, coupled to the configuring module 32, configured to store the first configuration data in a preset database and generate first page identification information associated with the first configuration data;
and the issuing module 34 is coupled to the generating module 33, and configured to read the first configuration data according to the first page identification information by the landing page after sending the first page identification information to the landing page, and issue the first configuration data.
In some embodiments, the page configuration parameter includes the number of pages, and the active page issuing device is configured to extract the number of pages from the page configuration parameter and determine the active page according to the number of pages.
In some embodiments, the active page includes a single-page active page, and the configuration module 32 is configured to transcode the page element data according to the preset format, generate the first page data, and determine that the first configuration data includes the first page data, where the preset format includes a JSON data format.
In some embodiments, the generating module 33 is configured to store the first page data in a database, and obtain first storage address information of the first page data in the database; and processing the first storage address information according to a preset format to generate first identification information, and determining that the first page identification information comprises the first identification information, wherein the preset format comprises a JSON data format.
In some embodiments, the issuing module 34 is configured to read the first identification information, and generate the first routing address information according to the first identification information; reading first page data according to the first routing address information; first data corresponding to the plurality of first modules of the landing page are detected in the first page data, and the first data are rendered and displayed on the corresponding plurality of first modules.
In some embodiments, the page configuration parameters further include a data flow identifier, the active page includes a multi-page active page, and the configuration module 32 is configured to extract first element data and second element data from the page element data, where the first element data includes the element data configured in the first page, the second element data includes transfer data from the first page flow to the next first page, and the multi-page active page includes a plurality of first pages; transcoding the first element data, the second element data and the data stream identifier according to a preset format to obtain first transcoded data, second transcoded data and a data stream switch identifier, wherein the preset format comprises a JSON data format, and the data stream identifier is used for determining whether the second element data is streamed or not; and generating second page data according to the first transcoding data, the second transcoding data and the data flow switch identifier, and determining that the first configuration data comprises a plurality of sets of second page data.
In some embodiments, the generating module 33 is configured to store the multiple copies of the second page data in the database, and obtain multiple pieces of second storage address information corresponding to the multiple copies of the second page data in the database; processing the plurality of second storage address information according to a preset format to generate a plurality of second identifiers, wherein the preset format comprises a JSON data format; and coding the plurality of second identifiers according to a preset sequence to generate second identifier information, and determining that the first page identifier information comprises the second identifier information.
In some embodiments, the issuing module 34 is configured to read the second identification information and detect a plurality of second identifications in the second identification information; generating a plurality of second routing address information according to the second identification, and reading a plurality of second page data according to the plurality of second routing address information; determining third transcoding data of each first page for publishing display, rendering and displaying the third data corresponding to the plurality of second modules of each first page in the third transcoding data on the plurality of second modules, and transferring second transcoding data in the second page data to a next first page, wherein the third transcoding data is generated according to the first transcoding data in the second page data corresponding to each first page and the received second transcoding data.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
The present embodiment also provides an electronic device comprising a memory having a computer program stored therein and a processor configured to execute the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
and S1, acquiring page configuration data input by the user, wherein the page configuration data comprises page element data and page configuration parameters.
S2, processing the page element data according to the page configuration parameters to obtain first configuration data corresponding to the activity page to be issued, wherein the activity page comprises one of the following: single page active pages, multi-page active pages.
S3, storing the first configuration data in a predetermined database, and generating first page identification information associated with the first configuration data.
And S4, after the first page identification information is sent to the landing page, the landing page reads the first configuration data according to the first page identification information and issues the first configuration data.
It should be noted that, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiment and optional implementation manners, and details of this embodiment are not described herein again.
In addition, in combination with the method for publishing the activity page in the foregoing embodiment, the embodiment of the present application may provide a storage medium to implement. The storage medium having stored thereon a computer program; the computer program, when executed by a processor, implements any of the above-described methods of live page publication.
It should be understood by those skilled in the art that various technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, however, as long as there is no contradiction between the combinations of the technical features, the scope of the present description should be considered as being described in the present specification.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not to be construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (11)

1. A method for publishing a live page, comprising:
acquiring page configuration data input by a user, wherein the page configuration data comprises page element data and page configuration parameters;
processing the page element data according to the page configuration parameters to obtain first configuration data corresponding to the activity page to be issued;
storing the first configuration data in a preset database, and generating first page identification information related to the first configuration data;
after the first page identification information is sent to a landing page, the landing page reads the first configuration data according to the first page identification information and issues the first configuration data;
the page configuration parameter further includes a data flow identifier, the active page includes a multi-page active page, and the processing the page element data according to the page configuration parameter to obtain first configuration data corresponding to the active page to be published includes:
extracting first element data and second element data from the page element data, wherein the first element data comprises element data configured in a first page, the second element data comprises transfer data for transferring from the first page to a next first page, and the multi-page active page comprises a plurality of first pages;
transcoding the first element data, the second element data and the data flow identification according to a preset format to obtain first transcoding data, second transcoding data and a data flow switch identification, wherein the preset format comprises a JSON data format, and the data flow identification is used for determining whether the second element data flows;
and generating second page data according to the first transcoding data, the second transcoding data and the data flow switch identifier, and determining that the first configuration data comprises a plurality of copies of the second page data.
2. The method of claim 1, wherein the page configuration parameter comprises a number of pages, and wherein prior to processing the page element data according to the page configuration parameter, the method further comprises: and extracting the page number from the page configuration parameters, and determining the active page according to the page number.
3. The method for publishing the active page according to claim 1, wherein the active page further comprises a single-page active page, and the processing the page element data according to the page configuration parameter to obtain the first configuration data corresponding to the active page to be published further comprises: transcoding the page element data according to a preset format to generate first page data, and determining that the first configuration data comprises the first page data, wherein the preset format comprises a JSON data format.
4. The method for publishing an active page according to claim 3, wherein storing the first configuration data in a preset database and generating first page identification information associated with the first configuration data further comprises:
storing the first page data in the database, and acquiring first storage address information of the first page data in the database;
and processing the first storage address information according to a preset format to generate first identification information, and determining that the first page identification information comprises the first identification information, wherein the preset format comprises a JSON data format.
5. The method according to claim 4, wherein after sending the first page identification information to the landing page, the landing page reads the first configuration data according to the first page identification information, and issues the first configuration data further comprises:
the landing page reads the first identification information and generates first routing address information according to the first identification information;
the landing page reads the first page data according to the first routing address information;
the landing page detects first data corresponding to the first modules of the landing page in the first page data, and renders and displays the first data on the corresponding first modules.
6. The method for publishing an active page according to claim 1, wherein storing the first configuration data in a preset database and generating first page identification information associated with the first configuration data comprises:
storing a plurality of copies of the second page data in the database, and acquiring a plurality of second storage address information corresponding to the plurality of copies of the second page data in the database;
processing the second storage address information according to a preset format to generate a plurality of second identifiers, wherein the preset format comprises a JSON data format;
and encoding the plurality of second identifiers according to a preset sequence to generate second identifier information, and determining that the first page identifier information comprises the second identifier information.
7. The method according to claim 6, wherein after sending the first page identification information to a landing page, reading the first configuration data by the landing page according to the first page identification information, and issuing the first configuration data comprises:
the landing page reads the second identification information and detects a plurality of second identifications in the second identification information;
the landing page generates a plurality of second routing address information according to the second identification, and reads a plurality of second page data according to the plurality of second routing address information;
the landing page determines third transcoding data of each first page for publishing and displaying, renders and displays third data corresponding to a plurality of second modules of each first page in the third transcoding data on the plurality of second modules, and streams the second transcoding data in the second page data to a next first page, wherein the third transcoding data are generated according to the first transcoding data in the second page data corresponding to each first page and the received second transcoding data.
8. The method of claim 1, wherein the method further comprises: and sending the first page identification information to the landing page through postmessage communication, and/or reading the first configuration data by the landing page through the postmessage communication.
9. An apparatus for publishing an active page, comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring page configuration data input by a user, and the page configuration data comprises page element data and page configuration parameters;
the configuration module is used for processing the page element data according to the page configuration parameters to obtain first configuration data corresponding to the active page to be issued;
the generating module is used for storing the first configuration data in a preset database and generating first page identification information related to the first configuration data;
the issuing module is used for reading the first configuration data according to the first page identification information by the landing page and issuing the first configuration data after the first page identification information is sent to the landing page;
the page configuration parameter further includes a data flow identifier, the active page includes a multi-page active page, and the configuration module is configured to process the page element data according to the page configuration parameter, and obtain first configuration data corresponding to the active page to be published includes:
the configuration module extracts first element data and second element data from the page element data, wherein the first element data comprises element data configured in a first page, the second element data comprises transfer data to flow from the first page to a next first page, and the multi-page active page comprises a plurality of first pages;
the configuration module transcodes the first element data, the second element data and the data flow identification according to a preset format to obtain first transcoding data, second transcoding data and a data flow switch identification, wherein the preset format comprises a JSON data format, and the data flow identification is used for determining whether the second element data flows;
and the configuration module generates second page data according to the first transcoding data, the second transcoding data and the data stream switch identifier, and determines that the first configuration data comprises a plurality of copies of the second page data.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and the processor is configured to execute the computer program to perform the activity page publication method of any one of claims 1 to 8.
11. A storage medium having stored thereon a computer program, wherein the computer program is arranged to execute the method of publishing an active page of any of claims 1 to 8 when executed.
CN202011441846.0A 2020-12-11 2020-12-11 Method and device for publishing activity page, electronic device and storage medium Active CN112528199B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011441846.0A CN112528199B (en) 2020-12-11 2020-12-11 Method and device for publishing activity page, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011441846.0A CN112528199B (en) 2020-12-11 2020-12-11 Method and device for publishing activity page, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN112528199A CN112528199A (en) 2021-03-19
CN112528199B true CN112528199B (en) 2022-09-09

Family

ID=74999757

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011441846.0A Active CN112528199B (en) 2020-12-11 2020-12-11 Method and device for publishing activity page, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN112528199B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007062140A2 (en) * 2005-11-25 2007-05-31 Ineomarketing, Inc. System and method for generating, maintaining, and rendering landing and web pages
CN102043630A (en) * 2010-12-30 2011-05-04 国网电力科学研究院 Method and system for generating multi-page in framework
CN104954501A (en) * 2014-03-31 2015-09-30 北京金山网络科技有限公司 Cross-domain information interactive method, device thereof and system thereof
CN109614568A (en) * 2018-12-07 2019-04-12 微梦创科网络科技(中国)有限公司 A kind of page generation method and device
CN110766476A (en) * 2019-10-31 2020-02-07 北京达佳互联信息技术有限公司 Advertisement processing method and device, computer equipment and storage medium
CN111523068A (en) * 2020-03-30 2020-08-11 五八有限公司 Page configuration method, device, server and storage medium
CN111651141A (en) * 2020-05-25 2020-09-11 北京百度网讯科技有限公司 Method and device for showing landing page of applet, electronic equipment and storage medium
CN112000334A (en) * 2020-07-20 2020-11-27 北京达佳互联信息技术有限公司 Page development method, device, server and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007062140A2 (en) * 2005-11-25 2007-05-31 Ineomarketing, Inc. System and method for generating, maintaining, and rendering landing and web pages
CN102043630A (en) * 2010-12-30 2011-05-04 国网电力科学研究院 Method and system for generating multi-page in framework
CN104954501A (en) * 2014-03-31 2015-09-30 北京金山网络科技有限公司 Cross-domain information interactive method, device thereof and system thereof
CN109614568A (en) * 2018-12-07 2019-04-12 微梦创科网络科技(中国)有限公司 A kind of page generation method and device
CN110766476A (en) * 2019-10-31 2020-02-07 北京达佳互联信息技术有限公司 Advertisement processing method and device, computer equipment and storage medium
CN111523068A (en) * 2020-03-30 2020-08-11 五八有限公司 Page configuration method, device, server and storage medium
CN111651141A (en) * 2020-05-25 2020-09-11 北京百度网讯科技有限公司 Method and device for showing landing page of applet, electronic equipment and storage medium
CN112000334A (en) * 2020-07-20 2020-11-27 北京达佳互联信息技术有限公司 Page development method, device, server and storage medium

Also Published As

Publication number Publication date
CN112528199A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
US10887258B2 (en) Method, system and recording medium for communicating and displaying content in a messenger application
CN106528432B (en) The construction method and device of test scene data bury a test method
CN103338256B (en) Image sharing method, device, server and system
CN103763178B (en) A kind of information-pushing method, server, user terminal and system
CN105451087A (en) Pushing method, terminals, historical data server and system for barrage information
CN104732182B (en) Communication method based on two-dimensional code on webpage
CN112100550A (en) Page construction method and device
KR20140093974A (en) Image annotation method and system
CN104462534A (en) Network information sharing method and device
CN103618774A (en) Resource recommending method, device and system based on network behaviors
CN109597616A (en) A kind of APP terminal model generation system based on paas media cloud multi-tenant
CN102279960A (en) User-element-containing advertisement publish control method and system
CN105786207A (en) Information input method and device
CN104463631A (en) Advertisement display method and system based on two-dimensional code and mobile terminals
CN105337841A (en) Information processing method and system, client, and server
US20160092929A1 (en) Scaling user audience groups to facilitate advertisement targeting
CN108932640B (en) Method and device for processing orders
CN108280228A (en) A kind of processing method and relevant device of webpage
CN110647634B (en) Method and device for searching media resources, storage medium and electronic device
KR20160087295A (en) Method and apparatus for providing advertisement adjusted to media
CN110347943A (en) Channel information processing method, device, storage medium and computer equipment
Dow et al. A location-based mobile advertisement publishing system for vendors
CN104050204A (en) Method of combining network data and mobile device using the same
CN112528199B (en) Method and device for publishing activity page, electronic device and storage medium
CN107147732A (en) Image processing method, device, client and service end

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