CN109960771B - Advertisement display method - Google Patents
Advertisement display method Download PDFInfo
- Publication number
- CN109960771B CN109960771B CN201910220484.3A CN201910220484A CN109960771B CN 109960771 B CN109960771 B CN 109960771B CN 201910220484 A CN201910220484 A CN 201910220484A CN 109960771 B CN109960771 B CN 109960771B
- Authority
- CN
- China
- Prior art keywords
- advertisement
- html page
- space
- materials
- labels
- 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
- 238000000034 method Methods 0.000 title claims abstract description 39
- 239000000463 material Substances 0.000 claims description 18
- 230000003993 interaction Effects 0.000 claims description 13
- 238000012545 processing Methods 0.000 claims description 9
- 238000013515 script Methods 0.000 claims description 9
- 230000007246 mechanism Effects 0.000 claims description 3
- 238000013507 mapping Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Abstract
The invention discloses an advertisement display method, which comprises the following steps: s101, acquiring an advertisement space code; s102, corresponding advertisement raw data is called from a database by utilizing advertisement space codes; s103, constructing advertisement raw data into advertisement controls which can be displayed on an HTML page; s104, outputting the advertisement control to the HTML page. According to the advertisement display method, the advertisement making time is shortened by unifying the advertisement template, the advertisement position code and the like, and the advertisement can be quickly created and the advertisement text can be quickly replaced.
Description
Technical Field
The invention relates to the technical field of Internet, in particular to an advertisement display method.
Background
The existing advertisement display generally depends on pictures and Flash animation as carriers, depends on the processing of each picture by an artist, and wastes more communication time because of aesthetic difference with clients. In addition, when the user needs to temporarily change the display document, the user needs to process the picture again, and all the pictures are difficult to replace.
Disclosure of Invention
The technical problems to be solved by the invention are as follows: aiming at the problems, the advertisement display method is provided, and the advertisement can be quickly created and replaced by unifying the advertisement template, the advertisement space code and the like.
The technical scheme adopted by the invention is as follows:
an advertisement presentation method, comprising:
s101, acquiring an advertisement space code;
s102, corresponding advertisement raw data is called from a database by utilizing advertisement space codes;
s103, constructing advertisement raw data into advertisement controls which can be displayed on an HTML page;
s104, outputting the advertisement control to the HTML page.
In a preferred embodiment, the method for acquiring the advertisement space code in step S101 is as follows: acquiring advertisement space codes by a preset processing model; the preset processing model maps different advertisement space codes for each advertisement space.
In a preferred embodiment, the method of retrieving corresponding advertisement raw data from the database by using the advertisement space code in step S102 is as follows:
s101, using advertisement position codes to call advertisement templates suitable for the current advertisement position from a database;
s202, using the advertisement position code to call the advertisement item suitable for the current advertisement position from the database;
s203, according to the advertisement item, advertisement materials suitable for the current advertisement position are called.
In a preferred embodiment, the method of assembling the advertisement raw data into advertisement controls that can be displayed on the HTML page in step S103 is as follows:
s301, selecting an advertisement item, and acquiring an advertisement template suitable for the selected advertisement item;
s302, analyzing an advertisement label through a regular expression in the acquired advertisement template;
s303, matching the corresponding preset value in the advertisement materials by utilizing the analyzed advertisement labels, and replacing the matched label positions in the advertisement materials to the corresponding advertisement labels in the advertisement templates.
In a preferred embodiment, the method of assembling the advertiser data into advertisement controls displayable on HTML pages in step S103 further comprises:
s304, when one advertisement position simultaneously displays a plurality of advertisements, repeating S301-S303, so that the advertisements needing to be simultaneously displayed on one advertisement position are uniformly constructed into advertisement controls which can be displayed on an HTML page.
In a preferred embodiment, the method of outputting the advertisement control to the HTML page in step S104 is: the constructed advertisement control is embedded into the HTML page through the HTML code specification.
In a preferred embodiment, when step S104 is performed, an advertisement interaction checking method is further included to check whether a specific advertisement tag is included in the HTML page.
In a preferred embodiment, the advertisement interaction checking method includes:
s401, after the HTML page is successfully loaded, starting an advertisement interaction checking mechanism to check whether a specific advertisement label exists in the HTML page; if yes, executing step S402, and if no, ending the advertisement interaction check;
s402, loading advertisement scripts in the detected specific advertisement labels;
s403, executing the advertisement script.
In summary, due to the adoption of the technical scheme, the beneficial effects of the invention are as follows:
according to the advertisement display method, the advertisement making time is shortened by unifying the advertisement template, the advertisement position code and the like, and the advertisement can be quickly created and the advertisement text can be quickly replaced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a block flow diagram of an advertisement presentation method of the present invention.
FIG. 2 is a block flow diagram of the present invention for retrieving advertiser data.
FIG. 3 is a block flow diagram of the present invention for constructing an advertisement control.
FIG. 4 is a flow chart of the advertisement interaction checking method of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the particular embodiments described herein are illustrative only and are not intended to limit the invention, i.e., the embodiments described are merely some, but not all, of the embodiments of the invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present invention.
The features and capabilities of the present invention are described in further detail below in connection with the examples.
Example 1
The advertisement displaying method provided in this embodiment, as shown in fig. 1, includes:
s101, acquiring an advertisement space code;
s102, corresponding advertisement raw data is called from a database by utilizing advertisement space codes;
s103, constructing advertisement raw data into advertisement controls which can be displayed on an HTML page;
s104, outputting the advertisement control to the HTML page.
In a preferred embodiment, the method for acquiring the advertisement space code in step S101 is as follows: acquiring advertisement space codes by a preset processing model; the preset processing model maps different advertisement space codes for each advertisement space. The preset processing model can be set by the user or arranged differently according to different pages, namely, a standardized character string mapping advertisement position is set, for example, an advertisement code 'H-T-L' represents a general advertisement of a certain page, and a general advertisement at the TOP of a HOME page can also be set as 'HOME-TOP-BNNER'. The advertisement space codes are placed at preset positions where the advertisements are to be output by the HTML so as to facilitate the extraction of the preset model and the filling of advertisement materials after the analysis.
In a preferred embodiment, the advertiser data is the source, form, etc. of the advertisement presented by the ad slot. As shown in fig. 2, the method for retrieving corresponding advertisement raw data from the database by using the advertisement space code in step S102 is as follows:
s101, using advertisement position codes to call advertisement templates suitable for the current advertisement position from a database;
the advertisement template is used for creating each advertisement position display interface and comprises advertisement labels, wherein the advertisement labels have preset values for matching advertisement materials and are used for replacing and changing the advertisement materials. The invention adopts the unified advertisement template to influence all the advertisement display modes of the type, and can reduce the manufacturing time of advertisements.
S202, using the advertisement position code to call the advertisement item suitable for the current advertisement position from the database;
the advertisement items (advertisement display modes) of one advertisement space can be combined in multiple modes, such as single-pass, half-pass, quarter-pass and multi-carousel, and the proper advertisement items can be screened according to advertisement putting conditions.
S203, according to the advertisement item, advertisement materials suitable for the current advertisement position are called.
The advertisement materials are uniformly set when advertisements are put in, and the same advertisement material can be used in different advertisement items for replacing corresponding advertisement labels in the advertisement templates.
In a preferred embodiment, as shown in fig. 3, the method of assembling the advertiser data into the advertisement control that can be displayed on the HTML page in step S103 is as follows:
s301, selecting an advertisement item, and acquiring an advertisement template suitable for the selected advertisement item; that is, one advertisement item is selected as the advertisement presentation mode to be presented in the advertisement template extracted in step S102.
S302, analyzing an advertisement label through a regular expression in the acquired advertisement template;
s303, matching the corresponding preset value in the advertisement materials by utilizing the analyzed advertisement labels, and replacing the matched label positions in the advertisement materials to the corresponding advertisement labels in the advertisement templates.
S304, when one advertisement position simultaneously displays a plurality of advertisements, repeating S301-S303, so that the advertisements needing to be simultaneously displayed on one advertisement position are uniformly constructed into advertisement controls which can be displayed on an HTML page.
In a preferred embodiment, the method of outputting the advertisement control to the HTML page in step S104 is: the constructed advertisement control is embedded into the HTML page through the HTML code specification. In the execution of step S104, an advertisement interaction checking method is further included to check whether the HTML page contains a specific advertisement tag for advertisement presentation with a specific requirement, such as an interactive animation.
The advertisement interaction checking method, as shown in fig. 4, includes:
s401, after the HTML page is successfully loaded, starting an advertisement interaction checking mechanism to check whether a specific advertisement label exists in the HTML page; if yes, executing step S402, and if no, ending the advertisement interaction check; whether a specific advertisement tag exists in the HTML page can be checked through JavaScript script.
S402, loading advertisement scripts in the detected specific advertisement labels; when a specific advertisement label is detected, the advertisement script in the detected specific advertisement label can be loaded in an Ajax mode.
S403, executing an advertisement script; the JavaScript can be used to execute the advertisement script, so that the advertisement content realizes the effects of rotation, animation and the like.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.
Claims (6)
1. An advertising display method, comprising:
s101, acquiring an advertisement space code;
s102, corresponding advertisement raw data is called from a database by utilizing advertisement space codes;
s103, constructing advertisement raw data into advertisement controls which can be displayed on an HTML page;
s104, outputting the advertisement control to the HTML page;
the method for acquiring the advertisement space code in step S101 is as follows: acquiring advertisement space codes by a preset processing model; the preset processing model maps different advertisement position codes for each advertisement position; the preset processing model is set by a user or is arranged differently according to different pages, namely, a standardized character string mapping advertisement position is set; placing the advertisement space codes at predetermined positions where the HTML is to output advertisements;
step S102, the method for calling the corresponding advertisement raw data from the database by utilizing the advertisement space code comprises the following steps:
s201, using advertisement space codes to call advertisement templates suitable for the current advertisement space from a database; the method comprises the steps that a unified advertisement template is adopted, the advertisement template is used for creating each advertisement position display interface, and the advertisement template comprises advertisement labels, wherein the advertisement labels have preset values for matching advertisement materials and are used for replacing and changing the advertisement materials;
s202, using the advertisement position code to call the advertisement item suitable for the current advertisement position from the database; the advertisement items of one advertisement space have multiple combinations, including single-pass columns, half-pass columns, quarter-pass columns and/or multiple carousel, and suitable advertisement items are screened according to advertisement putting conditions;
s203, according to the advertisement item, advertisement materials suitable for the current advertisement position are called; the advertisement materials are uniformly set when advertisements are put in, and the same part or different advertisement materials are used in different advertisement items for replacing corresponding advertisement labels in the advertisement templates.
2. The advertisement presentation method as set forth in claim 1, wherein the method of assembling the advertisement raw data into advertisement controls displayable on the HTML page in step S103 is as follows:
s301, selecting an advertisement item, and acquiring an advertisement template suitable for the selected advertisement item;
s302, analyzing an advertisement label through a regular expression in the acquired advertisement template;
s303, matching the corresponding preset value in the advertisement materials by utilizing the analyzed advertisement labels, and replacing the matched label positions in the advertisement materials to the corresponding advertisement labels in the advertisement templates.
3. The advertisement presentation method of claim 2, wherein the method of assembling the advertiser data into the advertisement control displayable on the HTML page in step S103 further comprises:
s304, when one advertisement position simultaneously displays a plurality of advertisements, repeating S301-S303, so that the advertisements needing to be simultaneously displayed on one advertisement position are uniformly constructed into advertisement controls which can be displayed on an HTML page.
4. The advertisement presentation method as set forth in claim 1, wherein the method of outputting the advertisement control into the HTML page in step S104 is: the constructed advertisement control is embedded into the HTML page through the HTML code specification.
5. The advertisement presentation method of claim 1, further comprising an advertisement interaction checking method for checking whether a specific advertisement tag is included in the HTML page when step S104 is performed.
6. The advertisement presentation method of claim 5, wherein the advertisement interaction checking method comprises:
s401, after the HTML page is successfully loaded, starting an advertisement interaction checking mechanism to check whether a specific advertisement label exists in the HTML page; if yes, executing step S402, and if no, ending the advertisement interaction check;
s402, loading advertisement scripts in the detected specific advertisement labels;
s403, executing the advertisement script.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910220484.3A CN109960771B (en) | 2019-03-22 | 2019-03-22 | Advertisement display method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910220484.3A CN109960771B (en) | 2019-03-22 | 2019-03-22 | Advertisement display method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109960771A CN109960771A (en) | 2019-07-02 |
CN109960771B true CN109960771B (en) | 2023-10-31 |
Family
ID=67024666
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910220484.3A Active CN109960771B (en) | 2019-03-22 | 2019-03-22 | Advertisement display method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109960771B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110427495A (en) * | 2019-07-29 | 2019-11-08 | 北京明略软件系统有限公司 | Map methods of exhibiting and device |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010025215A (en) * | 2000-10-31 | 2001-04-06 | 조윤 | Method for banner advertising by interface of bulletin board |
CN101311922A (en) * | 2007-05-25 | 2008-11-26 | 百度在线网络技术(北京)有限公司 | Advertisement formwork style matching method and system |
CN101651550A (en) * | 2008-08-15 | 2010-02-17 | 阿里巴巴集团控股有限公司 | Method and system for advertisement generation and display and advertisement production and display client |
CN102158753A (en) * | 2011-02-24 | 2011-08-17 | 深圳创维数字技术股份有限公司 | Digital television receiving terminal and advertisement data processing method thereof |
CN102222302A (en) * | 2011-05-17 | 2011-10-19 | 深圳市同洲电子股份有限公司 | Advertisement position template configuration method, advertisement issuance method and device |
CN103139720A (en) * | 2011-11-25 | 2013-06-05 | 北京百分通联传媒技术有限公司 | Processing method for decreasing network flow of mobile phone advertisements |
CN103365662A (en) * | 2013-07-11 | 2013-10-23 | 合一信息技术(北京)有限公司 | Method and device for advertisement putting based on stream media advertisement template |
CN103578016A (en) * | 2012-08-02 | 2014-02-12 | 北京千橡网景科技发展有限公司 | Advertisement publishing method and system |
CN104350518A (en) * | 2014-05-20 | 2015-02-11 | 华为技术有限公司 | Configuration method of advertisement templete, server and system |
CN105306506A (en) * | 2014-07-16 | 2016-02-03 | 腾讯科技(深圳)有限公司 | Online advertising release method and online advertising release system |
CN106355442A (en) * | 2016-08-30 | 2017-01-25 | 杭州启冠网络技术有限公司 | Online precise advertising method and system based on big data driving |
CN107451184A (en) * | 2017-06-19 | 2017-12-08 | 阿里巴巴集团控股有限公司 | Page display method and device, user equipment, storage medium |
CN107784516A (en) * | 2016-11-29 | 2018-03-09 | 上海壹账通金融科技有限公司 | Advertisement placement method and device |
CN108596661A (en) * | 2018-04-20 | 2018-09-28 | 上海东方报业有限公司 | Advertisement configuration method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070073581A1 (en) * | 2005-09-27 | 2007-03-29 | Miva, Inc. | System and method for delivering pay for performance advertising in conjunction with distributed media content |
-
2019
- 2019-03-22 CN CN201910220484.3A patent/CN109960771B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010025215A (en) * | 2000-10-31 | 2001-04-06 | 조윤 | Method for banner advertising by interface of bulletin board |
CN101311922A (en) * | 2007-05-25 | 2008-11-26 | 百度在线网络技术(北京)有限公司 | Advertisement formwork style matching method and system |
CN101651550A (en) * | 2008-08-15 | 2010-02-17 | 阿里巴巴集团控股有限公司 | Method and system for advertisement generation and display and advertisement production and display client |
CN102158753A (en) * | 2011-02-24 | 2011-08-17 | 深圳创维数字技术股份有限公司 | Digital television receiving terminal and advertisement data processing method thereof |
CN102222302A (en) * | 2011-05-17 | 2011-10-19 | 深圳市同洲电子股份有限公司 | Advertisement position template configuration method, advertisement issuance method and device |
CN103139720A (en) * | 2011-11-25 | 2013-06-05 | 北京百分通联传媒技术有限公司 | Processing method for decreasing network flow of mobile phone advertisements |
CN103578016A (en) * | 2012-08-02 | 2014-02-12 | 北京千橡网景科技发展有限公司 | Advertisement publishing method and system |
CN103365662A (en) * | 2013-07-11 | 2013-10-23 | 合一信息技术(北京)有限公司 | Method and device for advertisement putting based on stream media advertisement template |
CN104350518A (en) * | 2014-05-20 | 2015-02-11 | 华为技术有限公司 | Configuration method of advertisement templete, server and system |
CN105306506A (en) * | 2014-07-16 | 2016-02-03 | 腾讯科技(深圳)有限公司 | Online advertising release method and online advertising release system |
CN106355442A (en) * | 2016-08-30 | 2017-01-25 | 杭州启冠网络技术有限公司 | Online precise advertising method and system based on big data driving |
CN107784516A (en) * | 2016-11-29 | 2018-03-09 | 上海壹账通金融科技有限公司 | Advertisement placement method and device |
CN107451184A (en) * | 2017-06-19 | 2017-12-08 | 阿里巴巴集团控股有限公司 | Page display method and device, user equipment, storage medium |
CN108596661A (en) * | 2018-04-20 | 2018-09-28 | 上海东方报业有限公司 | Advertisement configuration method and system |
Non-Patent Citations (2)
Title |
---|
Using service models for management of Internet services;D. Caswell 等;IEEE Journal on Selected Areas in Communications;686-701 * |
电视直播虚拟广告系统关键技术的研究;殷伟良;中国优秀硕士学位论文全文数据库 (信息科技辑);I138-1069 * |
Also Published As
Publication number | Publication date |
---|---|
CN109960771A (en) | 2019-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107818143B (en) | Page configuration and generation method and device | |
US11030389B2 (en) | Acquisition of a font portion using a compression mechanism | |
CN107832038A (en) | The implementation method and device of Component Gallery | |
CN103631865B (en) | Webpage generating method and equipment | |
US8671389B1 (en) | Web application resource manager on the web and localizable components | |
US10664556B2 (en) | Adaptable user interface layout | |
EP3367238A1 (en) | Producing method and producing system for desktop launcher of mobile terminal | |
CN108121539B (en) | Component processing method and device | |
CN104063489A (en) | Method and device for determining webpage image relevancy and displaying retrieved result | |
US20170142045A1 (en) | Presenting browser content based on an online community knowledge | |
CN104021016A (en) | Method and browser for loading browser plug-in icons | |
CN108021629B (en) | Method, device and system for generating advertisement material data | |
CN109960771B (en) | Advertisement display method | |
CN105786881A (en) | Self-adaptive electronic book and magazine file structure and corresponding methods and devices | |
CN106557496B (en) | Table configuration method and device | |
CN112214202B (en) | Mobile phone program development system without writing codes | |
CN105930166A (en) | Method based on WEB interface pop-up layers | |
CN113094287A (en) | Page compatibility detection method, device, equipment and storage medium | |
CN103699520A (en) | Font processing method for maintaining e-document layout | |
CN103927363A (en) | Browser grid display method and system and browser client | |
CN106815249B (en) | Vertical text advertisement filtering method and device | |
CN114594945A (en) | Method, device, system, equipment and medium for generating advanced popup selection frame | |
CN116009863B (en) | Front-end page rendering method, device and storage medium | |
CN102637290A (en) | Operating system based on browser and compiling method | |
CN113656062A (en) | Method and system for realizing UI (user interface) replacement of app based on server back management configuration |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |