CN107861978B - Advertisement display method and device - Google Patents

Advertisement display method and device Download PDF

Info

Publication number
CN107861978B
CN107861978B CN201710885061.4A CN201710885061A CN107861978B CN 107861978 B CN107861978 B CN 107861978B CN 201710885061 A CN201710885061 A CN 201710885061A CN 107861978 B CN107861978 B CN 107861978B
Authority
CN
China
Prior art keywords
advertisement
display size
key
elements
advertising
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
CN201710885061.4A
Other languages
Chinese (zh)
Other versions
CN107861978A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201710885061.4A priority Critical patent/CN107861978B/en
Publication of CN107861978A publication Critical patent/CN107861978A/en
Application granted granted Critical
Publication of CN107861978B publication Critical patent/CN107861978B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • 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 embodiment of the invention provides a method and a device for displaying advertisements, wherein the method comprises the following steps: requesting page data from a server, wherein the page data comprises advertisement data, the advertisement data comprises a first display size of an advertisement area and an advertisement material, the advertisement material is provided with a second display size, the advertisement material comprises a key advertisement element and a non-key advertisement element, the key advertisement element is provided with a third display size, and the third display size is smaller than the second display size; in the process of displaying the page data, displaying the key advertisement elements in an advertisement area according to the third display size; and hiding or displaying at least part of the non-critical advertising elements based on the comparison of the first display size with the second display size and/or the third display size. The embodiment of the invention can improve the quality of advertisement display.

Description

