Template marketing activity publishing method and systemTechnical Field
The invention relates to the technical field of computers, in particular to a templated marketing campaign publishing method and a templated marketing campaign publishing system.
Background
With the rapid development of mobile internet, almost everyone lives in the era of mobile internet. Each merchant pulls new, promotes liveness, retains and returns users for improving own mobile internet products. Each large merchant may initiate various activities to promote, wherein initiating multiple activities over a network is one of the most common ways to promote.
However, since the same type of activities are common, when a merchant wants to develop a certain type of marketing activities quickly, the merchant faces the problem that a developer in the field of professional computers needs to be asked to newly construct a development activity system, which results in high development cost, long period, high production and operation cost and the like when a certain marketing activity needs to be developed.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a template marketing activity publishing method and a template marketing activity publishing system, which are reasonable in design, simple to maintain and capable of quickly embrace demand changes.
In order to achieve the purpose, the invention is realized by the following technical scheme:
the invention discloses a template marketing activity publishing method, which comprises the following steps:
before the activity development time is reached, remotely accessing a configuration system through a browser according to actual requirements;
selecting a marketing activity template provided in the configuration system according to a current scene;
configuring editable areas in all pages to be edited in the marketing activity template through a webpage visual editing tool, and generating page element JSON data after configuration is completed;
the method comprises the steps of obtaining commodities or prizes required by activities and necessary service configuration data, and initiating an activity publishing request to a server, wherein the server is used for receiving the activity publishing request and storing activity information data and JSON data configured by a visual editing tool to a database;
and after the starting time of the marketing campaign is reached, initiating a marketing campaign access configuration request to a server through the browser, acquiring a result by configuring a JSON data interface and a marketing campaign service data information interface according to the request, finishing data rendering and loading through a JavaScript method, and displaying to the browser by the server.
The visual editing tool uses the template configuration file, the, config, json, and configures the basic information of the template, the referenced components, and the contained page convention rules as follows:
the basic information of the template is
id: template id, type string, if necessary, is
name: template name, type string, if necessary, is
version: template version, type string, if it is necessary
supports: template support parameter, type object, whether or not it is necessary to do
Number: the template supports the number of commodities, the type is object | array | number, and whether the commodity number needs to be equal to or not is judged; type number, number of cells displayed; type object, displayed grid number interval, type array, displayed grid number list;
components: common components, any configurable component used in more than one page should be placed in this field type whether object must be no; the key is the component id and the type string value is the component configuration
pages: template page list type whether array < page configuration > must be
o data for storing data
o $ hidden for storing template pages
o all $ and _ first fields are reserved for future set purposes
The page uses component configuration, which should contain only the following 4 fields:
type: id type of background configuration component whether string must be
Options: parameter type of background configuration component whether object must be found or not
Data: any, the data type of the background configuration component, whether it is necessary, depending on the component, is
Defaults: data default values of the background configuration component are set, and deep of the data is automatically used when the space is reserved
clone type any, whether it is necessary or not depending on the component
The template contains a page configuration
Id: page id type string must be
name: string must be for the Page name type to be
url: string must be for the page address type to be
components: page component type array < ComponentConfig > must be
If the array elements are public components, the id must be public component id, the options will be merged with the options of the public components as final options, if only the id is contained, the character string is also used, and { "components" [ "pool-configuration" ] } is equivalent to { "components" [ { "id": pool-configuration "}.
The specific method for selecting the marketing activity template provided in the configuration system according to the current scene is as follows: and acquiring a template page, data and template prefabricated editable JSON data by an acquisition server template method, and importing the related page and data in the template into a visual editing tool after the data is acquired.
And configuring editable areas in all pages to be edited in the marketing activity template through a webpage visual editing tool, specifically, uploading pictures, editing characters and editing marketing activity service data.
The method comprises the steps of configuring editable areas in all pages to be edited in the marketing activity template through a webpage visual editing tool, specifically, in the visual editing process, processing edited contents in real time through a preview page and displaying the edited contents after configured pictures, characters and marketing activity business data are real, and automatically filling configuration data into corresponding elements of the prefabricated JSON when editable elements are edited in the visual editing process.
The invention also comprises the step of constructing a campaign database, wherein the campaign database is used for providing uniform data support for the marketing campaign information entry operation executed by the marketing campaign information entry.
The invention also comprises a storage and use method for inputting the marketing activity information based on the distributed cache middleware.
The invention also comprises a method for dynamically acquiring the marketing activity information configured by the staff.
The invention discloses a templated marketing campaign publishing system, which comprises a network interface, a memory and a processor; the network interface is used for receiving and sending signals in the process of receiving and sending information with other external network elements; the memory to store computer program instructions operable on the processor; the processor is used for executing the steps of the templated marketing campaign publishing method when the computer program instructions are executed.
A computer storage medium of the present invention stores a program of a templated marketing campaign publishing method, which when executed by at least one processor implements the steps of the above-described templated marketing campaign publishing method.
The invention can greatly reduce the activity development cost and complete the configuration and maintenance of the activity without the intervention of professional personnel, thereby effectively achieving the quick online of the activity and being flexibly applied to the appointed scene to improve the expected activity effect. In the visual editing process, staff can conveniently edit and issue the marketing activities without mastering code technologies such as HTML and JavaScript. And the released marketing activity information can be modified in real time after the activity is released, so that the release cost of the marketing activity development is reduced. The invention dynamically adjusts the activity according to the actual application condition, so as to achieve more ideal popularization effect.
Drawings
Fig. 1 is a schematic flow chart of a templated marketing campaign publishing method in this embodiment;
fig. 2 is a schematic diagram illustrating a configuration loading process of client user access activities in this embodiment.
Detailed Description
In order to make the technical means, the creation characteristics, the achievement purposes and the effects of the invention easy to understand, the invention is further described with the specific embodiments.
According to the templated marketing activity publishing method and the system thereof, the specified editable area in all the pages to be edited in the template is visually edited through the webpage visual editing tool according to a group of webpages of the selected marketing activity template. And storing the editing result in a server database in a JSON format defined according to the template on the premise of not changing the structure of the template, so as to complete the configuration work of the marketing campaign. After the marketing campaign is released, when a client accesses a certain campaign, the template bound by the campaign and the stored configuration JSON format configuration information are acquired in an appointed interface mode, and the client dynamically renders the configuration content to a page through JavaScript and displays the configuration content to a client user.
The technical scheme of the invention provides a visual editing method, which comprises the following steps:
and visually editing the designated editable area in all the pages to be edited in the template through a webpage visual editing tool according to a group of webpages of the selected marketing activity template.
And in the editing process, the contents of the edited pictures, characters, activity information and the like are obtained when the contents are seen in the visual area. And storing the server database in a JSON format defined according to the template on the premise that the structure of the template is not changed according to the editing result.
The visual editing tool uses a template configuration file, the, configuration, json, and the main configuration template basic information, the referenced components, and the contained page convention rules are as follows:
basic information of template
id: template id, type string, if necessary, is
name: template name, type string, if necessary, is
version: template version, type string, if it is necessary
supports: template support parameter, type object, whether or not it is necessary to do
Number: the template supports the number of commodities, the type is object | array | number, and whether the commodity number needs to be equal to or not is judged; type number, number of cells displayed; type object, interval of number of displayed grids, example { "min":5, "max":10}, support a minimum of 5 and a maximum of 10 grids; type array, list of number of grids displayed, example [2,4], support 2 or 4 grids
components: common components, any configurable component used in more than one page should be placed in this field type whether object must be no; the key is the component id and the type string value is the component configuration
pages: template page list type whether array < page configuration > must be
o data for storing data
o $ hidden for storing template pages
o all fields at the beginning of $ and _ are reserved for future possible special use
The page uses component configuration, which should contain only the following 4 fields:
type: id type of background configuration component whether string must be
Options: parameter type of background configuration component whether object must be found or not
Data: any, the data type of the background configuration component, whether it is necessary, depending on the component, is
Defaults: data default values of the background configuration component are set, and deep of the data is automatically used when the space is reserved
clone type any, whether it is necessary or not depending on the component
The template contains a page configuration
Id: page id type string must be
name: string must be for the Page name type to be
url: string must be for the page address type to be
components: page component type array < ComponentConfig > must be
Array elements must be common component ids if they are common components (i.e. components defined by components under the me. config. json), options will be merged with the common component options as final options, and strings can also be used if only ids are included, i.e., { "components": granule "] } is equivalent to {" components ": granule" } { "id": granule "}
The above description of the template configuration file, the, config, json, is used to explain the technical solution idea for implementing the description, and the activity configuration staff does not need to know the description.
The implementation technical scheme also comprises the following steps: in the visual editing tool, a common component encapsulates abstractions.
The implementation technical scheme also comprises the following steps: a set of marketing activity supporting templates can be simultaneously applied to a plurality of marketing activities to be developed simultaneously.
The implementation technical scheme also comprises the following steps: and constructing a campaign database, wherein the campaign database is used for providing uniform data support for the marketing campaign information entry operation executed by the marketing campaign information entry.
The implementation technical scheme also comprises the following steps: and constructing a storage and use method for inputting the marketing activity information based on the distributed cache middleware.
The implementation technical scheme also comprises the following steps: and the client user dynamically acquires the marketing activity information configured by the staff.
The implementation technical scheme also comprises the following steps: the client user participates in a certain type of activity participation record storage module.
Referring to fig. 1, the implementation method of the present invention provides a templated marketing campaign publishing method, which includes the following steps:
101: before the start of the activity time, the staff selects the activity template of the activity type provided by the system according to the activity requirement.
102: and editing the template page through a visual editing tool, wherein the template page comprises uploading picture materials, editing active text introduction and page element styles, and the editing process previews the effect in a visual real-time manner. And generating page element JSON data after the editing is finished.
103: the staff enters the goods or prizes required by the event and the necessary business configuration data. An activity publication request is initiated.
104: and the server receives the activity publishing request, and stores the activity information data and the JSON data configured by the visual editing tool into the database.
105: and simultaneously, storing the activity information data and the JSON data configured by the visual editing tool to a distributed cache through a 105 function.
106: and saving the activity as a release state, and completing the activity release configuration work.
Referring to fig. 2, the implementation method of the present invention provides a client user access activity configuration loading method, which includes the following steps:
201: client user initiates access to a published activity
202: and the server receives the request and calls a function for acquiring the marketing activity information, the configuration information and the JSON data. And returning the request data after the processing is completed.
203: the marketing activity template page rendering method returns data according to the request, completes the filling of the webpage dynamic data and displays the webpage dynamic data to a browser used by a client user. Thereby completing the loading of the client user access activity configuration.
The foregoing shows and describes the general principles and broad features of the present invention and advantages thereof. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.