CN106095945A - A kind of third party content shows front end, server and method - Google Patents
A kind of third party content shows front end, server and method Download PDFInfo
- Publication number
- CN106095945A CN106095945A CN201610417469.4A CN201610417469A CN106095945A CN 106095945 A CN106095945 A CN 106095945A CN 201610417469 A CN201610417469 A CN 201610417469A CN 106095945 A CN106095945 A CN 106095945A
- Authority
- CN
- China
- Prior art keywords
- content
- party
- data
- server
- party content
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Abstract
The invention discloses a kind of third party content and show front end, server and method.Described front end includes display module, is used for showing third party content;Server request module, for the content-label according to described display module, makes the third party content inventory needing to show, and submits to request server end;Server respond module, for receiving the third party content that server end sends.Described server includes front end request module, the third party content inventory needing to show sent for receiving front-end;Content library, for storing the content that third party provides;Front end respond module, sends the third party content needing to show for forward end.Described method includes that the content that (1) acquisition third party provides is stored as content library;(2) the third party content inventory that front end needs to show is obtained;(3) third party content shown for each needs in described inventory, obtains corresponding contents data in content library.Logic of the present invention is integrated, easy to maintenance.
Description
Technical field
The invention belongs to Internet technical field, more particularly, to a kind of third party content methods of exhibiting and system.
Background technology
At present, web page display server, the development mode in front end is the content and scene shown as required, such as advertisement
Content and scene, stand-alone development.When showing that content is more or uncertain, the logic of stand-alone development each displaying content,
It is interspersed in other web page contents so that webpage logic becomes complicated, significantly increases the maintenance cost of website.
Summary of the invention
For disadvantages described above or the Improvement requirement of prior art, the invention provides a kind of third party content show front end,
Server and method, its object is to provide a kind of system and method focusing on third party content displaying, integrated independent
Show logic, thus reduce the difficulty of webpage development, facilitate website maintenance, thus solve prior art more at third party content
In the case of, the technical problem that webpage logic is complicated, website maintenance cost is high.
For achieving the above object, according to one aspect of the present invention, it is provided that a kind of third party content shows front end, bag
Include:
Display module, for showing third party content data according to content-label;
Described display module, the exhibition information that recordable markup language is write, and specify for showing third party content
Position and space.
Server request module, for the content-label according to described display module, makes in the third party needing to show
Hold inventory, and submit to request server end;
Server respond module, for receiving the third party content data that server end sends.
Preferably, described third party content shows front end, and it also includes:
Control module, for according to style type, being converted into corresponding sample by the third party content data that respond module sends
Formula.
Preferably, described third party content shows front end, and its style type includes that picture, flash and flash are inline.
According to another aspect of the present invention, it is provided that a kind of third party content shows server, including:
Front end request module, the third party content inventory needing to show sent for receiving front-end;
Content library, for storing the content-data that third party provides;
Described content-data includes that third party shows material and the Rendering logic of third party's extension;
Front end respond module, sends the third party content data needing to show for forward end.
Preferably, described third party content shows server, and its described front end respond module is for asking modulus according to front end
The third party content inventory that block provides obtains the corresponding contents that third party provides in content library, and forward end sends and needs to show
Third party content data.
Preferably, described third party content shows server, and its described front end respond module is for when in described content library
Hold forward end when updating and send the third party content needing to show.
According to another aspect of the present invention, it is provided that a kind of third party content display packing, comprise the following steps:
(1) content-data obtaining third party's offer is stored as content library;
(2) the third party content inventory that front end needs to show is obtained;
(3) third party content shown for each needs in the inventory of acquisition in step (2), in step (1)
Content library in obtain in requisition for displaying content-data;
Preferably, described display packing, it comprises the following steps:
(4) when the content-data obtained in step (3) is empty data, the described third party content needing to show is deleted clear
Respective entries in list.
Preferably, described display packing, the described third party content inventory needing to show of its step (2), by front end to clothes
Business device acquisition request or server actively forward end pushes and obtains.
Preferably, described display packing, the content described in its step (1) includes the materials such as picture, flash, flash be inline
And third party extension render;
Step (3) is when in described content library, the data of storage need to render, and the content-data that described needs are shown is wash with watercolours
Data after dye, preferably render according to the Rendering logic of third party's extension.In general, by the present invention contemplated with
Upper technical scheme compared with prior art, owing to having concentrated independent third party content to show logic, it is possible to obtain following useful
Effect:
Third party content is shown that the service logic of logical AND website itself is separate, is independent of each other, for web site performance
As less in loading velocity impact, it is easily maintained simultaneously and extends.
Accompanying drawing explanation
Fig. 1 is that the third party content that the present invention provides shows front end and the structural representation of server;
Fig. 2 is the schematic flow sheet of the third party content methods of exhibiting that the present invention provides;
Fig. 3 is the schematic flow sheet of the third party content methods of exhibiting that the embodiment of the present invention 3 provides.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, right
The present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, and
It is not used in the restriction present invention.If additionally, technical characteristic involved in each embodiment of invention described below
The conflict of not constituting each other just can be mutually combined.
The third party content that the present invention provides shows front end, as it is shown in figure 1, include:
Display module, for showing third party content data according to content-label;
Described display module, the exhibition information that recordable markup language is write, and specify for showing third party content
Position and space.
Server request module, for the content-label according to described display module, makes in the third party needing to show
Hold inventory, and submit to request server end;
Server respond module, for receiving the third party content data that server end sends;
Control module, for according to style type, being converted into corresponding sample by the third party content data that respond module sends
Formula.
Described style type includes the forms such as picture, flash, flash be inline.Described according to style type, mould will be responded
The third party content that block sends shows in display module.
The third party content that the present invention provides shows server, as it is shown in figure 1, include:
Front end request module, the third party content inventory needing to show sent for receiving front-end;
Content library, for storing the content-data that third party provides;
Described content-data includes that third party shows material and the Rendering logic of third party's extension
Front end respond module, sends the third party content data needing to show for forward end.
Described front end respond module is preferred for the third party content inventory according to the offer of front end request module in content library
The corresponding contents data that the middle third party of acquisition provides, and the third party content data that forward end transmission needs are shown;The most also use
When content library content update, forward end sends the third party content data needing to show.
The third party content methods of exhibiting that the present invention provides, as in figure 2 it is shown, comprise the following steps:
(1) content-data obtaining third party's offer is stored as content library;
Described content includes the materials such as picture, flash, flash be inline and the Rendering logic of third party's extension.
(2) the third party content inventory that front end needs to show is obtained;
The described third party content needing to show, can be pushed away to server request acquisition or server actively forward end by front end
Send acquisition.
(3) third party content shown for each needs in the inventory of acquisition in step (2), in step (1)
Content library in obtain in requisition for displaying content-data;
When in described content library, the data of storage need to render, the content-data that described needs are shown is the number after rendering
According to, preferably render according to the Rendering logic of third party's extension.
(4) when the content-data obtained in step (3) is empty data, the described third party content needing to show is deleted clear
Respective entries in list.
It is below embodiment:
Embodiment 1
A kind of third party content shows front end, for third party's advertising display front end, including:
Display module, for showing third party content data according to content-label;
Described display module, writes with html language, is shown in specified size in the position specified by browser
Ad content.
Server request module, for the content-label according to described display module, makes in the third party needing to show
Hold inventory, and submit to request server end;
Including the advertisement data request interface of scripting language, call flashplayer, to server request third party
Ad data.Described script is embedded in html markup language, it is preferred to use javascript.
Server respond module, for receiving the third party content that server end sends;
Including the flashplayer for rendering and the script of embedding html, described script is preferably
javascript。
Render employing following methods:
A, the Rendering logic of traversal third party's extension, if meeting one of them Rendering logic, then render described in execution and patrol
Collect and terminate, otherwise carrying out acquiescence and render;
B, acquiescence render: when described content is picture materials, carry out picture acquiescence and render;When described content is flash element
During material, carry out flash acquiescence and render;When described content is the inline material of flash, carries out the inline acquiescence of flash and render.
Control module, for according to style type, being converted into corresponding pattern by the third party content that respond module sends.
Described style type includes the forms such as picture, flash, flash be inline.Described according to style type, mould will be responded
The third party content that block sends shows in display module.Described control module, it is preferred to use css writes, controls respond module
The third party content sent is that picture, flash, flash be inline or other corresponding patterns.
Embodiment 2
A kind of third party content shows server, for third party's advertising display server, including:
Front end request module, the third party's advertisement listings needing to show sent for receiving front-end;
Content library, for storing the content that third party provides;The content that described third party provides includes ad material and the
The Rendering logic of tripartite's extension.
Front end respond module, sends the third party's ad content needing to show for forward end.Described front end respond module,
Can be according to the request of front end request module, forward end sends the third party's advertisement needing to show, it is possible to when content library updates, main
Trend front end sends third party's ad content.
Embodiment 3
A kind of third party content methods of exhibiting, for third party's exhibiting advertising content method, as it is shown on figure 3, include following step
Rapid:
(1) content-data obtaining third party's offer is stored as content library;
Described content bag data include the forms such as picture, flash, flash be inline.
(2) the third party content inventory that front end needs to show is obtained;
The described third party content data needing to show, can be obtained to server request by front end or server actively the most forward
End pushes and obtains.
Described front end page uses html to write, and loads for statement formula advertisement, can be pre-configured with advertisement number in html
According to, such as:
<div data-sign=”1000”></div>
Div is the block elements inside html, and data-sign is the attribute of div, represents the advertisement numbering needing to load.
If the advertisement that need not statement formula loads, then ignore this step.
In described front end page, the set of all of advertisement numbering forms described third party content inventory.
(3) the third party content data shown for each needs in the inventory of acquisition in step (2), in step
(1) content library in obtains in requisition for the content-data shown;
After the page has loaded, javascript loads css file and flash file automatically.
Described third party content inventory is passed to flahsplayer, flashplayer by Javascript please to server
Seek third party's ad data that inventory states clearly.Treat that flashplayer request server terminates response, response results is passed to
javascript。
When in described content library, the data of storage need to render, the content-data that described needs are shown is the number after rendering
According to.After Javascript obtains third party's ad data, each data is rendered in accordance with the following steps:
A, the Rendering logic of traversal third party's extension, if meeting one of them Rendering logic, then render described in execution and patrol
Collect and terminate, otherwise carrying out acquiescence and render;The Rendering logic of described third party extension is stored in server content storehouse.
B, acquiescence render: when described content-data is picture materials, carry out picture acquiescence and render;When described content-data is
During flash material, carry out flash acquiescence and render;When described content-data is the inline material of flash, carry out flash inline silent
Recognize and render.
(4) when the data obtained in step (3) are empty data, delete in the described third party content inventory needing and showing
Respective entries.
After all of third party's ad data has been rendered by javascript, if the request of ad data be by
Javascript initiates, and the advertising node of no data can be destroyed, such as by javascript:
<div data-sign=”1000”></div>
Advertisement is numbered: the advertisement of 1000 does not has data, and div can be deleted by javascript.
As it will be easily appreciated by one skilled in the art that and the foregoing is only presently preferred embodiments of the present invention, not in order to
Limit the present invention, all any amendment, equivalent and improvement etc. made within the spirit and principles in the present invention, all should comprise
Within protection scope of the present invention.
Claims (10)
1. a third party content shows front end, it is characterised in that including:
Display module, for showing third party content data according to content-label;
Server request module, for the content-label according to described display module, makes the third party content needing to show clear
Single, and submit to request server end;
Server respond module, for receiving the third party content data that server end sends.
2. third party content as claimed in claim 1 shows front end, it is characterised in that also include:
Control module, for according to style type, being converted into corresponding pattern by the third party content data that respond module sends.
3. third party content as claimed in claim 2 shows front end, it is characterised in that described style type include picture,
Flash and flash is inline.
4. a third party content shows server, it is characterised in that including:
Front end request module, the third party content inventory needing to show sent for receiving front-end;
Content library, for storing the content-data that third party provides;
Described content-data includes that third party shows material and the Rendering logic of third party's extension;
Front end respond module, sends the third party content data needing to show for forward end.
5. third party content as claimed in claim 4 shows server, it is characterised in that described front end respond module is used for root
According to front end request module provide third party content inventory obtains in content library third party offer corresponding contents data, and to
Front end sends the third party content data needing to show.
6. third party content as claimed in claim 4 shows server, it is characterised in that described front end respond module is for working as
During described content library content update, forward end sends the third party content data needing to show.
7. a third party content display packing, it is characterised in that comprise the following steps:
(1) content-data obtaining third party's offer is stored as content library;
(2) the third party content inventory that front end needs to show is obtained;
(3) third party content that each needs in the inventory that obtains in step (2) are shown, interior in step (1)
Rong Ku obtains in requisition for the content-data shown.
8. display packing as claimed in claim 7, it is characterised in that comprise the following steps:
(4) when the content-data obtained in step (3) is empty data, delete in the described third party content inventory needing and showing
Respective entries.
9. third party's display packing as claimed in claim 7, it is characterised in that the described third party needing to show of step (2)
Content inventory, is obtained or server actively forward end propelling movement acquisition to server request by front end.
10. third party's display packing as claimed in claim 7, it is characterised in that the content described in step (1) include picture,
What the materials such as flash, flash are inline and third party extended renders;
Step (3) is when in described content library, the data of storage need to render, after the content-data that described needs are shown is for rendering
Data, preferably according to third party extension Rendering logic render.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610417469.4A CN106095945B (en) | 2016-06-15 | 2016-06-15 | Third-party content display front end, server and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610417469.4A CN106095945B (en) | 2016-06-15 | 2016-06-15 | Third-party content display front end, server and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106095945A true CN106095945A (en) | 2016-11-09 |
CN106095945B CN106095945B (en) | 2020-01-03 |
Family
ID=57845540
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610417469.4A Active CN106095945B (en) | 2016-06-15 | 2016-06-15 | Third-party content display front end, server and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106095945B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030078976A1 (en) * | 2001-10-18 | 2003-04-24 | Gordon Andrew Scott | Method and apparatus for facilitating romance and/or sexual relations |
CN101098344A (en) * | 2007-07-23 | 2008-01-02 | 王文钢 | Video advertisement exhibiting method |
CN102404617A (en) * | 2011-12-05 | 2012-04-04 | 深圳市同洲视讯传媒有限公司 | Method and system for realizing video advertisement and unified session resource management system |
CN103200206A (en) * | 2012-01-06 | 2013-07-10 | 腾讯科技(深圳)有限公司 | Advertisement displaying method and advertisement displaying client |
CN105446996A (en) * | 2014-07-16 | 2016-03-30 | 阿里巴巴集团控股有限公司 | Page display method and page display system |
-
2016
- 2016-06-15 CN CN201610417469.4A patent/CN106095945B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030078976A1 (en) * | 2001-10-18 | 2003-04-24 | Gordon Andrew Scott | Method and apparatus for facilitating romance and/or sexual relations |
CN101098344A (en) * | 2007-07-23 | 2008-01-02 | 王文钢 | Video advertisement exhibiting method |
CN102404617A (en) * | 2011-12-05 | 2012-04-04 | 深圳市同洲视讯传媒有限公司 | Method and system for realizing video advertisement and unified session resource management system |
CN103200206A (en) * | 2012-01-06 | 2013-07-10 | 腾讯科技(深圳)有限公司 | Advertisement displaying method and advertisement displaying client |
CN105446996A (en) * | 2014-07-16 | 2016-03-30 | 阿里巴巴集团控股有限公司 | Page display method and page display system |
Also Published As
Publication number | Publication date |
---|---|
CN106095945B (en) | 2020-01-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104866383B (en) | Interface calling method and device and terminal | |
US8887132B1 (en) | Application runtime environment and framework | |
US10572581B2 (en) | System and method for web content presentation management | |
US10346018B2 (en) | Method, apparatus and storage medium for processing HTML5 canvas application | |
US8959142B2 (en) | Combining server-side and client-side user interface elements | |
CN109254773A (en) | Skeleton page generation method, device, equipment and storage medium | |
CN104932889A (en) | Page visual generation method and device | |
US8074167B2 (en) | Cross domain presence of web user interface and logic | |
US20150185994A1 (en) | Local Rendering of an Object as an Image | |
CN104834753A (en) | Webpage screenshot generating method and device | |
CN104035753A (en) | Double-WebView customized page display method and system | |
CN102073502A (en) | Method for rendering page frame by WEB primary layout and device thereof | |
CN105094786A (en) | Method and system for customizing page based on JavaScript | |
CN102306174A (en) | Method and equipment for interacting with user based on web page elements | |
WO2016065969A1 (en) | Webpage text parsing method and device, and mobile terminal | |
CN105094753A (en) | Method, device, and system for drawing wireframe | |
CN108959495A (en) | Page display method, device, equipment and the computer storage medium of H5 webpage | |
CN104915461A (en) | Page presentation method and device | |
CN106533926A (en) | Webpage information dissemination method and device | |
US20180196789A1 (en) | Transforming a website for dynamic web content management | |
WO2019000894A1 (en) | Method and device for generating article outline | |
CN107688650A (en) | A kind of web page generation method and device | |
CN106095945A (en) | A kind of third party content shows front end, server and method | |
CN105989012A (en) | Page display method, device, mobile terminal and system | |
CN110908680A (en) | Information processing method, device and equipment |
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 | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20161109 Assignee: Hubei Special Automobile Network Technology Co.,Ltd. Assignor: WUHAN DOUYU NETWORK TECHNOLOGY Co.,Ltd. Contract record no.: X2023980034618 Denomination of invention: A third-party content display front-end, server, and method Granted publication date: 20200103 License type: Common License Record date: 20230413 |
|
EE01 | Entry into force of recordation of patent licensing contract |