Advertisement display method and device
Technical Field
The invention relates to the technical field of page data processing, in particular to a method and a device for displaying advertisements.
Background
Currently, advertisements provided by advertisers are presented at a user's client, typically in a fixed advertising area at the client.
However, when the size of the client window of the user changes, the display of the advertisement content is affected by the size change of the client window, so that the advertisement content is blank or stretched when being displayed, thereby causing distortion of the advertisement material and failing to present excellent advertisement effect.
Disclosure of Invention
In view of the above, embodiments of the present invention are proposed to provide a method and apparatus for advertisement display that overcomes or at least partially solves the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a method for displaying an advertisement, where the method includes:
requesting page data from a server, wherein the page data comprises advertisement data, the advertisement data comprises a first display size of an advertisement area and an advertisement material, the advertisement material is provided with a second display size, the advertisement material comprises a key advertisement element and a non-key advertisement element, the key advertisement element is provided with a third display size, and the third display size is smaller than the second display size;
in the process of displaying the page data, displaying the key advertisement elements in an advertisement area according to the third display size; and
hiding or displaying at least a portion of non-critical advertising elements based on a comparison of the first display size with the second display size and/or the third display size.
Preferably, after the step of hiding or displaying at least part of the non-key advertisement elements based on the comparison result of the first display size with the second display size and/or the third display size, the method further comprises:
monitoring whether the size of the current display window changes or not;
if the size of the display window changes, acquiring a fourth display size of the advertisement area;
displaying the key advertising elements in an advertising area according to the third display size;
hiding or displaying at least a portion of non-critical advertising elements based on a comparison of the fourth display size to the second display size and/or the third display size.
Preferably, the step of hiding or displaying at least part of the non-key advertisement elements based on the comparison of the first display size with the second display size and/or the third display size comprises:
if the first display size is equal to the second display size, displaying all non-key advertising elements;
hiding all non-key advertising elements if the first display size is equal to the third display size;
if the first display size is between the third display size and the second display size, calculating a first difference between the second display size and the third display size, a second difference between the first display size and the third display size, and a third difference between the first difference and the second difference;
displaying the non-key advertisement elements with the sizes corresponding to the second difference values, and hiding the non-key advertisement elements with the sizes corresponding to the third difference values.
Preferably, the non-key advertisement elements are distributed on two sides of the key advertisement elements, and the step of displaying the key advertisement elements in the advertisement area according to the third display size includes:
and displaying the key advertising element in the advertising area in a centered manner according to the third display size.
Preferably, the step of displaying the non-key advertisement elements with the size corresponding to the second difference value and hiding the non-key advertisement elements with the size corresponding to the third difference value includes:
respectively starting from the two side edges of the key advertisement elements, and displaying half of non-key advertisement elements with the sizes corresponding to the second difference values;
and hiding half of the non-key advertisement elements with the sizes corresponding to the third difference values from the outer edges of the non-key advertisement elements for the non-key advertisement elements displayed on each side.
Preferably, the advertising material comprises advertising material for a banner advertisement.
The embodiment of the invention also discloses a device for displaying the advertisement, which comprises:
the system comprises a page data acquisition module, a page data acquisition module and a display module, wherein the page data acquisition module is used for requesting page data from a server, the page data comprises advertisement data, and the advertisement data comprises a first display size of an advertisement area and an advertisement material, wherein the advertisement material is provided with a second display size, the advertisement material comprises a key advertisement element and a non-key advertisement element, the key advertisement element has a third display size, and the third display size is smaller than the second display size;
a key advertisement element display module, configured to, in a process of displaying the page data, display the key advertisement element in an advertisement area according to the third display size; and
a non-critical advertising element processing module that hides or displays at least a portion of non-critical advertising elements based on a comparison of the first display size with the second display size and/or the third display size.
Preferably, the apparatus further comprises:
the window monitoring module is used for monitoring whether the size of the current display window changes;
the advertisement material adjusting module is used for acquiring a fourth display size of the advertisement area if the size of the display window changes; displaying the key advertising elements in an advertising area according to the third display size; hiding or displaying at least a portion of non-critical advertising elements based on a comparison of the fourth display size to the second display size and/or the third display size.
Preferably, the non-critical advertisement element processing module comprises:
a non-key advertising element display sub-module for displaying all non-key advertising elements when the first display size is equal to the second display size;
a non-key advertising element hiding sub-module, configured to hide all non-key advertising elements when the first display size is equal to the third display size;
a non-critical advertising element processing sub-module for calculating a first difference between the second display size and a third display size, and a second difference between the first display size and the third display size, and a third difference between the first difference and the second difference, when the first display size is between the third display size and the second display size; displaying the non-key advertisement elements with the sizes corresponding to the second difference values, and hiding the non-key advertisement elements with the sizes corresponding to the third difference values.
Preferably, the non-key advertisement elements are distributed on both sides of the key advertisement elements, and the key advertisement element display module is further configured to:
and displaying the key advertising element in the advertising area in a centered manner according to the third display size.
Preferably, the non-critical advertising element processing sub-module is further configured to:
respectively starting from the two side edges of the key advertisement elements, and displaying half of non-key advertisement elements with the sizes corresponding to the second difference values;
and hiding half of the non-key advertisement elements with the sizes corresponding to the third difference values from the outer edges of the non-key advertisement elements for the non-key advertisement elements displayed on each side.
Preferably, the advertising material comprises advertising material for a banner advertisement.
The embodiment of the invention also discloses electronic equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the steps of the method are realized when the processor executes the program.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program realizes the steps of the method when being executed by a processor.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the key advertisement elements and the non-key advertisement elements are designed in the advertisement material, when the key advertisement elements are displayed, at the same time, the display sizes of different advertisement areas can be adapted by hiding or displaying at least part of the non-key advertisement elements, the advertisement area can be ensured not to be left blank and the picture is not distorted without stretching or compressing the advertisement material, the advertisement display quality is improved, in addition, the embodiment of the invention only needs to manufacture one advertisement material with limited size to be adapted to the display sizes of different advertisement areas, the material manufacturing cost is reduced to the greatest extent, and the bandwidth required by a network is reduced.
Drawings
FIG. 1 is a flowchart illustrating steps of a first embodiment of a method for displaying advertisements in accordance with the present invention;
FIG. 2 is a schematic diagram of the distribution of advertising material in accordance with an embodiment of the present invention;
FIG. 3 is a flowchart of steps of a second embodiment of a method for displaying advertisements in accordance with the present invention
Fig. 4 is a block diagram of an apparatus for displaying an advertisement according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, a flow chart of steps of a first embodiment of a method for displaying an advertisement of the present invention is shown, which may include the steps of:
step 101, requesting page data from a server, wherein the page data comprises advertisement data, the advertisement data comprises a first display size of an advertisement area and an advertisement material, the advertisement material is provided with a second display size, the advertisement material comprises a key advertisement element and a non-key advertisement element, the key advertisement element is provided with a third display size, and the third display size is smaller than the second display size;
the embodiment of the invention can be applied to a client, which can include but is not limited to a browser client and the like.
When the client detects a trigger operation of a user, for example, an operation of clicking or inputting a link, a page obtaining request may be generated based on the link corresponding to the trigger operation, and the page obtaining request may be sent to the server to request the server for page data corresponding to the page obtaining request.
In particular implementations, the page data may include, but is not limited to, advertisement data, and further, the advertisement data may include information of advertisement regions and advertisement material
As one example, the information for the advertisement area may include a first display size and a display position for the advertisement area.
In a specific implementation, since the widths of the left and right vision of the human eyes are limited, the maximum display size (e.g., the maximum display width) of the advertisement area may be set in the general web page data, or the maximum display size of the display commonly found on the market is set as the maximum display size of the advertisement area by default. Meanwhile, in order to ensure normal display of data, a minimum display size (e.g., a minimum display width) of an advertisement area may be set in the web page data, and if the window is too small, a scroll bar may appear.
In the embodiment of the present invention, the advertisement material may be provided with a second display size, and in a specific implementation, the size of the second display size may be equivalent to the size of the maximum display size of the advertisement area, so as to ensure complete display of the advertisement material. For example, if the width of the maximum display size of the advertisement region is 1380 pixels, the width of the second display size may be 1380 pixels.
In a specific implementation, the advertisement material can be an advertisement element designed by a designer according to the requirement of an advertiser, and the manufactured advertisement material can be uploaded to a server.
In embodiments of the present invention, the advertising material may include, but is not limited to: key advertising elements, and non-key advertising elements. The key advertisement elements may contain advertisement content required by the advertiser, and are main advertisement content. While non-critical advertising elements may be auxiliary advertising content.
As a preferred example of the embodiment of the present invention, the key advertisement elements may include one or more of elements such as pictures, videos, audios, and texts; the non-critical advertising elements may include background elements that are similar or identical to the background of the critical advertising elements.
The embodiment of the present invention may further set a size of the key advertisement element, that is, a third display size, and the third display size is smaller than the second display size because the display size of the advertisement material further includes the display size of the non-key advertisement element.
In practice, to ensure that the key advertising elements are still fully displayed when the advertising area is at the minimum display size, the third display size may be sized to the minimum display size of the advertising area. For example, if the width of the minimum display size of the advertisement area is 980 pixels, the width of the third display size may be set to 980 pixels.
As an example of an embodiment of the present invention, the advertising area may be an area of a banner advertisement display and the advertising material may include advertising material for a banner advertisement. The banner advertisement is a picture or Flash advertisement form transversely running through a webpage.
Since the height of the banner advertisement is generally small and the width of the banner advertisement crosses the entire page, the display width of the advertisement area of the banner advertisement is generally changed while the display height is kept constant, and the maximum display size of the advertisement area may be generally set to the maximum display width and the minimum display size may be generally set to the minimum display width.
Further, the height of the advertisement material of the banner advertisement may be the height of the advertisement area, and the display width of the advertisement material varies with the width of the advertisement area.
It should be noted that the embodiments of the present invention are not limited to the advertisement form of the banner advertisement, and may also be other advertisement forms, such as a page advertisement containing pictures and/or videos.
102, in the process of displaying the page data, displaying the key advertisement elements in an advertisement area according to the third display size;
in a specific implementation, since the key advertisement elements have a fixed third display size, the key advertisement elements may be displayed in the advertisement area according to the third display size in the process of performing page rendering on the page data.
In a preferred embodiment of the present invention, in order to enable the key advertisement elements to be displayed in the middle of the advertisement area and ensure a better display effect, the non-key advertisement elements may be distributed on both sides of the key advertisement elements, as shown in the advertisement material distribution diagram of fig. 2, in fig. 2, a part a is the key advertisement elements, and parts B on both sides are the non-key advertisement elements, respectively. In this case, in one embodiment, step 102 may further be:
and displaying the key advertising element in the advertising area in a centered manner according to the third display size.
Step 103, hiding or displaying at least part of the non-key advertisement elements based on the comparison result of the first display size and the second display size and/or the third display size.
In the embodiment of the invention, in the process of page display, the first display size and the second display size and/or the third display size can be compared while the key advertisement elements are displayed in the advertisement area, and according to the comparison result, part or all of the non-key advertisement elements can be displayed in the advertisement area, or the non-key advertisement elements beyond the advertisement area are hidden.
In a preferred embodiment of the present invention, step 103 may further comprise the following sub-steps:
substep S11, displaying all non-critical advertising elements if the first display size is equal to the second display size;
specifically, if the first display size of the advertisement area of the currently displayed page data is equal to the second display size of the advertisement material, it indicates that the advertisement area can display the complete advertisement material, and at this time, the advertisement area may display complete non-key advertisement elements in addition to complete key advertisement elements.
Substep S12, hiding all non-critical advertising elements if the first display size is equal to the third display size;
specifically, if the first display size of the advertisement area of the currently displayed page data is equal to the third display size of the key advertisement element, it indicates that the advertisement area can only display the complete key advertisement element, at this time, all non-key advertisement elements can be hidden, and only the key advertisement element is displayed in the advertisement area.
In the sub-step S13, if the first display size is between the third display size and the second display size, a first difference between the second display size and the third display size, a second difference between the first display size and the third display size, and a third difference between the first difference and the second difference are calculated, non-key advertisement elements with sizes corresponding to the second difference are displayed, and non-key advertisement elements with sizes corresponding to the third difference are hidden.
If the first display size of the advertisement area of the currently displayed page data is between the third display size and the second display size, that is, the display size of the current advertisement area is neither the maximum display size nor the minimum display size, a second difference between the first display size of the current advertisement area and the third display size of the key advertisement element may be calculated as the display size of the non-key advertisement element that needs to be displayed in the advertisement area. For example, for a banner advertisement, the width of the first display size of the advertisement area is 1280 pixels, the width of the second display size of the advertisement material is 1380 pixels, and the width of the third display size of the key advertisement element is 980 pixels, then the width of the non-key advertisement elements that can be displayed in the advertisement area, i.e., the second difference is 1280 and 980 is 300 pixels.
Further, a difference between the second display size and the third display size, i.e., a first difference, may also be calculated, where the first difference is the size of non-critical advertising elements in the advertising material. For example, for the above example, the width of the non-key advertisement elements in the advertisement material, i.e., the first difference value 1380 and 980 is 400 pixels.
The difference between the first difference and the second difference, i.e. the third difference, is calculated as the size of the non-critical advertisement element to be hidden. For example, for the above example, the difference between the width of the non-key advertisement element in the advertisement material and the width of the non-key advertisement element displayed in the advertisement area is obtained, and the difference is calculated as the size of the non-key advertisement element to be hidden, that is, the third difference is 400 pixels and 300 pixels.
If the non-key advertisement elements are distributed on both sides of the key advertisement elements, the sub-step S13 may further include the sub-steps of:
substep S131, starting from two side edges of the key advertisement element, respectively, displaying half of non-key advertisement elements with the size corresponding to the second difference value;
and a substep S132 of hiding half of the non-key advertisement elements of the size corresponding to the third difference value from the outer edge of the non-key advertisement elements for the non-key advertisement elements displayed on each side.
Specifically, after obtaining a second difference of the display sizes of the non-key elements to be displayed, the size of half of the second difference may be used as the size of the non-key advertisement element that needs to be displayed on one side. For example, half the 300 pixels in the above example, i.e., 150 pixels, are taken as the display width of the non-critical advertising elements on each side.
In an implementation, in the advertisement region, non-critical advertisement elements may be displayed starting immediately at the edge of a critical advertisement element, the second difference being half the width of the display corresponding to the width.
The remaining non-critical advertisement elements are the advertisement elements to be hidden, and the width of the non-critical advertisement elements to be hidden on each side is half of the width corresponding to the third difference.
It should be noted that the embodiments of the present invention are not limited to the above-mentioned manner of distributing the non-key advertisement elements on two sides of the key advertisement elements, and the non-key advertisement elements may also be distributed on one side of the key advertisement elements. Further, if the non-key advertisement elements are distributed on both sides of the key advertisement elements, the distribution is not limited to the above-mentioned average distribution manner, and the non-average distribution manner may also be used, for example, the width of the non-key advertisement elements that need to be displayed in the advertisement area is 300 pixels, the left side may be distributed with 50 pixels, the right side may be distributed with 250 pixels, and the like, which may be determined by the design of the advertisement designer.
In the embodiment of the invention, the key advertisement elements and the non-key advertisement elements are designed in the advertisement material, when the key advertisement elements are displayed, at the same time, the display sizes of different advertisement areas can be adapted by hiding or displaying at least part of the non-key advertisement elements, the advertisement area can be ensured not to be left blank and the picture is not distorted without stretching or compressing the advertisement material, the advertisement display quality is improved,
in addition, the embodiment of the invention only needs to make a limited advertisement material to adapt to the display sizes of different advertisement areas, thereby reducing the material making cost to the maximum extent and reducing the bandwidth of network requests.
Referring to fig. 3, a flowchart illustrating steps of a second embodiment of a method for displaying an advertisement of the present invention is shown, which may include the following steps:
step 301, requesting page data from a server, where the page data includes advertisement data, and the advertisement data includes a first display size of an advertisement area and an advertisement material, where the advertisement material has a second display size, the advertisement material includes a key advertisement element and a non-key advertisement element, the key advertisement element has a third display size, and the third display size is smaller than the second display size;
step 302, in the process of displaying the page data, displaying the key advertisement elements in an advertisement area according to the third display size;
step 303, hiding or displaying at least part of non-key advertisement elements based on the comparison result of the first display size and the second display size and/or the third display size;
step 304, monitoring whether the size of the current display window changes;
in a specific implementation, whether the size of the display window changes or not can be monitored through the JS script. For example, the change may include a process of displaying a window from a smaller size to a larger size or from a larger size to a smaller size.
Step 305, if the size of the display window changes, acquiring a fourth display size of the advertisement area;
step 306, displaying the key advertisement elements in the advertisement area according to the third display size;
step 307, hiding or displaying at least part of the non-critical advertisement elements based on the comparison result of the fourth display size with the second display size and/or the third display size.
And if the change of the size of the display window is monitored, the fourth display size of the advertisement area is obtained again, and the display of the advertisement materials in the advertisement area is adjusted based on the fourth display size.
In a particular implementation, after the fourth display size is obtained, the key advertising elements may continue to be displayed in the advertising area in the third display size, and the hidden size or the display size of the non-key advertising elements may be adjusted. The manner of adjustment may actually be to re-determine non-critical advertising elements that need to be hidden or displayed based on the comparison of the fourth display size with the second display size and/or the third display size. The specific way of re-determining the non-key advertisement elements that need to be hidden or displayed according to the comparison result between the fourth display size and the second display size and/or the third display size may refer to the way of re-determining the non-key advertisement elements that need to be hidden or displayed according to the comparison result between the first display size and the second display size and/or the third display size in step 103, which is not described herein again.
The embodiment of the invention can monitor the change of the page window in real time, and adjust the display or the hiding of the non-key advertisement elements in real time according to the change result, thereby avoiding the problem of advertisement area blank or distortion caused by compressing or stretching the advertisement material when the window changes, improving the adaptability of the advertisement material and improving the advertisement display quality.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 4, a block diagram of an apparatus for advertisement display according to an embodiment of the present invention is shown, which may include the following modules:
a page data obtaining module 401, configured to request page data from a server, where the page data includes advertisement data, and the advertisement data includes a first display size of an advertisement area and an advertisement material, where the advertisement material is provided with a second display size, the advertisement material includes a key advertisement element and a non-key advertisement element, the key advertisement element is provided with a third display size, and the third display size is smaller than the second display size;
a key advertisement element display module 402, configured to, in a process of displaying the page data, display the key advertisement elements in an advertisement area according to the third display size; and
a non-critical advertising element processing module 403, based on the comparison result of the first display size and the second display size and/or the third display size, hiding or displaying at least part of the non-critical advertising elements.
In a preferred embodiment of the present invention, the apparatus may further include the following modules:
the window monitoring module is used for monitoring whether the size of the current display window changes;
the advertisement material adjusting module is used for acquiring a fourth display size of the advertisement area if the size of the display window changes; displaying the key advertising elements in an advertising area according to the third display size; hiding or displaying at least a portion of non-critical advertising elements based on a comparison of the fourth display size to the second display size and/or the third display size.
In a preferred embodiment of the present invention, the non-critical advertisement element processing module 403 may further include the following sub-modules:
a non-key advertising element display sub-module for displaying all non-key advertising elements when the first display size is equal to the second display size;
a non-key advertising element hiding sub-module, configured to hide all non-key advertising elements when the first display size is equal to the third display size;
and a non-key advertisement element processing sub-module, configured to, when the first display size is between the third display size and the second display size, calculate a first difference between the second display size and the third display size, a second difference between the first display size and the third display size, and a third difference between the first difference and the second difference, display a non-key advertisement element having a size corresponding to the second difference, and hide a non-key advertisement element having a size corresponding to the third difference.
In a preferred embodiment of the present invention, the non-key advertisement elements are distributed on both sides of the key advertisement elements, and the key advertisement element display module 402 is further configured to:
and displaying the key advertising element in the advertising area in a centered manner according to the third display size.
In a preferred embodiment of the present invention, the non-critical advertisement element processing sub-module is further configured to:
respectively starting from the two side edges of the key advertisement elements, and displaying half of non-key advertisement elements with the sizes corresponding to the second difference values;
and hiding half of the non-key advertisement elements with the sizes corresponding to the third difference values from the outer edges of the non-key advertisement elements for the non-key advertisement elements displayed on each side.
In a preferred embodiment of the present invention, the advertising material comprises advertising material for a banner advertisement.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiment of the invention also discloses electronic equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the steps of the method are realized when the processor executes the program.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program realizes the steps of the method when being executed by a processor.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method and apparatus for displaying advertisement provided by the present invention are described in detail above, and the principle and the implementation manner of the present invention are explained by serving specific examples herein, and the description of the above embodiments is only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the service scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (12)

