CN107918619B - Advertisement display method and device - Google Patents

Advertisement display method and device Download PDF

Info

Publication number
CN107918619B
CN107918619B CN201610884236.5A CN201610884236A CN107918619B CN 107918619 B CN107918619 B CN 107918619B CN 201610884236 A CN201610884236 A CN 201610884236A CN 107918619 B CN107918619 B CN 107918619B
Authority
CN
China
Prior art keywords
advertisement
data
html page
webview
picture
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
CN201610884236.5A
Other languages
Chinese (zh)
Other versions
CN107918619A (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.)
3600 Technology Group Co ltd
Original Assignee
3600 Technology Group Co 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 3600 Technology Group Co ltd filed Critical 3600 Technology Group Co ltd
Priority to CN201610884236.5A priority Critical patent/CN107918619B/en
Publication of CN107918619A publication Critical patent/CN107918619A/en
Application granted granted Critical
Publication of CN107918619B publication Critical patent/CN107918619B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0277Online advertisement

Abstract

The invention provides an advertisement display method and device, the advertisement display method comprises the following steps: sending a data request to a server through an advertisement Software Development Kit (SDK), and receiving advertisement data and advertisement picture addresses returned by the server; after the WebView finishes loading the html page of the obtained hypertext markup language, invoking js through the WebView, and injecting the advertisement data and the advertisement picture address into the loaded html page; and rendering and displaying the html page injected with the advertisement data and the advertisement picture address through js. According to the invention, the html page injected with the advertisement data and the advertisement picture address can be rendered and displayed, and the advertisement display effect is improved.

Description

