CN105608078B - A kind of method and apparatus of Webpage live preview - Google Patents

A kind of method and apparatus of Webpage live preview Download PDF

Info

Publication number
CN105608078B
CN105608078B CN201410590006.9A CN201410590006A CN105608078B CN 105608078 B CN105608078 B CN 105608078B CN 201410590006 A CN201410590006 A CN 201410590006A CN 105608078 B CN105608078 B CN 105608078B
Authority
CN
China
Prior art keywords
page
preview
webpage
data
configuration parameter
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
CN201410590006.9A
Other languages
Chinese (zh)
Other versions
CN105608078A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201410590006.9A priority Critical patent/CN105608078B/en
Publication of CN105608078A publication Critical patent/CN105608078A/en
Application granted granted Critical
Publication of CN105608078B publication Critical patent/CN105608078B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to computer fields, disclose a kind of method and apparatus of Webpage live preview, when carrying out preview to page configuration result to solve attendant, it is easy to appear temporal lag and is easy to appear the inconsistence problems of terminal page and preview page.This method are as follows: service configuration backstage passes through data source middle layer and obtains page configuration parameter on specified pseudo- data backstage, the Webpage of dimension is generated according to the display parameters of user terminal, and page configuration parameter is loaded based on Webpage, generate preview page.In this way, the display parameters and page configuration parameter of user terminal are obtained on pseudo- data backstage by data source middle layer, to generate the preview page for meeting user terminal use demand, not only effectively increase the formation efficiency of preview page, the content consistency for also ensuring preview page and terminal page simultaneously reduces the workload and work difficulty of the maintenance of the later period page.

Description