1. A method of advertisement display, the method comprising:
requesting page data from a server, wherein the page data comprises advertisement data, the advertisement data comprises a first display size of an advertisement area and an advertisement material, the advertisement material is provided with a second display size, the advertisement material comprises a key advertisement element and a non-key advertisement element, the key advertisement element is provided with a third display size, and the third display size is smaller than the second display size;
in the process of displaying the page data, displaying the key advertisement elements in an advertisement area according to the third display size; and
hiding or displaying at least a portion of non-critical advertising elements based on a comparison of the first display size to the second display size and/or the third display size;
the step of hiding or displaying at least part of the non-critical advertisement elements based on the comparison of the first display size with the second display size and/or the third display size comprises:
if the first display size is equal to the second display size, displaying all non-key advertising elements;
hiding all non-key advertising elements if the first display size is equal to the third display size;
if the first display size is between the third display size and the second display size, calculating a first difference between the second display size and the third display size, a second difference between the first display size and the third display size, and a third difference between the first difference and the second difference;
displaying the non-key advertisement elements with the sizes corresponding to the second difference values, and hiding the non-key advertisement elements with the sizes corresponding to the third difference values.
2. The method of claim 1, further comprising, after the step of hiding or displaying at least a portion of non-critical advertising elements based on the comparison of the first display size to the second display size and/or the third display size:
monitoring whether the size of the current display window changes or not;
if the size of the display window changes, acquiring a fourth display size of the advertisement area;
displaying the key advertising elements in an advertising area according to the third display size;
hiding or displaying at least a portion of non-critical advertising elements based on a comparison of the fourth display size to the second display size and/or the third display size.
3. The method of claim 2, wherein the non-critical advertisement elements are distributed on both sides of the critical advertisement elements, and wherein the step of presenting the critical advertisement elements in the advertisement area according to the third display size comprises:
and displaying the key advertising element in the advertising area in a centered manner according to the third display size.
4. The method of claim 3, wherein displaying the second delta sized non-critical advertising elements and hiding the third delta sized non-critical advertising elements comprises:
respectively starting from the two side edges of the key advertisement elements, and displaying half of non-key advertisement elements with the sizes corresponding to the second difference values;
and hiding half of the non-key advertisement elements with the sizes corresponding to the third difference values from the outer edges of the non-key advertisement elements for the non-key advertisement elements displayed on each side.
5. The method of claim 1 or 2 or 3 or 4, wherein the advertising material comprises advertising material for a banner advertisement.
6. An apparatus for advertisement display, the apparatus comprising:
the system comprises a page data acquisition module, a page data acquisition module and a display module, wherein the page data acquisition module is used for requesting page data from a server, the page data comprises advertisement data, and the advertisement data comprises a first display size of an advertisement area and an advertisement material, wherein the advertisement material is provided with a second display size, the advertisement material comprises a key advertisement element and a non-key advertisement element, the key advertisement element has a third display size, and the third display size is smaller than the second display size;
a key advertisement element display module, configured to, in a process of displaying the page data, display the key advertisement element in an advertisement area according to the third display size; and
a non-critical advertising element processing module that hides or displays at least a portion of non-critical advertising elements based on a comparison of the first display size with the second display size and/or the third display size; the non-critical advertising element processing module comprises:
a non-key advertising element display sub-module for displaying all non-key advertising elements when the first display size is equal to the second display size;
a non-key advertising element hiding sub-module, configured to hide all non-key advertising elements when the first display size is equal to the third display size;
a non-critical advertising element processing sub-module for calculating a first difference between the second display size and a third display size, and a second difference between the first display size and the third display size, and a third difference between the first difference and the second difference, when the first display size is between the third display size and the second display size; displaying the non-key advertisement elements with the sizes corresponding to the second difference values, and hiding the non-key advertisement elements with the sizes corresponding to the third difference values.
7. The apparatus of claim 6, further comprising:
the window monitoring module is used for monitoring whether the size of the current display window changes;
the advertisement material adjusting module is used for acquiring a fourth display size of the advertisement area if the size of the display window changes; displaying the key advertising elements in an advertising area according to the third display size; hiding or displaying at least a portion of non-critical advertising elements based on a comparison of the fourth display size to the second display size and/or the third display size.
8. The apparatus of claim 6, wherein the non-critical advertising elements are distributed on both sides of the critical advertising elements, and wherein the critical advertising element display module is further configured to:
and displaying the key advertising element in the advertising area in a centered manner according to the third display size.
9. The apparatus of claim 8, wherein the non-critical advertising element processing sub-module is further configured to:
respectively starting from the two side edges of the key advertisement elements, and displaying half of non-key advertisement elements with the sizes corresponding to the second difference values;
and hiding half of the non-key advertisement elements with the sizes corresponding to the third difference values from the outer edges of the non-key advertisement elements for the non-key advertisement elements displayed on each side.
10. Apparatus according to claim 6 or 7 or 8 or 9, wherein the advertising material comprises advertising material for a banner advertisement.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method of any of claims 1 to 5 are implemented when the program is executed by the processor.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201710885061.4A 2017-09-26 2017-09-26 Advertisement display method and device Active CN107861978B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710885061.4A CN107861978B (en) 2017-09-26 2017-09-26 Advertisement display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710885061.4A CN107861978B (en) 2017-09-26 2017-09-26 Advertisement display method and device