Advertisement display method and device
Technical Field
The invention relates to the technical field of Internet, in particular to a method for processing a mobile phone, the invention relates to an advertisement display method and device.
Background
Advertising refers to a promotional means of widely delivering information to the public for a particular need. Advertisers gain advertising revenue by providing customers with various types of advertisements, with advertisers exploring more potential customers and selling more products and services due to advertising.
The advertisement display mainly relates to advertisement positions, advertisement elements and advertisement display rules, and the advertisement elements are output to different advertisement positions according to different display rules. The advertisement space mainly describes the position, shape, size and the like of the advertisement, the advertisement element mainly describes the content of the advertisement, such as pictures, animations or videos and the like, and the advertisement display rule is a rule connection of the advertisement element and the advertisement space in time and space.
Currently, when a user uses an application, the application may present advertisements provided by advertising servers with which it cooperates. Specifically, the application program downloads in advance an advertisement SDK provided by an advertisement server; and under the condition of networking with the advertisement server, acquiring information such as advertisement data, advertisement picture addresses and the like from the advertisement server in real time based on the advertisement SDK, and then carrying out advertisement display in advertisement positions in the application program. Wherein the advertisement SDK is an advertisement development kit built into the application program and provided by an advertisement provider.
However, the inventors of the present invention found that, by the advertisement display method, the advertisement display effect is poor; moreover, the dependency on the networking conditions between the application and the ad server is severe. Under the condition of poor network condition, the advertisement display effect is worse by adopting the existing advertisement display method, and even the situation that the advertisement display cannot be realized occurs.
Accordingly, it is necessary to provide an advertisement display method capable of improving the display effect.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides an advertisement display method and an advertisement display device, which are used for rendering and displaying html pages injected with advertisement data and advertisement picture addresses, so that the advertisement display effect is improved.
The invention provides an advertisement display method, which comprises the following steps:
sending a data request to a server through an advertisement Software Development Kit (SDK), and receiving advertisement data and advertisement picture addresses returned by the server;
after the WebView finishes loading the html page of the obtained hypertext markup language, invoking js through the WebView, and injecting the advertisement data and the advertisement picture address into the loaded html page;
and rendering and displaying the html page injected with the advertisement data and the advertisement picture address through js.
Preferably, after receiving the advertisement data and the advertisement picture address returned by the server, the advertisement displaying method further includes:
and acquiring and caching the advertisement picture according to the advertisement picture address returned by the server.
Preferably, after the WebView finishes loading the acquired html page, the advertisement display method further comprises the steps of;
acquiring an advertisement picture cache path; and
the step of invoking js through the WebView, and injecting the advertisement picture address into the loaded html page specifically comprises the following steps:
and invoking js through the WebView, and injecting an advertisement picture cache path into the loaded html page.
Preferably, the advertisement data injected in the html page is verified by js format.
Preferably, after the html page into which the advertisement data and the advertisement picture address have been injected is rendered and displayed by js, the advertisement display method further includes:
monitoring the URL with the preset protocol format of the WebView request, analyzing event notification from the URL, and executing corresponding operation;
wherein, the URL is sent by js after monitoring the advertising event;
the advertising events include, but are not limited to: presentation events, and/or click events.
According to another aspect of the present invention, there is also provided an advertisement display device including:
the data request unit is used for sending a request to a server through the advertisement SDK and receiving advertisement data and advertisement picture addresses returned by the server;
the advertisement injection unit is used for injecting advertisement data and advertisement picture addresses received by the data request unit into the loaded html page through the WebView calling js after the WebView finishes loading the acquired html page;
and the advertisement display unit is used for rendering and displaying the html page injected with the advertisement data and the advertisement picture address through js.
Preferably, the advertisement display device further comprises:
and the local caching unit is used for acquiring and caching the advertisement pictures according to the advertisement picture addresses received by the data request unit.
Preferably, the advertisement injection unit is further configured to obtain an advertisement picture cache path, and call js through the WebView, and inject the advertisement picture cache path into the loaded html page.
Preferably, the advertisement data injected in the html page is verified by js format.
Preferably, the advertisement display device further comprises:
the notification response unit is used for monitoring the URL with the preset protocol format of the WebView request, analyzing event notification from the URL, and executing corresponding operation;
wherein, the URL is sent by js after monitoring the advertising event;
the advertising events include, but are not limited to: presentation events, and/or click events.
According to the technical scheme, when the advertisement rendering and displaying requirements exist, the WebView capable of realizing dynamic display of the html page and application of js can be utilized, the server is injected to the advertisement data and the advertisement picture address returned by the request through the js method of the html page, and the html page into which the advertisement data and the advertisement picture address are injected is rendered and displayed through js. Compared with the existing method for statically displaying advertisements, the method for statically displaying advertisements has the advantages that the advertisement display effect is improved, and the user experience is improved.
Further, in the technical scheme of the invention, the local picture caching can be performed on the advertisement picture address returned by the server, and then the local advertisement picture path is injected by js method of html page, so that the loading speed is improved, the flow is saved, and the advertisement display efficiency is improved. In addition, the situation that advertisement data and advertisement picture addresses cannot be timely obtained from a server under the conditions that the picture resolution of advertisement display is high, the data volume is large and the network is poor can be avoided, and the advertisement display effect is guaranteed.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and may be better understood from the following description of embodiments with reference to the accompanying drawings, wherein:
FIG. 1 shows an embodiment of the present invention a flow diagram of an advertisement display method;
fig. 2a, 2b, and 2c are schematic structural diagrams of an advertisement display device according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
It will be understood by those skilled in the art that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs unless defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As used herein, a "terminal" includes both a device of a wireless signal receiver having no transmitting capability and a device of receiving and transmitting hardware having receiving and transmitting hardware capable of performing bi-directional communications over a bi-directional communication link, as will be appreciated by those skilled in the art. Such a device may include: a cellular or other communication device having a single-line display or a multi-line display or a cellular or other communication device without a multi-line display; a PCS (Personal Communications Service, personal communication system) that may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant ) that can include a radio frequency receiver, pager, internet/intranet access, web browser, notepad, calendar and/or GPS (Global Positioning System ) receiver; a conventional laptop and/or palmtop computer or other appliance that has and/or includes a radio frequency receiver. As used herein, "terminal," "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or adapted and/or configured to operate locally and/or in a distributed fashion, to operate at any other location(s) on earth and/or in space. The "terminal" and "terminal device" used herein may also be a communication terminal, a network access terminal, and a music/video playing terminal, for example, may be a PDA, a MID (Mobile Internet Device ), and/or a mobile phone with a music/video playing function, and may also be a smart tv, a set top box, and other devices.
Those skilled in the art will appreciate that a remote network device, as used herein, includes, but is not limited to, a computer, a network host, a single network server, a collection of network servers, or a cloud of multiple servers. Here, the Cloud is composed of a large number of computers or network servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, a super virtual computer composed of a group of loosely coupled computer sets. In the embodiment of the invention, the communication between the remote network device, the terminal device and the WNS server can be realized by any communication mode, including but not limited to mobile communication based on 3GPP, LTE, WIMAX, computer network communication based on TCP/IP and UDP protocols and short-range wireless transmission mode based on Bluetooth and infrared transmission standards.
The inventor of the present invention found that in the existing advertisement display method, the advertisement display method is mainly static display, resulting in poor display effect. Therefore, the inventor of the invention considers that the advertisement can be displayed by adopting a dynamic display method, so that the advertisement display effect is improved. Specifically, in consideration of the native component WebView loaded by the terminal operating system, dynamic presentation of html (HyperText Markup Language ) pages and application of js (an abbreviated script of an transliterated scripting language) can be realized. Therefore, in the scheme of the invention, after the html page on the line is locally loaded, the advertisement data and the advertisement picture address can be injected through the js method of the html page. And then, rendering the advertisement effect through js, so that the advertisement display effect is improved.
Further, the inventors of the present invention have found that there are a wide variety of existing advertisement presentation formats (e.g., rear projection advertisements, full screen advertisements, banner advertisements, pop-up window advertisements, button advertisements, text link advertisements, rectangular advertisements, antithetical couplet advertisements, multimedia window advertisements, page suspension advertisements, scroll advertisements, insert advertisements, etc.). However, the data of the advertisement does not change much.
Therefore, the inventor of the present invention considers that the local network sends a request to the server, and after acquiring the advertisement data and the advertisement picture address, local picture caching can be performed. Therefore, under the conditions of high picture resolution, large data volume and poor network of advertisement display, the loading speed can be improved, the flow can be saved, and the advertisement display efficiency can be improved.
The technical scheme of the invention is described in detail below with reference to the accompanying drawings.
In the scheme of the invention, the operating system of the intelligent terminal loads the native component capable of realizing the display of the html page and the application of js. For example, for the android system, the native component WebView can be loaded; for iOS operating systems, it may emphasize native component UI (User Interface) WebView.
The embodiment of the invention provides an advertisement display method, as shown in fig. 1, the process of which specifically comprises the following steps:
s101 the method comprises the following steps: and sending a data request to the server through the advertisement SDK, and receiving advertisement data and advertisement picture addresses returned by the server.
In the embodiment of the invention, when the advertisement rendering and displaying requirement exists, the intelligent terminal can send a data request to the server in advance through the advertisement SDK (Software Development Kit, namely a software development kit) so as to acquire advertisement data and advertisement picture addresses.
Further, under the conditions that the resolution ratio of the picture displayed by the advertisement is high, the data volume is large and the network is not good, the SDK may not be able to timely acquire the advertisement data and the advertisement picture address from the server, so that the display effect of the advertisement is affected.
Therefore, in the embodiment of the invention, after the advertisement SDK sends a request to the server and receives the advertisement data and the advertisement picture address returned by the server, local picture caching can be performed, so that the loading speed is improved and the flow is saved.
Specifically, the advertisement picture can be obtained and cached according to the address of the advertisement picture returned by the server. In practical application, when the intelligent terminal caches the advertisement pictures, corresponding advertisement picture cache addresses are generated locally, so that the cached advertisement pictures can be obtained according to the advertisement picture cache addresses even if the network is not good, networking with a server is not needed, and the advertisement pictures are obtained according to the advertisement picture addresses returned by the server.
Further, it is considered that the existing advertisement has various presentation styles, but the data of the advertisement is not greatly changed. Therefore, in order to improve the advertisement display efficiency, the advertisement data returned by the server can be cached, so that the advertisement data can be quickly injected into the html page.
S102: after the WebView finishes loading the acquired html page, js is called by the WebView, and advertisement data and advertisement picture addresses are injected into the loaded html page.
In the scheme of the invention, the html page on the line is locally loaded, and the advertisement data and the advertisement picture address are injected by js method of the html page. Specifically, after the smart terminal loads the native component WebView, an html page may be loaded, and advertisement data and advertisement picture addresses may be injected into the html page.
In practical application, the data communication between the local language and js can be realized by calling the function of js according to the method provided by WebView. Therefore, in the embodiment of the invention, after the html page is loaded and obtained, and the WebView finishes loading the obtained html page, js can be called by the WebView, and advertisement data and advertisement picture addresses can be injected into the loaded html page.
Further, in order to increase the loading speed and save the traffic, if the advertisement pictures are locally cached, a local advertisement picture caching path can be obtained after the WebView finishes loading the obtained html page; and invoking js through WebView, and injecting advertisement data and an acquired advertisement picture cache path into the loaded html page so as to quickly load the advertisement pictures subsequently.
In order to normally display the advertisement, in the embodiment of the invention, before the advertisement data and the acquired advertisement picture caching path are injected into the html page, whether the advertisement data can be displayed or not can be judged. Specifically, js can be utilized to carry out format verification on the advertisement data, whether the format of the advertisement data is wrong or not is checked, and if the verification is passed, the advertisement data is confirmed to be displayable; otherwise, it is determined that the advertisement data is not presentable.
Thus, after determining that the advertisement data is presentable, js may be invoked by WebView, and injecting advertisement data into the loaded html page. That is, the advertisement data injected in the html page has been verified by the format of js.
S103: and rendering and displaying the html page injected with the advertisement data and the advertisement picture address through js.
In the scheme of the invention, js can be responsible for rendering the advertising effect. After the injection of the advertisement data and the advertisement picture address in the html page is completed in step S102, the html page into which the advertisement data has been injected can be rendered and displayed through js, so that the advertisement display effect is improved. Compared with the existing method for statically displaying advertisements, the advertisement display effect is better, and the user experience is better.
Further, js is also responsible for monitoring advertisement behavior, such as whether an advertisement is shown or not, and whether the advertisement is clicked or not. When js monitors that the advertisement is successfully displayed in the html page, or monitors that the advertisement displayed in the html page is clicked by a user, a notification can be sent to the local in time; the notification of the local response js handles different behavior. In this way, the monitoring logic of the advertising campaign may dynamically change in response to the development of the business.
In practice, webView may identify URLs (Uniform Resource Locator, uniform resource locators); HTTP (Hypertext transfer protocol ) URL protocol format is: http:// host [: port ] [ abs_path ].
Thus, in the solution of the present invention, a simulation request may be defined, where the URL of the simulation request has a preset proprietary protocol format, for example abc: is/… …? … … a. The invention relates to a method for producing a fibre-reinforced plastic composite.
Thus, when WebView identifies a URL transmitted by js with a preset protocol format, js may be determined to be pre-transmitted locally. Thus, js informs the local language that data transfer can be achieved by locally listening to the URL requested by WebView with the preset protocol format.
In this way, after rendering and displaying the html page with the advertisement data and the advertisement picture address injected through js in step S103, the URL with the preset protocol format requested by WebView may be monitored locally, the event notification may be resolved from the URL, and the corresponding operation may be executed.
The URL is sent by js after the advertising event is monitored; advertisement events may include, but are not limited to: presentation events, and/or click events.
Based on the above advertisement display method, the present invention further provides an advertisement display device, as shown in fig. 2a, the advertisement display device may include: a data request unit 201, an advertisement injection unit 202, and an advertisement display unit 203.
The data request unit 201 is configured to send a request to a server through an advertisement SDK, and receive advertisement data and an advertisement picture address returned by the server.
In the embodiment of the present invention, when there is an advertisement rendering display requirement, the data request unit 201 may send a data request to the server through the advertisement SDK in advance; and receiving advertisement data and advertisement picture addresses returned by the server.
The advertisement injection unit 202 is configured to inject advertisement data and an advertisement picture address received by the data request unit 201 into the loaded html page by invoking js through WebView after loading the acquired html page by WebView.
In the scheme of the invention, the html page on the local loading line can be injected with advertisement data and advertisement picture addresses through js method of the html page. Specifically, after loading the native component WebView, the advertisement injection unit 202 may load an html page through WebView, and inject advertisement data and advertisement picture addresses in the html page.
In practical application, the data communication between the local language and js can be realized by calling the function of js according to the method provided by WebView. Therefore, in the embodiment of the present invention, after the html page is loaded and obtained and the WebView finishes loading the obtained html page, the advertisement injection unit 202 may call js through WebView, and inject advertisement data and advertisement picture addresses into the loaded html page.
Preferably, in order to normally display the advertisement, in the embodiment of the present invention, before the advertisement data and the acquired advertisement picture buffer path are injected into the html page, whether the advertisement data can be displayed may be determined. Specifically, js can be utilized to carry out format verification on the advertisement data, whether the format of the advertisement data is wrong or not is checked, and if the verification is passed, the advertisement data is confirmed to be displayable; otherwise, it is determined that the advertisement data is not presentable.
Thus, after determining that the advertisement data can be presented, js can be called by WebView, and the advertisement data can be injected into the loaded html page. That is, the advertisement data injected in the html page has been verified by the format of js.
The advertisement display unit 203 is configured to render and display, through js, an html page into which advertisement data and advertisement picture addresses have been injected.
In the scheme of the invention, js can be responsible for rendering the advertising effect. After the advertisement injection unit 202 completes the injection of the advertisement data and the advertisement picture address in the html page, the advertisement display unit 203 may render and display the html page into which the advertisement data has been injected through js, thereby improving the advertisement display effect. Compared with the existing method for statically displaying advertisements, the advertisement display effect is better, and the user experience is better.
Further, under the conditions that the resolution ratio of the picture displayed by the advertisement is high, the data volume is large and the network is not good, the SDK may not be able to timely acquire the advertisement data and the advertisement picture address from the server, so that the display effect of the advertisement is affected.
Therefore, in the embodiment of the present invention, the data request unit 201 sends a request to the server through the advertisement SDK, and after receiving the advertisement data and the advertisement picture address returned by the server, it can make local picture caching, so as to increase the loading speed and save the traffic.
Specifically, as shown in fig. 2b, the advertisement presentation apparatus includes, in addition to: the data requesting unit 201, the advertisement injecting unit 202, the advertisement displaying unit 203 may further include: a local cache unit 204.
The local caching unit 204 is configured to obtain and cache an advertisement picture according to the advertisement picture address received by the data requesting unit 201.
Accordingly, the advertisement injection unit 202 may obtain a local advertisement picture cache path after the WebView finishes loading the obtained html page; and invoking js through WebView, and injecting advertisement data and an acquired advertisement picture cache path into the loaded html page so as to quickly load the advertisement pictures subsequently.
Further, it is considered that the existing advertisement has various presentation styles, but the data of the advertisement is not greatly changed. Therefore, in order to improve the advertisement presentation efficiency, the local caching unit 204 may cache the advertisement data returned by the server, so that the advertisement data can be quickly injected into the html page later.
Further, js is also responsible for monitoring advertisement behavior, such as whether an advertisement is shown or not, and whether the advertisement is clicked or not. When js monitors that the advertisement is successfully displayed in the html page, or monitors that the advertisement displayed in the html page is clicked by a user, a notification can be sent to the local in time; the notification of the local response js handles different behavior. In this way, the monitoring logic of the advertising campaign may dynamically change in response to the development of the business.
In practical application, webView can identify URL; the HTTP URL protocol format is: http:// host [: port ] [ abs_path ]. Thus, in the solution of the present invention, a simulation request may be defined, where the URL of the simulation request has a preset proprietary protocol format, for example abc: is/… …? … ….
Thus, when WebView identifies a URL transmitted by js with a preset protocol format, js may be determined to be pre-transmitted locally. Thus, js informs the local language that data transfer can be achieved by locally listening to the URL requested by WebView with the preset protocol format.
As shown in fig. 2c, the advertisement display device includes, in addition to: the data requesting unit 201, the advertisement injecting unit 202, the advertisement displaying unit 203, the local caching unit 204 may further include: the notification response unit 204.
The notification response unit 204 is configured to monitor the URL of the WebView request with a preset protocol format, parse the event notification from the URL, and perform a corresponding operation.
The URL is sent by js after the advertising event is monitored; advertisement events may include, but are not limited to: presentation events, and/or click events.
The specific function implementation of each unit in the advertisement display device provided by the embodiment of the invention can refer to the specific implementation of each step in the advertisement display method, and will not be described herein.
According to the technical scheme, when the advertisement rendering and displaying requirement exists, the WebView capable of realizing dynamic display of the html page and application of js can be utilized, the server is injected to the advertisement data and the advertisement picture address returned by the request through the js method of the html page, and rendering and displaying are carried out on the html page injected with the advertisement data and the advertisement picture address through js. Compared with the existing method for statically displaying advertisements, the method for statically displaying advertisements has the advantages that the advertisement display effect is improved, and the user experience is improved.
Further, in the technical scheme of the invention, the local picture caching can be performed on the advertisement picture address returned by the server, and then the local advertisement picture path is injected by js method of html page, so that the loading speed is improved, the flow is saved, and the advertisement display efficiency is improved. In addition, the situation that advertisement data and advertisement picture addresses cannot be timely obtained from a server under the conditions that the picture resolution of advertisement display is high, the data volume is large and the network is poor can be avoided, and the advertisement display effect is guaranteed.
The foregoing is only a partial embodiment of the present invention, and it should be noted that it will be apparent to those skilled in the art that modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.