A kind of method and apparatus of Webpage live preview
Technical field
The present invention relates to computer field, in particular to a kind of method and apparatus of Webpage live preview.
Background technique
In mobile internet service field, attendant is needed to configure some data, and eventually by hypertext markup language The form of speech (HyperText Markup Language, HTML) page is presented to terminal.Attendant configures knot to know Fruit needs to carry out effect preview when configuration.However, the page for being presented to terminal is the content after configuration, it is presented to The page of attendant is content configuration interface and the preview content for being presented to terminal, is presented to terminal and is presented to attendant Interactive mode and show data acquisition modes on have biggish difference.
Under the prior art, there are mainly three types of the methods based on page live preview:
First method is to follow development process, and attendant first passes through service configuration backstage and configures, and is then issued, ability See with the preview effect postponed.
However, this technology certainly exists temporal lag since it could obtain preview effect only after publication, Live preview is not accomplished.
Second method is that terminal and service configuration backstage are developed respectively, and the two is negotiated according to actual demand using identical Then configuration parameter is run simultaneously.
But this method is difficult to realize terminal since its terminaloriented and service-oriented configuration backstage are two systems The preview page on the page and service configuration backstage is completely the same, and safeguards that synchronous cost is also very high.
The third method is the page configuration by controlling by force, and the method is attendant in service configuration backstage " exploitation " page Face generates terminal page according to page configuration.
This method generates terminal page by fixed style configuration, usually only since it is by attendant's completion configuration It can be used in very specific business scenario.For example, service configuration backstage can only simply configure the picture of the page, the size of font With color etc., the update of the page cannot be carried out according to the transformation of use demand.
Summary of the invention
The embodiment of the present invention provides a kind of method and apparatus of Webpage live preview, takes in the prior art to solve When business personnel carry out preview to page configuration result, it is easy to appear temporal lag and is easy to appear terminal page and preview The inconsistence problems of the page.
Particular technique method provided in an embodiment of the present invention is as follows:
A kind of method of Webpage live preview, comprising:
Service configuration backstage passes through data source middle layer and obtains page configuration parameter on specified pseudo- data backstage;Wherein, The data source middle layer is based on identical operating mechanism with the data source middle layer of user terminal and obtains page configuration parameter, described Pseudo- data backstage is the data storage device of emulating server setting;
Service configuration backstage generates the webpage page of dimension according to the display parameters of the user terminal obtained from server Face, and the page configuration parameter is loaded based on the Webpage, generate preview page.
In this way, the preview page on service configuration backstage is based on operating mechanism identical with foreground, pass through data source middle layer Page configuration parameter is obtained on pseudo- data backstage, to generate the preview page for meeting user terminal use demand, not only effectively The formation efficiency of preview page is improved, while also ensuring the content consistency of preview page and terminal page, after reducing The workload and work difficulty of phase page maintenance.
Preferably, service configuration backstage, which passes through data source middle layer, obtains page configuration ginseng on specified pseudo- data backstage Number, comprising:
Basic display information is obtained from server according to instruction and is registered to pseudo- data service platform, alternatively, straight according to instruction It obtains basic display information and to be registered to pseudo- data service platform;
When receiving Webpage instruction for previewing, pseudo- data service platform is accessed by data source middle layer, obtains and is based on base Plinth shows the page configuration parameter of information.
Preferably, the display parameters of newest user terminal are obtained according to the setting period, to the user terminal locally saved Display parameters be updated.
Preferably, further comprising: after generating preview page, when receiving more new command, by the data source Interbed obtains updated page configuration parameter from server, and is registered to pseudo- data service platform, alternatively, by the data Between active layer directly obtain updated page configuration parameter, and be registered to pseudo- data service platform;
When receiving Webpage instruction for previewing, generated according to the display parameters of the user terminal obtained from server corresponding The Webpage of specification, and updated page configuration parameter is loaded based on the Webpage, generate new preview The page.
Preferably, further comprising: after generating preview page, refreshing to the preview page.
A kind of device of Webpage live preview, comprising:
Data source middle layer: for obtaining page configuration parameter on specified pseudo- data backstage;Wherein, in the data source Interbed is based on identical operating mechanism with the data source middle layer of user terminal and obtains page configuration parameter, and puppet data backstage is The data storage device of emulating server setting;
Preview unit: the webpage page of dimension is generated for the display parameters according to the user terminal obtained from server Face, and the page configuration parameter is loaded based on the Webpage, generate preview page.
In this way, the preview page on service configuration backstage is based on operating mechanism identical with foreground, pass through data source middle layer Page configuration parameter is obtained on pseudo- data backstage, to generate the preview page for meeting user terminal use demand, not only effectively The formation efficiency of preview page is improved, while also ensuring the content consistency of preview page and terminal page, after reducing The workload and work difficulty of phase page maintenance.
Preferably, the data source middle layer is specifically used for when specified pseudo- data backstage obtains page configuration parameter:
Basic display information is obtained from server according to instruction and is registered to pseudo- data service platform, alternatively, straight according to instruction It obtains basic display information and to be registered to pseudo- data service platform;
When receiving Webpage instruction for previewing, pseudo- data service platform is accessed, the page based on basic display information is obtained Configuration parameter.
Preferably, the data source middle layer is further used for:
The display parameters that newest user terminal is obtained according to the setting period join the display of the user terminal locally saved Number is updated.
Preferably, the data source middle layer is further used for:
After generating preview page, when receiving more new command, updated page configuration parameter is obtained from server, and It is registered to pseudo- data service platform, alternatively, directly obtaining updated page configuration parameter, and is registered to pseudo- data service platform;
The preview unit is further used for:
When receiving Webpage instruction for previewing, generated according to the display parameters of the user terminal obtained from server corresponding The Webpage of specification, and updated page configuration parameter is loaded based on the Webpage, generate new preview The page.
Preferably, the preview unit is further used for:
After generating preview page, the application program of setting is called to refresh the preview page.
Detailed description of the invention
Fig. 1 is the detailed process of user terminal access server in the embodiment of the present invention;
Fig. 2 is the detailed process that service configuration backstage generates the default page in the embodiment of the present invention;
Fig. 3 is the detailed process that service configuration backstage generates preview page in the embodiment of the present invention;
Fig. 4 is the more new technological process that service configuration backstage generates preview page in the embodiment of the present invention;
Fig. 5 is that service configuration backstage generates default page schematic diagram in the embodiment of the present invention;
Fig. 6 is that service configuration backstage generates the preview page schematic diagram updated in the embodiment of the present invention;
Fig. 7 is service background schematic device in the embodiment of the present invention.
Specific embodiment
When carrying out preview to page configuration result to solve attendant, it is easy to appear temporal lag and is easy There are the inconsistence problems of terminal page and preview page, in the embodiment of the present invention, service configuration backstage passes through among data source Layer obtains page configuration parameter on specified pseudo- data backstage;Wherein, in the data source middle layer and the data source of user terminal Interbed is based on identical operating mechanism and obtains page configuration parameter, which is the data storage dress of emulating server setting It sets;And the Webpage of dimension is generated according to the display parameters of the user terminal obtained from server, and be based on the net The page page loads the page configuration parameter of acquisition, generates preview page.
The preferred embodiment of the present invention is described in detail with reference to the accompanying drawing.
As shown in fig.1, the detailed process of user terminal access server is as follows in the embodiment of the present invention:
Step 100: the access instruction of user terminal reception user.
Under normal conditions, access instruction is uniform resource locator (the Uniform Resource for carrying target webpage Locator, URL) address.
Step 110: user terminal loads static page according to the access instruction of acquisition.
In practical application, after obtaining access instruction, user terminal can generate dimension according to local display parameters The static Web page page.
Step 120: user terminal is obtained by local data source middle layer (foreground version data source middle layer) to server Take page configuration parameter.
In the embodiment of the present invention, user terminal is provided with data source middle layer, for obtaining Various types of data to server, Why data source middle layer is set, is because the Back end data of data source middle layer can be with self-setting, in this way, backstage is also answered When obtaining data with identical data source middle layer, its destination address can be oriented to pseudo- data backstage, if being not provided with data Source middle layer is merely able to be connected to server from the background.
Step 130: user terminal is loaded based on page configuration parameter of the static page of generation to acquisition, is generated aobvious Show the page;
In practical applications, service configuration backstage use with the consistent operating mechanism of user terminal, using with user end It holds identical code and is embedded in the form of inline frame elements (iframe), be all that data are obtained by data source middle layer. Specifically, user terminal is to obtain page configuration ginseng to server by data source middle layer (foreground version data source middle layer) Number, service configuration backstage are to obtain page configuration to pseudo- data backstage by data source middle layer (backstage version data source middle layer) Parameter.
Based on the above principles, as shown in fig.2, in the embodiment of the present invention, service configuration backstage generates the tool of the default page Body process is as follows:
Step 200: service configuration backstage passes through data source middle layer and obtains page configuration ginseng on specified pseudo- data backstage Number;Wherein, data source middle layer is based on identical operating mechanism with the data source middle layer of user terminal and obtains page configuration parameter, Pseudo- data backstage is the data storage device of emulating server setting.
In the embodiment of the present invention, when executing step 200, it can execute but be not limited to following two mode:
1) service configuration backstage can obtain basic display information from server according to the instruction of attendant, and be registered to Pseudo- data service platform.So-called basic display information refers to all kinds of display information in Webpage, for example, all kinds of pictures, all kinds of Component, various controls etc., in this way, passing through backstage version data when service configuration backstage receives Webpage instruction for previewing Source middle layer accesses pseudo- data service platform, therefrom obtains the page configuration parameter based on basic display information, wherein the so-called page Configuration parameter is to obtain from basic display information for generating the display information of current preview page, e.g., Image ID, Component ID etc..
2) service configuration backstage can directly obtain basic display information according to the instruction of attendant and be registered to pseudo- number According to information desk.In this way, being visited when service configuration backstage receives Webpage instruction for previewing by backstage version data source middle layer It asks pseudo- data service platform, therefrom obtains the page configuration parameter based on basic display information.
Step 210: service configuration backstage generates dimension according to the display parameters of the user terminal obtained from server Webpage, and page configuration parameter is loaded based on the Webpage, generates preview page.
In the embodiment of the present invention, from server obtain user terminal display parameters can there are many, different displays Parameter corresponds to the Webpage of different size, in practical application, can generate Webpage respectively for a variety of user terminals, i.e., From server obtain user terminal display parameters can be it is one or more, can in conjunction with webpage page configuration parameter It uses.And choosing which kind of page configuration parameter is known according to Webpage instruction for previewing, i.e., according to instruction for previewing from basis It is screened in display information.
In the embodiment of the present invention, when executing step 210, service configuration backstage can control program with invoking page, by page Face configuration parameter is loaded onto the Webpage of dimension, to generate preview page.
In this manner it is possible to the web preview instruction according to user terminal generates preview page, due to, service configuration backstage and User terminal uses identical mechanism, so the preview page generated is consistent with the user terminal page, can also find page in time Face existing inconsistence problems during generating.
In the embodiment of the present invention, when executing step 210, service configuration backstage obtains newest user according to the setting period The display parameters of terminal are updated the display parameters of the user terminal locally saved, in this way, can be real-time by server Get the display parameters of newest user terminal.
Further, after generating preview page, service configuration backstage can control program to preview page with invoking page Refreshed.Specifically, service configuration backstage can control program by invoking page, the file of the retriggered page prepares just Thread (DocumentReady) event, so that the HTML of preview page static state can re-execute script (javascript), in this way, keeping away Interface flicker problem caused by direct iframe refreshes is exempted from.
Further, after generating preview page, when receiving more new command, it can execute but be not limited to following two side Formula:
1) updated page configuration parameter is obtained from server by backstage version data source middle layer, and is registered to pseudo- number According to information desk.Then, it when receiving new instruction for previewing, is generated according to the display parameters of the user terminal obtained from server The Webpage of dimension, and being loaded to updated page configuration parameter based on the Webpage is generated new pre- Look at the page.
2) updated page configuration parameter is directly obtained by active layer among data, and is registered to pseudo- data service platform. Then, when receiving new instruction for previewing, dimension is generated according to the display parameters of the user terminal obtained from server Webpage, and updated page configuration parameter is loaded based on the Webpage, generates new preview page.
Further description is made to above-described embodiment using two specific application scenarios below.
As shown in fig.3, the detailed process that service configuration backstage generates preview page is as follows in the embodiment of the present invention:
Step 300: service configuration backstage receives the instruction that attendant sends.
Step 310: after service configuration backstage starts, obtaining basic display information from server.
Step 320: service configuration backstage carries out initialization service configuration, and the basic display information that will acquire is registered to pseudo- number According to information desk.
In the present embodiment, service configuration backstage can use during executing step 320 but be not limited to following two Mode:
First way are as follows: service configuration backstage can obtain basis display letter from server according to the instruction of attendant Breath, and it is registered to pseudo- data backstage.
Under the first technique, service configuration backstage can be after receiving instruction for previewing, by the version data source of backstage Interbed accesses pseudo- data service platform, therefrom obtains the page configuration parameter based on basic display information.Wherein, page configuration parameter It is used to indicate the various information for including in the page being currently generated.
The second way are as follows: service configuration backstage can directly obtain basic display information according to the instruction of attendant, And it is registered to pseudo- data backstage.
Under a second technique, basic display information is preset in pseudo- data backstage, and service configuration backstage can connect After receiving instruction for previewing, pseudo- data service platform is accessed by backstage version data source middle layer, is therefrom obtained based on basis display letter The page configuration parameter of breath.
Step 330: service configuration backstage receives instruction for previewing.
Step 340: service configuration backstage load static page, and pseudo- data backstage is accessed, it obtains based on basis display letter The page configuration parameter of breath.
Step 350: service configuration backstage generates dimension according to the display parameters of the user terminal obtained from server Webpage, loading page configuration parameter, generate preview page.
The detailed process that preview page is generated based on above-mentioned service configuration backstage, as shown in fig.4, the embodiment of the present invention In, the more new technological process that service configuration backstage generates preview page is specific as follows:
Step 400: service configuration backstage receives more new command.
Step 410: adding updated page configuration parameter to pseudo- data service platform from server in service configuration backstage.
Specifically, step 410 is optionally, page configuration parameter has been saved in pseudo- data service platform after update, this In the case of kind, service configuration backstage can directly go pseudo- data station to call, and do not have to obtain to server, can generate to meet and work as The new preview page of preceding user demand.
Step 420: service configuration backstage receives instruction for previewing.
Step 430: updated page configuration parameter is obtained to pseudo- data service platform by backstage version data source middle layer.
Step 440: service configuration backstage generates the Webpage of dimension according to updated display parameters, and calls Page control program is based on the Webpage and loads to updated page configuration parameter, generates new preview page.
For example, service configuration backstage receives the instruction that attendant sends, such as: http://ma.taobao.com/ Back.html obtains display parameters from server, shaped like:
<html>
<body>
show some thing
<script>obtain the code of page configuration parameter</script>
</body>
</html>
Service configuration backstage generates the webpage page of dimension according to the display parameters of the user terminal obtained from server Face.
Service configuration backstage initialization service configuration, the basic display information that will acquire are registered to pseudo- data backstage, shape Such as:
When receiving Webpage instruction for previewing, service configuration backstage is according to the aobvious of the user terminal obtained from server Show that parameter generates the Webpage of dimension, and page configuration parameter is loaded based on the Webpage, generates preview The page.Display effect at this time is refering to shown in Fig. 5.
When service configuration backstage receives more new command, such as: user is right end input header " dynamic changes content ", i.e., The Webpage of dimension is filled into according to the corresponding page configuration parameter of modification content that user indicates, shaped like:
Then, service configuration backstage initiates to update request, and invoking page control program is based on the webpage to updated Page configuration parameter is loaded, and new preview page is generated.Display effect at this time is refering to shown in Fig. 6.
Based on the above embodiment, as shown in fig.7, in the embodiment of the present invention, the device of Webpage preview includes: data Source middle layer 70 and preview unit 71;Wherein,
Data source middle layer 70: for obtaining page configuration parameter on specified pseudo- data backstage;Wherein, among data source Layer is based on identical operating mechanism with the data source middle layer of user terminal and obtains page configuration parameter, and pseudo- data backstage is simulation suit The data storage device of business device setting;
Preview unit 71: the webpage of dimension is generated for the display parameters according to the user terminal obtained from server The page, and page configuration parameter is loaded based on Webpage, generate preview page.
Preferably, data source middle layer 70 is specifically used for when specified pseudo- data backstage obtains page configuration parameter:
Basic display information is obtained from server according to instruction and is registered to pseudo- data service platform, alternatively, straight according to instruction It obtains basic display information and to be registered to pseudo- data service platform;
When receiving Webpage instruction for previewing, pseudo- data service platform is accessed, the page based on basic display information is obtained Configuration parameter.
Preferably, data source middle layer 70 is further used for:
The display parameters that newest user terminal is obtained according to the setting period join the display of the user terminal locally saved Number is updated.
Preferably, data source middle layer 70 is further used for:
After generating preview page, when receiving more new command, updated page configuration parameter is obtained from server, and It is registered to pseudo- data service platform, alternatively, directly obtaining updated page configuration parameter, and is registered to pseudo- data service platform;
Preview unit 71 is further used for:
When receiving Webpage instruction for previewing, generated according to the display parameters of the user terminal obtained from server corresponding The Webpage of specification, and updated page configuration parameter is loaded based on Webpage, generate new preview page.
Preferably, preview unit 71 is further used for:
After generating preview page, the application program of setting is called to refresh preview page.
In conclusion service configuration backstage passes through data source middle layer after specified pseudo- data in the embodiment of the present invention Platform obtains page configuration parameter, and service configuration backstage generates the webpage page of dimension according to the display parameters obtained from server Face, and page configuration parameter is loaded based on the Webpage, generate preview page.In this way, service configuration backstage is based on Operating mechanism identical with foreground obtains page configuration parameter on pseudo- data backstage by data source middle layer, to generate symbol The preview page for closing user terminal use demand, not only effectively increases the formation efficiency of preview page, while also ensuring pre- It lookes at the content consistency of the page and terminal page, reduces the workload and work difficulty of the maintenance of the later period page.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, those skilled in the art can carry out various modification and variations without departing from this hair to the embodiment of the present invention The spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of method of Webpage live preview, which is characterized in that the described method includes:
Service configuration backstage passes through data source middle layer and obtains page configuration parameter on specified pseudo- data backstage;Wherein, described Data source middle layer is based on identical operating mechanism with the data source middle layer of user terminal and obtains page configuration parameter, the puppet number It is the data storage device of emulating server setting according to backstage;
Service configuration backstage generates the Webpage of dimension according to the display parameters of the user terminal obtained from server, and The page configuration parameter is loaded based on the Webpage, generates preview page.
2. the method as described in claim 1, which is characterized in that service configuration backstage passes through data source middle layer in specified puppet Data backstage obtains page configuration parameter, comprising:
Basic display information is obtained from server according to instruction and is registered to pseudo- data service platform, alternatively, directly being obtained according to instruction It obtains basic display information and is registered to pseudo- data service platform;
When receiving Webpage instruction for previewing, pseudo- data service platform is accessed by data source middle layer, is obtained aobvious based on basis Show the page configuration parameter of information.
3. the method as described in claim 1, which is characterized in that join according to the display that the setting period obtains newest user terminal Number, is updated the display parameters of the user terminal locally saved.
4. such as the method for claim 1,2 or 3, which is characterized in that further comprise:
After generating preview page, when receiving more new command, through the data source middle layer after server acquisition update Page configuration parameter, and pseudo- data service platform is registered to, alternatively, directly obtaining by the data source middle layer updated Page configuration parameter, and it is registered to pseudo- data service platform;
When receiving Webpage instruction for previewing, dimension is generated according to the display parameters of the user terminal obtained from server Webpage, and updated page configuration parameter is loaded based on the Webpage, generates new preview page.
5. method as claimed in claim 4, which is characterized in that further comprise:
After generating preview page, the application program of setting is called to refresh the preview page.
6. a kind of device of Webpage live preview, which is characterized in that described device includes:
Data source middle layer, for obtaining page configuration parameter on specified pseudo- data backstage;Wherein, the data source middle layer Identical operating mechanism is based on the data source middle layer of user terminal and obtains page configuration parameter, and puppet data backstage is simulation The data storage device of server setting;
Preview unit generates the Webpage of dimension for the display parameters according to the user terminal obtained from server, And the page configuration parameter is loaded based on the Webpage, generate preview page.
7. device as claimed in claim 6, which is characterized in that when specified pseudo- data backstage obtains page configuration parameter, The data source middle layer is specifically used for:
Basic display information is obtained from server according to instruction and is registered to pseudo- data service platform, alternatively, directly being obtained according to instruction It obtains basic display information and is registered to pseudo- data service platform;
When receiving Webpage instruction for previewing, pseudo- data service platform is accessed, the page configuration based on basic display information is obtained Parameter.
8. device as claimed in claim 7, which is characterized in that the data source middle layer is further used for:
Obtain the display parameters of newest user terminal according to the setting period, to the display parameters of the user terminal locally saved into Row updates.
9. such as the device of claim 6,7 or 8, which is characterized in that the data source middle layer is further used for:
After generating preview page, when receiving more new command, updated page configuration parameter is obtained from server, and register To pseudo- data service platform, alternatively, directly obtaining updated page configuration parameter, and it is registered to pseudo- data service platform;
The preview unit is further used for:
When receiving Webpage instruction for previewing, dimension is generated according to the display parameters of the user terminal obtained from server Webpage, and updated page configuration parameter is loaded based on the Webpage, generates new preview page.
10. device as claimed in claim 9, which is characterized in that the preview unit is further used for:
After generating preview page, the application program of setting is called to refresh the preview page.
CN201410590006.9A 2014-10-28 2014-10-28 A kind of method and apparatus of Webpage live preview Active CN105608078B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410590006.9A CN105608078B (en) 2014-10-28 2014-10-28 A kind of method and apparatus of Webpage live preview

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410590006.9A CN105608078B (en) 2014-10-28 2014-10-28 A kind of method and apparatus of Webpage live preview