Publications (2)

Publication Number Publication Date
CN107861978A CN107861978A (en) 2018-03-30
CN107861978B true CN107861978B (en) 2020-06-30

Family

ID=61698663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710885061.4A Active CN107861978B (en) 2017-09-26 2017-09-26 Advertisement display method and device

Country Status (1)

Country Link
CN (1) CN107861978B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170039982A (en) * 2015-10-02 2017-04-12 김시환 Advertising system in the portable devices

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102395961A (en) * 2009-03-04 2012-03-28 M·帕蒂尔 Method for display offline, targeted, individually scheduled advertisements in any desktop display
US9183566B2 (en) * 2011-10-14 2015-11-10 Google Inc. Systems and methods for displaying advertisements in an advertisement unit
US20170213256A1 (en) * 2013-03-11 2017-07-27 Google Inc. Providing advertisements using dynamic slot-size-compatible style definitions
CN105635786B (en) * 2014-11-05 2019-01-18 深圳Tcl数字技术有限公司 The method and display equipment that advertisement is launched
US20160364770A1 (en) * 2015-05-29 2016-12-15 Nanigans, Inc. System for high volume data analytic integration and channel-independent advertisement generation

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170039982A (en) * 2015-10-02 2017-04-12 김시환 Advertising system in the portable devices