Claims (2)

1. An advertising display method, comprising:
sending a data request to a server through an advertisement Software Development Kit (SDK), and receiving advertisement data and advertisement picture addresses returned by the server;
acquiring an advertisement picture according to an advertisement picture address returned by the server and locally generating an advertisement picture cache path of the advertisement picture;
after the WebView finishes loading the html page of the obtained hypertext markup language, obtaining the advertisement picture cache path, and calling js through the WebView to perform format verification on the advertisement data so as to judge whether the advertisement data can be displayed;
under the condition that the advertisement data passes the format verification of js, injecting the advertisement data and the advertisement picture cache path into the loaded html page;
rendering and displaying the html page injected with the advertisement data and the advertisement picture cache path through js;
monitoring a URL with a preset protocol format of the WebView request, analyzing event notification from the URL, and executing corresponding operation, wherein the URL is sent by js after an advertising event is monitored; the advertising events include, but are not limited to: presentation events, and/or click events.
2. An advertising display device, comprising:
the data request unit is used for sending a request to a server through the advertisement SDK and receiving advertisement data and advertisement picture addresses returned by the server;
the local caching unit is used for acquiring the advertisement picture according to the advertisement picture address returned by the server and locally generating an advertisement picture caching path of the advertisement picture;
the advertisement injection unit is used for acquiring the advertisement picture cache path after the WebView finishes loading the acquired html page, and performing format verification on the advertisement data through the WebView calling js so as to judge whether the advertisement data can be displayed; under the condition that the advertisement data passes the format verification of js, injecting the advertisement data and the advertisement picture cache path into the loaded html page;
the advertisement display unit is used for rendering and displaying the html page injected with the advertisement data and the advertisement picture cache path through js;
the notification response unit is used for monitoring a uniform resource locator URL with a preset protocol format of the WebView request, analyzing event notification from the URL, and executing corresponding operation, wherein the URL is sent by js after monitoring an advertising event; the advertising events include, but are not limited to: presentation events, and/or click events.
CN201610884236.5A 2016-10-10 2016-10-10 Advertisement display method and device Active CN107918619B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610884236.5A CN107918619B (en) 2016-10-10 2016-10-10 Advertisement display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610884236.5A CN107918619B (en) 2016-10-10 2016-10-10 Advertisement display method and device