Publications (2)

Publication Number Publication Date
CN105608078A CN105608078A (en) 2016-05-25
CN105608078B true CN105608078B (en) 2019-03-12

Family

ID=55988022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410590006.9A Active CN105608078B (en) 2014-10-28 2014-10-28 A kind of method and apparatus of Webpage live preview

Country Status (1)

Country Link
CN (1) CN105608078B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107092634B (en) * 2017-02-13 2021-04-27 口碑控股有限公司 Method and device for realizing page preview
CN108334451B (en) * 2018-01-30 2022-02-01 无线生活(杭州)信息科技有限公司 Page compatibility testing method and device
CN108363775B (en) * 2018-02-09 2022-08-12 上海宝尊电子商务有限公司 High-expansibility online environment previewing method based on rule engine
CN109740096B (en) * 2018-12-28 2021-04-20 广州华多网络科技有限公司 Method, device and system for realizing real-time preview and storage medium
CN113076499A (en) * 2021-04-30 2021-07-06 北京字节跳动网络技术有限公司 Page interaction method, device, equipment, medium and program product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067819A (en) * 2007-06-07 2007-11-07 北京大学 Web page resource issuing method and issuing system
CN103353886A (en) * 2013-06-28 2013-10-16 优视科技有限公司 Method and system for previewing webpage
CN104090979A (en) * 2014-07-23 2014-10-08 上海天脉聚源文化传媒有限公司 Method and device for editing webpage

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1267276A1 (en) * 2001-06-12 2002-12-18 Telefonaktiebolaget L M Ericsson User selective reload of images

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067819A (en) * 2007-06-07 2007-11-07 北京大学 Web page resource issuing method and issuing system
CN103353886A (en) * 2013-06-28 2013-10-16 优视科技有限公司 Method and system for previewing webpage
CN104090979A (en) * 2014-07-23 2014-10-08 上海天脉聚源文化传媒有限公司 Method and device for editing webpage