Also Published As

Publication number Publication date
CN107861978A (en) 2018-03-30

Similar Documents

Publication Publication Date Title
US20200175550A1 (en) Method for identifying advertisements for placement in multimedia content elements
US10636051B2 (en) Modifying advertisement sizing for presentation in a digital magazine
US20020175935A1 (en) Loading advertisements in a Web page and displaying a Web page
WO2020199649A1 (en) Method and device for monitoring change in webpage advertisement, and storage medium
CN106202089B (en) Method and equipment for determining picture quality and webpage display
CN105874504A (en) Inpainting device and method using segmentation of reference region
US20160171548A1 (en) Method for identifying advertisements for placement in multimedia content elements
CN111128082B (en) Backlight adjusting method, display and storage medium
US9247182B2 (en) Using cluster computing for generating personalized dynamic videos
US20160125452A1 (en) Measuring Offsite Advertising Effectiveness
CN107861978B (en) Advertisement display method and device
CN105389308B (en) Webpage display processing method and device
US10565613B2 (en) Simulating advertising campaigns
CN113837928A (en) Object color adjusting method and device, electronic equipment and storage medium
CN110580138B (en) Resolution adjustment method and device for spliced display screen
KR20190022442A (en) METHOD FOR CREATING ADS, COMPUTER READABLE STORAGE MATCH AND SYSTEM
CN111292280A (en) Method and apparatus for outputting information
US20150256900A1 (en) Dynamic content creation for interactive video overlays
US10600091B2 (en) Systems and methods for view-based advertisement selection
Chae et al. Enhancing product images for click-through rate improvement
US20190026775A1 (en) Placement exploration
US10803566B2 (en) Method for dynamically adjusting image clarity and image processing device using the same
US10936691B1 (en) Stable identifier architecture
US10785546B2 (en) Optimizing product placement in a media
CN110971959B (en) Display method, storage medium, electronic device and system for preventing abrupt change of picture

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