Publications (2)

Publication Number Publication Date
CN107918619A CN107918619A (en) 2018-04-17
CN107918619B true CN107918619B (en) 2024-02-02

Family

ID=61891908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610884236.5A Active CN107918619B (en) 2016-10-10 2016-10-10 Advertisement display method and device

Country Status (1)

Country Link
CN (1) CN107918619B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032693B (en) * 2018-06-29 2021-09-24 北京金山安全软件有限公司 Method and device for loading display information, electronic equipment and readable storage medium
CN111367519B (en) * 2018-12-26 2024-03-01 北京奇虎科技有限公司 Page part using method and device, computing equipment and computer storage medium
CN110322284A (en) * 2019-06-14 2019-10-11 广州汇量信息科技有限公司 The methods of exhibiting and system of advertisement page view
CN110532053A (en) * 2019-08-29 2019-12-03 成都品果科技有限公司 A kind of method and device showing advertisement in the application
CN110909285A (en) * 2019-10-16 2020-03-24 平安普惠企业管理有限公司 Method, device, computer equipment and storage medium for dynamically inserting advertisements
CN112115396B (en) * 2020-09-21 2024-04-02 北京达佳互联信息技术有限公司 Webpage rendering method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102509234A (en) * 2011-12-28 2012-06-20 乐享(北京)文化传媒有限公司 Method and system for advertisement display based on intelligent mobile terminal based
CN104143147A (en) * 2013-05-07 2014-11-12 苏州精易会信息技术有限公司 Event-driven advertisement display method
CN105657046A (en) * 2016-02-24 2016-06-08 中国科学技术大学 Method for injecting advertisements based on Openwrt router
CN105869005A (en) * 2015-11-23 2016-08-17 乐视网信息技术(北京)股份有限公司 APP startup advertisement pre-loading method, apparatus and system
WO2016127693A1 (en) * 2015-02-13 2016-08-18 华为技术有限公司 Service data sending method and storage system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102509234A (en) * 2011-12-28 2012-06-20 乐享(北京)文化传媒有限公司 Method and system for advertisement display based on intelligent mobile terminal based
CN104143147A (en) * 2013-05-07 2014-11-12 苏州精易会信息技术有限公司 Event-driven advertisement display method
WO2016127693A1 (en) * 2015-02-13 2016-08-18 华为技术有限公司 Service data sending method and storage system
CN105869005A (en) * 2015-11-23 2016-08-17 乐视网信息技术(北京)股份有限公司 APP startup advertisement pre-loading method, apparatus and system
CN105657046A (en) * 2016-02-24 2016-06-08 中国科学技术大学 Method for injecting advertisements based on Openwrt router