Also Published As

Publication number Publication date
CN105608078A (en) 2016-05-25

Similar Documents

Publication Publication Date Title
CN105608078B (en) A kind of method and apparatus of Webpage live preview
JP4857349B2 (en) Method, system, and computer program for providing asynchronous portal pages within a portal system
Jourdain et al. ParaViewWeb: A web framework for 3D visualization and data processing
CN103942225B (en) A kind of resource transfer method, client and the system of mixed type applications client
CN109313661A (en) Accelerate for the webpage of the network application of trustship in primary mobile application
CN105630478B (en) A kind of method and apparatus for realizing page switching
JP2020511711A (en) Message processing method, storage medium, and computer device
US8245125B1 (en) Hybrid rendering for webpages
CN107168999A (en) A kind of method for updating pages and device
US20150220496A1 (en) Dynamic sprite based theme switching
US10063490B2 (en) Method and system of operating an online application service in a deployment environment to facilitate run-time experimentation with user interface configurations
CN109460233A (en) Primary interface display update method, device, terminal device and the medium of the page
CN109845250B (en) Method and system for sharing effect of image
CN109901938A (en) Big screen system and visual presentation method are interacted based on WebSocket communication
US10353876B2 (en) Dynamic property data integration framework
CN103577207A (en) Loading method and loading device for interface components in custom interface system
CN110750255A (en) Applet rendering method and device
Behl et al. Architectural pattern of progressive web and background synchronization
CN106878361A (en) A kind of adjustment method of the terminal applies page, device and client
JP5936103B2 (en) System, computer, method and program for calling Java method on client
US20140304689A1 (en) Systems and Methods for Developing and Testing Electronic Content Using Multiple Devices
CN104978433A (en) Web page display method and device
CN109558323A (en) For debugging system, the method and apparatus of the page
CN108132820B (en) Dynamic picture display method, device and equipment
US9059959B2 (en) Client side management of HTTP sessions

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