CN106201459B - A kind of method and system of rapid build special topic landing page - Google Patents
A kind of method and system of rapid build special topic landing page Download PDFInfo
- Publication number
- CN106201459B CN106201459B CN201610478321.1A CN201610478321A CN106201459B CN 106201459 B CN106201459 B CN 106201459B CN 201610478321 A CN201610478321 A CN 201610478321A CN 106201459 B CN106201459 B CN 106201459B
- Authority
- CN
- China
- Prior art keywords
- page
- landing page
- landing
- historical
- data
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/22—Procedural
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域technical field
本发明涉及落地页构建技术领域,具体来讲是一种快速构建专题落地页的方法及系统。The invention relates to the technical field of landing page construction, in particular to a method and system for quickly constructing a special landing page.
背景技术Background technique
如今,一些大型公司为了推广公司业务,通常会举办一些相关产品的推广或优惠活动。当举办这些相关活动时,需要有人来负责专门制作相关专题活动页面来配合活动在web端的落地的,即制作专题活动的落地页。落地页,是指访问者在其他地方看到发布者发出的某个具有明确主题的特定营销活动——通过Email、社交媒体或广告发布的诱人优惠信息等,点击后被链接到指定网站上的第一个页面。也就是说,落地页为访问者提供了一种“目标超明确”的访问体验:通过呈现一个特定页面,为他们指出一条明确的路径继续加深与网站的关系。Nowadays, in order to promote the company's business, some large companies usually hold some promotion or preferential activities for related products. When holding these related activities, someone needs to be responsible for making the relevant special event pages to cooperate with the landing of the activities on the web, that is, to make the landing pages of the special events. A landing page refers to a specific marketing activity with a clear theme sent by the publisher in other places when the visitor sees it—attractive discount information published through email, social media or advertisements, etc., and is linked to the designated website after clicking the first page of . In other words, landing pages provide visitors with a "hyper-targeted" experience: by presenting a specific page, pointing them to a clear path to continue to deepen their relationship with the site.
目前,在制作专题活动的落地页时,通常是由活动设计部门的设计人员先为产品设计出活动的具体方案,然后将活动的具体方案提交给专门的网络技术设计人员来设计专门的专题活动落地页。At present, when making the landing page of a special event, the designers of the event design department usually design the specific plan of the event for the product, and then submit the specific plan of the event to a dedicated network technology designer to design a special special event landing page.
但是,实际操作时,由于涉及两个不同的部门(有时甚至涉及更多的部门)且各部门人员较多,这就直接导致沟通成本的增加;另外,每个小技术方案的修改还会导致一次或多次沟通成本的增加,进而严重影响了落地页的构建效率,并且一旦沟通过程出现偏差还会直接影响最终生成的落地页的质量,浪费大量人力物力。However, in actual operation, because two different departments (sometimes even more departments) are involved and there are many personnel in each department, this will directly lead to an increase in communication costs; in addition, the modification of each small technical solution will also cause The increase of one or more communication costs will seriously affect the construction efficiency of the landing page, and once there is a deviation in the communication process, it will directly affect the quality of the final landing page, wasting a lot of manpower and material resources.
发明内容Contents of the invention
本发明的目的是为了克服上述背景技术的不足,提供一种快速构建专题落地页的方法及系统,使活动设计人员能在不依赖网页设计人员的情况下,快速构建出专题活动落地页,不但减少人力物力成本而且构建效率高、落地页质量好。The purpose of the present invention is to overcome the shortcomings of the above-mentioned background technology and provide a method and system for quickly constructing a special landing page, so that event designers can quickly build a special event landing page without relying on web page designers, not only Reduce the cost of manpower and material resources, and the construction efficiency is high, and the quality of the landing page is good.
为达到以上目的,本发明提供一种快速构建专题落地页的方法,包括以下步骤:In order to achieve the above purpose, the present invention provides a method for quickly building a special landing page, including the following steps:
A、根据用户输入的操作页面网址信息进入操作页面后,初始化操作页面,转入步骤B;A. After entering the operation page according to the URL information of the operation page input by the user, initialize the operation page and go to step B;
B、根据用户输入的操作页面网址信息获取历史落地页数据,历史落地页数据包括历史落地页的页面数据和历史落地页加载过的容器模块、组件模块的信息,所述容器模块用于容纳组件模块并对页面进行布局,所述组件模块用于完成某个页面功能;若获取成功,转入步骤C;若获取未成功,在操作页面中展示空白页面,转入步骤D;B. Obtain the historical landing page data according to the URL information of the operation page input by the user. The historical landing page data includes the page data of the historical landing page and the container module and component module information loaded by the historical landing page. The container module is used to accommodate components module and layout the page, and the component module is used to complete a certain page function; if the acquisition is successful, go to step C; if the acquisition is not successful, display a blank page in the operation page, and go to step D;
C、解析历史落地页数据中的页面数据,根据页面数据在操作页面中展示历史落地页的页面;解析历史落地页数据中加载的容器模块、组件模块的信息,根据加载的容器模块、组件模块的信息,在展示的页面中加载历史落地页的容器模块和组件模块,转入步骤D;C. Analyze the page data in the historical landing page data, and display the page of the historical landing page in the operation page according to the page data; analyze the information of the container module and component module loaded in the historical landing page data, and according to the loaded container module and component module information, load the container module and component module of the historical landing page on the displayed page, and go to step D;
D、在当前展示的页面中,加载本次构建所需的容器模块和组件模块,转入步骤E;D. On the currently displayed page, load the container modules and component modules required for this build, and go to step E;
E、每当用户点击当前展示的页面中的容器模块或组件模块时,触发相应模块的处理事件,渲染所点击部分的可编辑属性状态,可编辑属性状态包括文案、宽高、颜色;将当前展示的页面每次经渲染操作后的数据进行保存,转入步骤F;E. Whenever the user clicks on the container module or component module in the currently displayed page, the processing event of the corresponding module is triggered, and the editable attribute status of the clicked part is rendered. The editable attribute status includes copywriting, width and height, and color; the current Save the data after each rendering operation on the displayed page, and turn to step F;
F、根据步骤E中保存的数据生成当前构建的落地页的预览页面,结束。F. Generate a preview page of the currently constructed landing page according to the data saved in step E, and end.
在上述技术方案的基础上,步骤B中所述根据用户输入的操作页面网址信息获取历史落地页数据,具体包括以下操作:利用JavaScript脚本,在用户输入的操作页面网址信息中查询历史落地页的页面ID,若未查询到所述页面ID,表明之前没有构建过相关落地页,获取未成功;若查询到所述页面ID,表明之前构建过相关落地页,则继续利用JavaScript脚本获取与所述页面ID相对应的历史落地页的页面数据和历史落地页加载的容器模块、组件模块的信息。On the basis of the above technical solution, in step B, according to the operation page URL information input by the user, the historical landing page data is obtained, which specifically includes the following operations: use JavaScript script to query the historical landing page information in the operation page URL information input by the user Page ID, if the page ID is not queried, it means that the relevant landing page has not been built before, and the acquisition is unsuccessful; if the page ID is queried, it means that the relevant landing page has been built before, then continue to use JavaScript scripts to get The page data of the historical landing page corresponding to the page ID and the information of the container module and component module loaded by the historical landing page.
在上述技术方案的基础上,步骤B中所述页面功能包括头部导航功能、播放器功能、按钮功能、微博分享功能、抽奖功能。On the basis of the above technical solution, the page functions described in step B include head navigation functions, player functions, button functions, Weibo sharing functions, and lottery draw functions.
在上述技术方案的基础上,步骤D中,加载本次构建所需的容器模块和组件模块时,可通过加载预先设置的集合包的方式进行加载,所述预先设置的集合包用于事先将设计好的相关容器模块和组件模块进行组合打包。On the basis of the above technical solution, in step D, when loading the container modules and component modules required for this construction, it can be loaded by loading a preset collection package, which is used to pre-install The designed related container modules and component modules are combined and packaged.
在上述技术方案的基础上,步骤F具体包括以下操作:步骤F1:根据步骤E中保存的数据,生成JSON格式的落地页页面信息文件,该落地页页面信息文件包含当前构建的落地页的页面信息,转入步骤F2;步骤F2:利用node.js解析JSON格式的落地页页面信息文件,获取相应的逻辑代码字符串并导出落地页的页面代码,转入步骤F3;步骤F3:将导出的落地页的页面代码经base64编码后,发送给提供网页路由的PHP做解析;通过PHP的预览接口,跳转至预览地址,在预览地址中利用PHP解析并还原的页面代码生成当前构建的落地页的预览页面。On the basis of the above technical solution, Step F specifically includes the following operations: Step F1: According to the data saved in Step E, generate a landing page page information file in JSON format, the landing page page information file includes the pages of the currently constructed landing page information, go to step F2; step F2: use node.js to parse the landing page information file in JSON format, obtain the corresponding logic code string and export the page code of the landing page, go to step F3; step F3: export the After the page code of the landing page is base64 encoded, it is sent to PHP that provides web page routing for analysis; through the preview interface of PHP, jump to the preview address, and use the page code parsed and restored by PHP in the preview address to generate the currently constructed landing page preview page.
本发明同时还提供一种快速构建专题落地页的系统,包括操作页面初始化单元、历史落地页数据获取单元、历史落地页数据处理单元、落地页构建单元和预览页面生成单元;At the same time, the present invention also provides a system for rapidly constructing a special landing page, including an operation page initialization unit, a historical landing page data acquisition unit, a historical landing page data processing unit, a landing page construction unit, and a preview page generation unit;
所述操作页面初始化单元用于:根据用户输入的操作页面网址信息进入操作页面后,初始化操作页面;向历史落地页数据获取单元发送获取信号;The operation page initialization unit is used to: initialize the operation page after entering the operation page according to the operation page URL information input by the user; send an acquisition signal to the historical landing page data acquisition unit;
所述历史落地页数据获取单元用于:收到获取信号后,根据用户输入的操作页面网址信息获取历史落地页数据,历史落地页数据包括历史落地页的页面数据和历史落地页加载过的容器模块、组件模块的信息,所述容器模块用于容纳组件模块并对页面进行布局,所述组件模块用于完成某个页面功能;若获取成功,向历史落地页数据处理单元发送处理信号;若获取未成功,在操作页面中展示空白页面,向落地页构建单元发送构建信号;The historical landing page data acquisition unit is used to: after receiving the acquisition signal, acquire historical landing page data according to the operation page URL information input by the user, and the historical landing page data includes the page data of the historical landing page and the loaded container of the historical landing page module, component module information, the container module is used to accommodate the component module and layout the page, the component module is used to complete a certain page function; if the acquisition is successful, send a processing signal to the historical landing page data processing unit; if If the acquisition is unsuccessful, a blank page is displayed on the operation page, and a construction signal is sent to the landing page construction unit;
所述历史落地页数据处理单元用于:收到处理信号后,解析历史落地页数据中的页面数据,根据所述页面数据在操作页面中展示历史落地页的页面;解析历史落地页数据中加载的容器、组件的信息,根据所述加载的容器、组件的信息,在展示的页面中加载历史落地页的容器模块和组件模块,向落地页构建单元发送构建信号;The historical landing page data processing unit is used for: after receiving the processing signal, analyze the page data in the historical landing page data, display the page of the historical landing page in the operation page according to the page data; analyze the historical landing page data and load According to the loaded container and component information, load the container module and component module of the historical landing page in the displayed page, and send a construction signal to the landing page construction unit;
所述落地页构建单元用于:收到构建信号后,在当前展示的页面中,加载本次构建所需的容器模块和组件模块;每当用户点击当前展示的页面中的容器模块或组件模块时,触发相应模块的处理事件,渲染所点击部分的可编辑属性状态,可编辑属性状态包括文案、宽高、颜色;将当前展示的页面每次经渲染操作后的数据进行保存,向预览页面生成单元发送预览信号;The landing page construction unit is used to: after receiving the construction signal, load the container module and component module required for this construction in the currently displayed page; whenever the user clicks on the container module or component module in the currently displayed page , the processing event of the corresponding module is triggered, and the editable attribute status of the clicked part is rendered. The editable attribute status includes text, width and height, and color; the data of the currently displayed page after each rendering operation is saved, and sent to the preview page The generating unit sends a preview signal;
所述预览页面生成单元用于:收到预览信号后,根据落地页构建单元保存的数据生成当前构建的落地页的预览页面。The preview page generation unit is configured to generate a preview page of the currently constructed landing page according to the data saved by the landing page construction unit after receiving the preview signal.
在上述技术方案的基础上,所述历史落地页数据获取单元根据用户输入的操作页面网址信息获取历史落地页数据的过程为:利用JavaScript脚本,在用户输入的操作页面网址信息中查询历史落地页的页面ID,若未查询到所述页面ID,表明之前没有构建过相关落地页,获取未成功;若查询到所述页面ID,表明之前构建过相关落地页,则继续利用JavaScript脚本获取与所述页面ID相对应的历史落地页的页面数据和历史落地页加载的容器模块、组件模块的信息。On the basis of the above technical solution, the process of obtaining historical landing page data by the historical landing page data acquisition unit according to the operation page URL information input by the user is as follows: using JavaScript script to query the historical landing page in the operation page URL information input by the user If the page ID is not queried, it means that the relevant landing page has not been constructed before, and the acquisition is unsuccessful; The page data of the historical landing page corresponding to the above page ID and the information of the container module and component module loaded by the historical landing page.
在上述技术方案的基础上,所述页面功能包括头部导航功能、播放器功能、按钮功能、微博分享功能、抽奖功能。On the basis of the above technical solution, the page functions include a head navigation function, a player function, a button function, a microblog sharing function, and a lottery drawing function.
在上述技术方案的基础上,所述落地页构建单元加载本次构建所需的容器模块和组件模块时,可通过加载预先设置的集合包的方式进行加载,所述预先设置的集合包用于事先将设计好的相关容器模块和组件模块进行组合打包。On the basis of the above technical solution, when the landing page construction unit loads the container modules and component modules required for this construction, it can be loaded by loading a preset collection package, and the preset collection package is used for Combine and package the designed related container modules and component modules in advance.
在上述技术方案的基础上,所述预览页面生成单元生成当前构建的落地页的预览页面的过程为:根据落地页构建单元保存的数据,生成JSON格式的落地页页面信息文件,该落地页页面信息文件包含当前构建的落地页的页面信息;利用node.js解析JSON格式的落地页页面信息文件,获取相应的逻辑代码字符串并导出落地页的页面代码;将导出的落地页的页面代码经base64编码后,发送给提供网页路由的PHP做解析;通过PHP的预览接口,跳转至预览地址,在预览地址中利用PHP解析并还原的页面代码生成当前构建的落地页的预览页面。On the basis of the above technical solution, the process of the preview page generation unit generating the preview page of the currently constructed landing page is: according to the data saved by the landing page construction unit, a landing page page information file in JSON format is generated, and the landing page page The information file contains the page information of the currently constructed landing page; use node.js to parse the landing page information file in JSON format, obtain the corresponding logic code string and export the page code of the landing page; After base64 encoding, send it to PHP that provides web page routing for analysis; through the preview interface of PHP, jump to the preview address, and use the page code parsed and restored by PHP in the preview address to generate the preview page of the currently built landing page.
本发明的有益效果在于:The beneficial effects of the present invention are:
本发明中,在对操作页面进行初始化后,会主动获取用户之前构建的历史落地页数据,若获取成功,表明之前构建过相关落地页,则在操作页面中展示历史落地页的页面,并在展示的页面中加载历史落地页的容器模块和组件模块;若获取未成功,表明之前没有构建过相关落地页,则仅在操作页面中展示空白页面;之后,进行本次构建操作,构建时先在当前展示的页面中加载本次构建所需的容器模块和组件模块,然后每当用户点击当前展示的页面中的容器模块或组件模块时,触发相应模块的处理事件,渲染所点击部分的可编辑属性状态,并将当前展示的页面每次经渲染操作后的数据进行保存;最后,根据保存的数据生成当前构建的落地页的预览页面。In the present invention, after the operation page is initialized, the historical landing page data constructed by the user will be actively obtained. If the acquisition is successful, it indicates that the relevant landing page has been constructed before, and the page of the historical landing page will be displayed on the operation page, and in the Load the container module and component module of the historical landing page on the displayed page; if the acquisition is unsuccessful, it means that the relevant landing page has not been built before, and only a blank page will be displayed on the operation page; Load the container module and component module required for this build in the currently displayed page, and then whenever the user clicks on the container module or component module in the currently displayed page, trigger the processing event of the corresponding module, and render the clickable part Edit the attribute status, and save the data after each rendering operation on the currently displayed page; finally, generate a preview page of the currently constructed landing page based on the saved data.
与现有技术相比,本发明能使活动设计人员在不依赖网页设计人员的情况下,快速构建出专题活动落地页,不但减少了公司为制作专题活动落地页而投入的大量人力物力成本,而且有效提高了落地页的构建效率,避免了多部门、多人员的反复沟通过程,保证了落地页的构建质量。Compared with the prior art, the present invention enables event designers to quickly build landing pages for special events without relying on web page designers, which not only reduces the large amount of manpower and material costs that companies invest in making landing pages for special events, Moreover, the construction efficiency of the landing page is effectively improved, the repeated communication process of multiple departments and personnel is avoided, and the construction quality of the landing page is guaranteed.
附图说明Description of drawings
图1为本发明实施例中快速构建专题落地页的方法的流程图;Fig. 1 is a flow chart of a method for quickly constructing a special landing page in an embodiment of the present invention;
图2为本发明实施例中快速构建专题落地页的系统的结构框图。Fig. 2 is a structural block diagram of a system for quickly building a special landing page in an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图及具体实施例对本发明作进一步的详细描述。The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
参见图1所示,本发明实施例提供一种快速构建专题落地页的方法,包括以下步骤:Referring to Figure 1, the embodiment of the present invention provides a method for quickly building a special landing page, including the following steps:
步骤S1:根据用户输入的操作页面网址信息进入操作页面后,初始化操作页面相关的HTML(HyperText Markup Language,超文本标记语言)结构、CSS(Cascading StyleSheets,层叠样式表)样式、JavaScript脚本,转入步骤S2。Step S1: After entering the operation page according to the URL information of the operation page input by the user, initialize the HTML (HyperText Markup Language) structure, CSS (Cascading Style Sheets, Cascading Style Sheets) and JavaScript scripts related to the operation page, and transfer to Step S2.
步骤S2:根据用户输入的操作页面网址信息获取历史落地页数据,所述历史落地页数据中包括历史落地页(即上一次所构建的落地页)的页面数据和历史落地页加载的容器模块、组件模块的信息;若获取成功,表明之前构建过相关落地页,具有历史落地页数据,转入步骤S3;若获取未成功,表明之前没有构建过相关落地页,没有历史落地页数据,则在操作页面中展示空白页面,转入步骤S5。Step S2: Obtain historical landing page data according to the URL information of the operation page input by the user. The historical landing page data includes the page data of the historical landing page (that is, the landing page constructed last time) and the container module loaded by the historical landing page, The information of the component module; if the acquisition is successful, it means that the relevant landing page has been built before and has historical landing page data, and then go to step S3; if the acquisition is unsuccessful, it means that the relevant landing page has not been built before, and there is no historical landing page data, then in A blank page is displayed on the operation page, and then go to step S5.
实际操作时,步骤S2中,根据用户输入的操作页面网址信息获取历史落地页数据,具体包括以下操作:利用初始化的JavaScript脚本,在用户输入的操作页面网址信息中查询历史落地页的页面ID(可以理解的是,这个ID是用户创建该落地页时生成的),若未查询到所述页面ID,表明之前没有构建过相关落地页,获取未成功;若查询到所述页面ID,表明之前构建过相关落地页,则继续利用JavaScript脚本获取与所述页面ID相对应的历史落地页的页面数据和历史落地页加载的容器模块、组件模块的信息。In actual operation, in step S2, the historical landing page data is obtained according to the URL information of the operation page input by the user, specifically including the following operations: using the initialized JavaScript script, querying the page ID of the historical landing page in the URL information of the operation page input by the user ( It is understandable that this ID is generated when the user creates the landing page), if the page ID is not queried, it means that the relevant landing page has not been built before, and the acquisition is unsuccessful; if the page ID is queried, it means that the previous After constructing relevant landing pages, continue to use JavaScript scripts to obtain the page data of the historical landing pages corresponding to the page ID and the information of the container modules and component modules loaded by the historical landing pages.
另外,可以理解的是,所述容器模块用于容纳组件模块,并对页面进行布局。具体来说,所述容器模块是利用HTML和CSS在页面中画出来的透明矩形来区分页面中的组件模块(功能块)。所述组件模块是页面功能的最小单元,一个组件模块只完成一个页面功能,页面功能块包括头部导航、播放器、按钮、微博分享、抽奖等。每个容器模块具有一个容器插槽,加载组件模块时,通过在所述容器插槽中添加组件模块,则自动加载该组件模块已写好的HTML、CSS、JavaScript的相关代码部分。理论上,所述容器模块可以容纳组件模块,同样也可以容纳容器模块,但是为了减小复杂度,我们不推荐容器模块容纳容器模块,即每个容器插槽内有且仅有一个组件模块。In addition, it can be understood that the container module is used for accommodating component modules and laying out pages. Specifically, the container module uses a transparent rectangle drawn in the page by HTML and CSS to distinguish component modules (functional blocks) in the page. The component module is the smallest unit of page function, and one component module only completes one page function, and the page function blocks include header navigation, player, button, Weibo sharing, lottery drawing and so on. Each container module has a container slot, and when the component module is loaded, by adding the component module in the container slot, the relevant code parts of HTML, CSS and JavaScript written in the component module are automatically loaded. Theoretically, the container module can accommodate component modules, as well as container modules, but in order to reduce complexity, we do not recommend container modules to accommodate container modules, that is, there is only one component module in each container slot.
步骤S3:解析历史落地页数据中的页面数据,根据所述页面数据在操作页面中展示历史落地页的页面,转入步骤S4。Step S3: Analyze the page data in the historical landing page data, display the page of the historical landing page on the operation page according to the page data, and turn to step S4.
步骤S4:解析历史落地页数据中加载的容器、组件的信息,根据所述加载的容器、组件的信息,在展示的页面中加载历史落地页的容器和组件(即加载上次构建历史落地页时,所加载过的容器和组件),转入步骤S5。Step S4: Analyze the information of containers and components loaded in the historical landing page data, and load the containers and components of the historical landing page on the displayed page according to the information of the loaded containers and components (that is, load the historical landing page built last time , the loaded container and components), go to step S5.
步骤S5:在当前展示的页面中,加载本次构建所需的容器模块和组件模块,转入步骤S6。Step S5: On the currently displayed page, load the container module and component module required for this build, and go to step S6.
可以理解的是,为了方便操作者能一次性将所需的容器模块、组件模块全部添加(加载)到页面中,本发明在加载本次构建所需的容器模块和组件模块时,可通过加载预先设置的集合包的方式进行加载,所述预先设置的集合包用于事先将设计好的相关容器模块和组件模块进行组合打包。使用时,直接加载集合包即可,使得构建过程快速方便。It can be understood that, for the convenience of the operator, all the required container modules and component modules can be added (loaded) to the page at one time. When the present invention loads the container modules and component modules required for this construction, it can be loaded The pre-set package is used to combine and package the designed related container modules and component modules in advance. When in use, just load the collection package directly, making the construction process fast and convenient.
步骤S6:每当用户点击当前展示的页面中的容器模块或组件模块时,触发相应模块的处理事件,渲染所点击部分的可编辑属性状态,可编辑属性状态包括文案、宽高、颜色等;将当前展示的页面每次经渲染操作后的数据进行保存,转入步骤S7。Step S6: Whenever the user clicks on the container module or component module in the currently displayed page, the processing event of the corresponding module is triggered, and the editable attribute status of the clicked part is rendered. The editable attribute status includes copywriting, width and height, color, etc.; Save the data after each rendering operation on the currently displayed page, and turn to step S7.
步骤S7:根据步骤S6中保存的数据生成当前构建的落地页的预览页面,结束。Step S7: Generate a preview page of the currently constructed landing page according to the data saved in step S6, and end.
实际操作时,步骤S7具体包括以下操作:In actual operation, step S7 specifically includes the following operations:
步骤S701:根据步骤S6中保存的数据,生成JSON(JavaScript Object Notation,是一种基于JavaScript编程语言的轻量级数据交换格式)格式的落地页页面信息文件(例如pageinfo.json文件),该落地页页面信息文件包含当前构建的落地页的页面信息,比如标题、页面背景、需要哪些接口、有哪些容器模块和组件模块等,转入步骤S702;Step S701: According to the data saved in step S6, generate a landing page page information file (such as pageinfo.json file) in JSON (JavaScript Object Notation, a lightweight data exchange format based on JavaScript programming language), the landing page The page information file contains the page information of the currently constructed landing page, such as the title, page background, which interfaces are needed, which container modules and component modules are available, etc., and then go to step S702;
步骤S702:利用node.js(一个JavaScript运行环境)解析JSON格式的落地页页面信息文件,获取相应的逻辑代码字符串,并导出落地页的页面代码,转入步骤703;Step S702: use node.js (a JavaScript operating environment) to parse the landing page page information file in JSON format, obtain the corresponding logic code string, and export the page code of the landing page, and turn to step 703;
解析的时候会首先解析pageinfo.json文件当中的pageInfo页面信息字段,这个字段里面存放了需要php提供在页面中的数据字段,如$SYS和$ROOM,是给页面逻辑使用的数据。然后分别解析数据中的包字段和组件字段,把对应的逻辑部分从本地通过fs.readFileSync拿到,然后拼接成一个完整的逻辑代码字符串,最终一起合并,导出页面的代码;When parsing, it will first parse the pageInfo page information field in the pageinfo.json file. This field stores the data fields that need to be provided by PHP in the page, such as $SYS and $ROOM, which are used for page logic. Then parse the package field and component field in the data separately, get the corresponding logical part from the local through fs.readFileSync, and then splice it into a complete logical code string, and finally merge them together to export the code of the page;
步骤S703:将导出的落地页的页面代码经base64编码(网络上最常见的用于传输8Bit字节代码的编码方式之一)后,发送给提供网页路由的PHP(Hypertext Preprocessor,超文本预处理器)做解析;通过PHP提供的预览接口,跳转至预览地址,在预览地址中利用PHP解析并还原的页面代码生成当前构建的落地页的预览页面。Step S703: base64-encode the page code of the exported landing page (one of the most common encoding methods for transmitting 8Bit byte codes on the Internet), and send it to PHP (Hypertext Preprocessor, hypertext preprocessing) that provides web page routing browser) for analysis; through the preview interface provided by PHP, jump to the preview address, and use the page code parsed and restored by PHP in the preview address to generate the preview page of the currently constructed landing page.
参见图2所示,本发明实施例还提供一种快速构建专题落地页的系统,包括操作页面初始化单元、历史落地页数据获取单元、历史落地页数据处理单元、落地页构建单元和预览页面生成单元;As shown in Figure 2, the embodiment of the present invention also provides a system for quickly building a special landing page, including an operation page initialization unit, a historical landing page data acquisition unit, a historical landing page data processing unit, a landing page construction unit, and a preview page generation unit unit;
操作页面初始化单元用于:根据用户输入的操作页面网址信息进入操作页面后,初始化操作页面;向历史落地页数据获取单元发送获取信号;The operation page initialization unit is used to: initialize the operation page after entering the operation page according to the URL information of the operation page input by the user; send an acquisition signal to the historical landing page data acquisition unit;
历史落地页数据获取单元用于:收到获取信号后,根据用户输入的操作页面网址信息获取历史落地页数据,历史落地页数据包括历史落地页的页面数据和历史落地页加载过的容器模块、组件模块的信息,所述容器模块用于容纳组件模块并对页面进行布局,所述组件模块用于完成某个页面功能;若获取成功,向历史落地页数据处理单元发送处理信号;若获取未成功,在操作页面中展示空白页面,向落地页构建单元发送构建信号;The historical landing page data acquisition unit is used to obtain the historical landing page data according to the URL information of the operation page input by the user after receiving the acquisition signal. The historical landing page data includes the page data of the historical landing page and the loaded container modules of the historical landing page, The information of the component module, the container module is used to accommodate the component module and layout the page, the component module is used to complete a certain page function; if the acquisition is successful, send a processing signal to the historical landing page data processing unit; if the acquisition is not If successful, a blank page is displayed on the operation page, and a construction signal is sent to the landing page construction unit;
历史落地页数据处理单元用于:收到处理信号后,解析历史落地页数据中的页面数据,根据所述页面数据在操作页面中展示历史落地页的页面;解析历史落地页数据中加载的容器、组件的信息,根据所述加载的容器、组件的信息,在展示的页面中加载历史落地页的容器模块和组件模块,向落地页构建单元发送构建信号;The historical landing page data processing unit is used to: analyze the page data in the historical landing page data after receiving the processing signal, display the page of the historical landing page in the operation page according to the page data; analyze the container loaded in the historical landing page data , component information, according to the loaded container and component information, load the container module and component module of the historical landing page in the displayed page, and send a construction signal to the landing page construction unit;
落地页构建单元用于:收到构建信号后,在当前展示的页面中,加载本次构建所需的容器模块和组件模块;每当用户点击当前展示的页面中的容器模块或组件模块时,触发相应模块的处理事件,渲染所点击部分的可编辑属性状态,可编辑属性状态包括文案、宽高、颜色;将当前展示的页面每次经渲染操作后的数据进行保存,向预览页面生成单元发送预览信号;The landing page construction unit is used to: after receiving the construction signal, load the container modules and component modules required for this construction in the currently displayed page; whenever the user clicks on the container module or component module in the currently displayed page, Trigger the processing event of the corresponding module, and render the editable attribute status of the clicked part. The editable attribute status includes text, width, height, and color; save the data after each rendering operation on the currently displayed page, and send it to the preview page generation unit send a preview signal;
预览页面生成单元用于:收到预览信号后,根据落地页构建单元保存的数据生成当前构建的落地页的预览页面。The preview page generation unit is used for: after receiving the preview signal, generate a preview page of the currently constructed landing page according to the data saved by the landing page construction unit.
需要说明的是:上述实施例提供的系统在进行操作时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将系统的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。It should be noted that: when the system provided by the above-mentioned embodiment is in operation, the division of the above-mentioned functional modules is only used as an example for illustration. The internal structure is divided into different functional modules to complete all or part of the functions described above.
本发明不局限于上述实施方式,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围之内。The present invention is not limited to the above-mentioned embodiments. For those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications are also considered protection of the present invention. within range.
本说明书中未作详细描述的内容属于本领域专业技术人员公知的现有技术。The content not described in detail in this specification belongs to the prior art known to those skilled in the art.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610478321.1A CN106201459B (en) | 2016-06-24 | 2016-06-24 | A kind of method and system of rapid build special topic landing page |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610478321.1A CN106201459B (en) | 2016-06-24 | 2016-06-24 | A kind of method and system of rapid build special topic landing page |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106201459A CN106201459A (en) | 2016-12-07 |
| CN106201459B true CN106201459B (en) | 2019-08-23 |
Family
ID=57461933
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610478321.1A Active CN106201459B (en) | 2016-06-24 | 2016-06-24 | A kind of method and system of rapid build special topic landing page |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106201459B (en) |
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106910107A (en) * | 2017-01-23 | 2017-06-30 | 武汉奇米网络科技有限公司 | One kind promotion page configuration method and system |
| CN107357810B (en) * | 2017-06-01 | 2019-03-15 | 武汉斗鱼网络科技有限公司 | A kind of method and system for landing page for exporting special topic |
| CN107451296B (en) * | 2017-08-21 | 2018-09-18 | 南京焦点领动云计算技术有限公司 | A kind of Website Module rendering intent component-based |
| CN107704502B (en) * | 2017-08-28 | 2021-10-29 | 创新先进技术有限公司 | A routing method, device, equipment and system |
| CN107943472A (en) * | 2017-12-13 | 2018-04-20 | 北京奇艺世纪科技有限公司 | A kind of generation method and device of advertisement landing page template |
| CN111831893B (en) * | 2019-04-22 | 2024-04-09 | 百度在线网络技术(北京)有限公司 | Floor page generation method, floor page generation device and server |
| CN110427242B (en) * | 2019-08-01 | 2023-06-09 | 创维集团智能科技有限公司 | Editing method, device and computer-readable storage medium of operation interface |
| CN110888634B (en) * | 2019-11-04 | 2023-11-17 | 上海硬通网络科技有限公司 | Game floor page generation method, game floor page generation device, computer equipment and storage medium |
| CN113110838B (en) * | 2021-04-06 | 2024-09-06 | 北京城市网邻信息技术有限公司 | Floor page design interface display method, floor page design interface display device, floor page design interface display equipment and computer readable medium |
| CN114817812A (en) * | 2022-05-10 | 2022-07-29 | 镇江砥石网络科技有限公司 | E-commerce-oriented code-free webpage construction method and device |
| CN117828215B (en) * | 2023-12-01 | 2025-08-08 | 北京洞窝数字科技有限公司 | Floor page creation system |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8005715B2 (en) * | 2006-04-17 | 2011-08-23 | Innovation Interactive Inc. | Domains template management system |
| CN104142826A (en) * | 2014-07-28 | 2014-11-12 | 百度在线网络技术(北京)有限公司 | Method, device and system for constructing page |
| CN104346464A (en) * | 2014-11-07 | 2015-02-11 | 北京奇虎科技有限公司 | Processing method and device of webpage element information and browser client |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8271431B1 (en) * | 2005-03-08 | 2012-09-18 | Unearthed Land Technologies, Llc | Method and system for retrieving and serving regulatory history for a property |
| CN103200294B (en) * | 2013-04-07 | 2015-07-08 | 东莞宇龙通信科技有限公司 | Method and mobile terminal for intelligent management of speed dialing list |
-
2016
- 2016-06-24 CN CN201610478321.1A patent/CN106201459B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8005715B2 (en) * | 2006-04-17 | 2011-08-23 | Innovation Interactive Inc. | Domains template management system |
| CN104142826A (en) * | 2014-07-28 | 2014-11-12 | 百度在线网络技术(北京)有限公司 | Method, device and system for constructing page |
| CN104346464A (en) * | 2014-11-07 | 2015-02-11 | 北京奇虎科技有限公司 | Processing method and device of webpage element information and browser client |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106201459A (en) | 2016-12-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106201459B (en) | A kind of method and system of rapid build special topic landing page | |
| CN113377373B (en) | Page loading method, device, computer equipment and medium based on parsing engine | |
| US8959427B1 (en) | System and method for JavaScript based HTML website layouts | |
| CN103077185B (en) | A kind of method of object-based self-defined extension information | |
| US8176417B2 (en) | Constructing and maintaining web sites | |
| US20120102176A1 (en) | Extracting and managing font style elements | |
| CN107451296A (en) | A kind of Website Module rendering intent based on component | |
| CN101799753B (en) | Method and device for realizing tree structure | |
| CN101604339B (en) | Method for online customization of portal system and portal customization system | |
| WO2018133452A1 (en) | Webpage rendering method and related device | |
| CN108228180A (en) | Real time workshop method and system based on visual interface design | |
| WO2018067206A1 (en) | Network based advertisement data traffic latency reduction | |
| CN102520966B (en) | Method for prompting codes and device | |
| CN103885764A (en) | Network media information display system, method, device and server | |
| CN111208982B (en) | ERP system rapid customization platform based on visual configuration mode | |
| CN104951311B (en) | A kind of page animation method and device | |
| CN110795093A (en) | An interactive view generation method and device | |
| CN103744845A (en) | Method and system for WEB platform data caching | |
| CN103176778A (en) | Method and device for webpage development | |
| CN105824647A (en) | Form page generating method and device | |
| US9846605B2 (en) | Server-side minimal download and error failover | |
| US10742764B2 (en) | Web page generation system | |
| CN117971974A (en) | Data real-time synchronization method, device, electronic equipment, medium and program product | |
| CN105224552A (en) | The disposal route of the network information, device and system | |
| CN107679076A (en) | A kind of acquisition analysis system of electric power data |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20240305 Address after: 830000, Room 17A, Building 17, Block A, Times Square Community, No. 59 Guangming Road, Tianshan District, Urumqi, Xinjiang Uygur Autonomous Region BD00244 Patentee after: Urumqi Bangbangjun Technology Co.,Ltd. Country or region after: China Address before: 430000 East Lake Development Zone, Wuhan City, Hubei Province, No. 1 Software Park East Road 4.1 Phase B1 Building 11 Building Patentee before: WUHAN DOUYU NETWORK TECHNOLOGY Co.,Ltd. Country or region before: China |
|
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20240902 Address after: 100000, Building 4, Courtyard 2, Sitaizhuang Road, Fengtai District, Beijing. Floors 1-17, Unit 101, 11th Floor 1112 Patentee after: TUNGHSU TECHNOLOGY GROUP Co.,Ltd. Country or region after: China Address before: 830000, Room 17A, Building 17, Block A, Times Square Community, No. 59 Guangming Road, Tianshan District, Urumqi, Xinjiang Uygur Autonomous Region BD00244 Patentee before: Urumqi Bangbangjun Technology Co.,Ltd. Country or region before: China |
|
| PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
| PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A method and system for quickly building thematic landing pages Granted publication date: 20190823 Pledgee: Hengshui Bank Co.,Ltd. Pledgor: TUNGHSU TECHNOLOGY GROUP Co.,Ltd. Registration number: Y2024980037643 |
|
| PC01 | Cancellation of the registration of the contract for pledge of patent right | ||
| PC01 | Cancellation of the registration of the contract for pledge of patent right |
Granted publication date: 20190823 Pledgee: Hengshui Bank Co.,Ltd. Pledgor: TUNGHSU TECHNOLOGY GROUP Co.,Ltd. Registration number: Y2024980037643 |
|
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20250507 Address after: Room 606, 6th Floor, Building D and E, Commercial Center, Renmin Road Central Street, Taocheng District, Hengshui City, Hebei Province 053099 Patentee after: Hengshui Hengyin Enterprise Management Co.,Ltd. Country or region after: China Address before: 100000, Building 4, Courtyard 2, Sitaizhuang Road, Fengtai District, Beijing. Floors 1-17, Unit 101, 11th Floor 1112 Patentee before: TUNGHSU TECHNOLOGY GROUP Co.,Ltd. Country or region before: China |