Also Published As

Publication number Publication date
CN107918619A (en) 2018-04-17

Similar Documents

Publication Publication Date Title
CN107918619B (en) Advertisement display method and device
US10819691B2 (en) Secure expandable advertisements using an API and cross-domain communications
US20100324999A1 (en) Advertisement proxy service
US10643184B2 (en) Real time electronic mail
US8825749B2 (en) Method of tracking offline user interaction in a rendered document on a mobile device
US20150089348A1 (en) System and method for web page background image delivery
US9571556B2 (en) Browser kernel adaptation method and browser therefor
EP2293519B1 (en) SMS-sponsored WAP advertisement
US9639629B1 (en) Accelerating the downloading of content to an application
JP2012508914A (en) Page resource processing method and apparatus
WO2011038564A1 (en) Adaptive method and system for screen display of mobile terminal in network application
CN104426985A (en) Method, device and system for displaying webpage
US20130085840A1 (en) Methods and Systems for Real-Time Audience Tracking
CN112269959A (en) Display content control method and device, readable medium and electronic equipment
CN106354792B (en) Webpage display method and device
KR101821603B1 (en) Method for providing customized advertisement/news on scalable application service system
WO2008140091A1 (en) User terminal, registering server, advertisement registering method and advertisement data transmitting method and program
CN110619101B (en) Method and apparatus for processing information
CN101179394B (en) Method and system to download webpage from website server
CN107656935B (en) Webpage display method and device
CN110874446A (en) Page display method and system, computer system and computer readable medium
CN103684995B (en) Traffic performance displaying, pocket transmission news methods of exhibiting and system in network colony
GB2494504A (en) Providing advertisements from an access point involving parsing content
AU2016354677B2 (en) A method and system for distributing electronic publishing content
US20210287258A1 (en) In-feed frame to display ads or other externally-hosted content

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
TA01 Transfer of patent application right

Effective date of registration: 20240109

Address after: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Applicant after: 3600 Technology Group Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Applicant before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Applicant before: Qizhi software (Beijing) Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant