CN107861978A - The method and apparatus that a kind of advertisement is shown - Google Patents
The method and apparatus that a kind of advertisement is shown Download PDFInfo
- Publication number
- CN107861978A CN107861978A CN201710885061.4A CN201710885061A CN107861978A CN 107861978 A CN107861978 A CN 107861978A CN 201710885061 A CN201710885061 A CN 201710885061A CN 107861978 A CN107861978 A CN 107861978A
- Authority
- CN
- China
- Prior art keywords
- key
- display size
- elements
- size
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
- G06Q30/0277—Online advertisement
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Databases & Information Systems (AREA)
- Strategic Management (AREA)
- General Physics & Mathematics (AREA)
- Entrepreneurship & Innovation (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Economics (AREA)
- Game Theory and Decision Science (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiments of the invention provide the method and apparatus that a kind of advertisement is shown, wherein methods described includes:To requesting page server face data, the page data includes ad data, the ad data includes the first display size and ad material of advertising area, wherein, the ad material is provided with the second display size, the ad material includes Key advertisement element and non-key ad elements, and the Key advertisement element is provided with the 3rd display size, and the 3rd display size is less than second display size;During the page data is shown, according to the 3rd display size, the Key advertisement element is presented in advertising area;And the comparative result based on first display size and second display size and/or the 3rd display size, hide or show at least part of non-key ad elements.The embodiment of the present invention can improve the quality that advertisement is shown.
Description
Technical field
The present invention relates to page data processing technology field, the method and apparatus shown more particularly to a kind of advertisement.
Background technology
Currently, the advertisement that advertiser is provided is when subscription client shows, typically in the advertisement area that client is fixed
Domain shows.
However, when the size variation of subscription client window, showing for ad content can be by client window size
The influence of change so that ad content occurs blank or the situation of stretching when showing, and causes ad material distortion, Wu Facheng
Existing outstanding advertising results.
The content of the invention
In view of the above problems, it is proposed that the embodiment of the present invention overcomes above mentioned problem or at least in part to provide one kind
The method and apparatus that a kind of advertisement to solve the above problems is shown.
In order to solve the above problems, the embodiment of the invention discloses a kind of method that advertisement is shown, methods described includes:
To requesting page server face data, the page data includes ad data, and the ad data includes advertisement area
First display size and ad material in domain, wherein, the ad material is provided with the second display size, the ad material
Including Key advertisement element and non-key ad elements, the Key advertisement element is provided with the 3rd display size, and described
Three display sizes are less than second display size;
During the page data is shown, according to the 3rd display size, by the Key advertisement element exhibition
In present advertising area;And
Comparison knot based on first display size and second display size and/or the 3rd display size
Fruit, hide or show at least part of non-key ad elements.
Preferably, described based on first display size and second display size and/or the 3rd display
The comparative result of size, hide or the step of show at least part of non-key ad elements after, in addition to:
Whether the size for monitoring current display window changes;
If the size of the display window changes, the 4th display size of the advertising area is obtained;
According to the 3rd display size, the Key advertisement element is presented in advertising area;
Comparison knot based on the 4th display size and second display size and/or the 3rd display size
Fruit, hide or show at least part of non-key ad elements.
Preferably, it is described based on first display size and second display size and/or the 3rd display chi
Very little comparative result, hide or include the step of showing at least part of non-key ad elements:
If first display size is equal to second display size, whole non-key ad elements are shown;
If first display size is equal to the 3rd display size, whole non-key ad elements are hidden;
If described in first display size between the 3rd display size and second display size, calculates
First difference of the second display size and the 3rd display size, and, first display size and the 3rd display size
The second difference, and, the 3rd difference of first difference and the second difference;
Show that second difference corresponds to the non-key ad elements of size, hide the 3rd difference and correspond to the non-of size
Key advertisement element.
Preferably, the non-key ad elements are distributed in the both sides of the Key advertisement element, described according to described
Three display sizes, the Key advertisement element is showed into the step in the advertising area includes:
According to the 3rd display size, the Key advertisement element is presented in the advertising area between two parties.
Preferably, display second difference corresponds to the non-key ad elements of size, hides the 3rd difference
The step of non-key ad elements of corresponding size, includes:
Respectively since the both sides of the edge of the Key advertisement element, show that the second difference of half corresponds to the non-pass of size
Key ad elements;
The non-key ad elements shown for every side, since the outward flange of the non-key ad elements, hide
3rd difference of half corresponds to the non-key ad elements of size.
Preferably, the ad material includes the ad material of banner advertisements.
The embodiment of the invention also discloses the device that a kind of advertisement is shown, described device includes:
Page data acquisition module, for including ad data, institute to requesting page server face data, the page data
Stating ad data includes the first display size and ad material of advertising area, wherein, the ad material is provided with second
Display size, the ad material include Key advertisement element and non-key ad elements, and the Key advertisement element has
3rd display size, the 3rd display size are less than second display size;
Key advertisement element display module, for during the page data is shown, being shown according to the described 3rd
Size, the Key advertisement element is presented in advertising area;And
Non-key ad elements processing module, based on first display size and second display size and/or institute
The comparative result of the 3rd display size is stated, hides or shows at least part of non-key ad elements.
Preferably, described device also includes:
Window monitors module, and whether the size for monitoring current display window changes;
Ad material adjusting module, if the size for the display window changes, obtain the advertising area
The 4th display size;According to the 3rd display size, the Key advertisement element is presented in advertising area;Based on institute
The 4th display size and second display size and/or the comparative result of the 3rd display size are stated, hides or shows extremely
Least a portion of non-key ad elements.
Preferably, the non-key ad elements processing module includes:
Non-key ad elements display sub-module, for being equal to second display size in first display size
When, then show whole non-key ad elements;
Non-key ad elements hide submodule, for being equal to the 3rd display size in first display size
When, then hide whole non-key ad elements;
Non-key ad elements handle submodule, in first display size in the 3rd display size and institute
When stating between the second display size, then the first difference of second display size and the 3rd display size is calculated, and, it is described
Second difference of the first display size and the 3rd display size, and, the 3rd of first difference and the second difference is poor
Value;Show that second difference corresponds to the non-key ad elements of size, hide the 3rd difference and correspond to the non-key of size
Ad elements.
Preferably, the non-key ad elements are distributed in the both sides of the Key advertisement element, the Key advertisement member
Plain display module is additionally operable to:
According to the 3rd display size, the Key advertisement element is presented in the advertising area between two parties.
Preferably, the non-key ad elements processing submodule is additionally operable to:
Respectively since the both sides of the edge of the Key advertisement element, show that the second difference of half corresponds to the non-pass of size
Key ad elements;
The non-key ad elements shown for every side, since the outward flange of the non-key ad elements, hide
3rd difference of half corresponds to the non-key ad elements of size.
Preferably, the ad material includes the ad material of banner advertisements.
The embodiment of the invention also discloses a kind of electronic equipment, including memory, processor and storage are on a memory simultaneously
The computer program that can be run on a processor, the step of realizing the above method during computing device described program.
The embodiment of the invention also discloses a kind of computer-readable recording medium, computer program is stored thereon with, the journey
The step of above method is realized when sequence is executed by processor.
The embodiment of the present invention includes advantages below:
In embodiments of the present invention, design key ad elements and non-key ad elements in ad material, aobvious
When showing, while showing Key advertisement element, by hiding or showing that at least part of non-key ad elements can be adapted to
The display size of different advertising areas, ensure that not being left white of advertising area without stretching or compressing ad material, scheme
Piece is undistorted, improves the quality that advertisement is shown, and the embodiment of the present invention only needs to make a advertisement element for limiting size
Material can be adapted to the display size of different advertising areas, the cost of material-making farthest be reduced, so as to reduce
The bandwidth of network request.
Brief description of the drawings
Fig. 1 is the step flow chart for the embodiment of the method one that a kind of advertisement of the present invention is shown;
Fig. 2 is the ad material distribution schematic diagram of the embodiment of the present invention;
Fig. 3 is the step flow chart for the embodiment of the method two that a kind of advertisement of the present invention is shown
Fig. 4 is the structured flowchart for the device embodiment that a kind of advertisement of the present invention is shown.
Embodiment
In order to facilitate the understanding of the purposes, features and advantages of the present invention, it is below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is further detailed explanation.
Reference picture 1, the step flow chart for the embodiment of the method one that a kind of advertisement of the present invention is shown is shown, can be included
Following steps:
Step 101, to requesting page server face data, the page data includes ad data, the ad data bag
The first display size and ad material of advertising area are included, wherein, the ad material is provided with the second display size, described
Ad material includes Key advertisement element and non-key ad elements, and the Key advertisement element is provided with the 3rd display chi
Very little, the 3rd display size is less than second display size;
The embodiment of the present invention can apply in client, and the client can include but is not limited to browser client
Deng.
When client detects the trigger action of user, for example, clicking on or during the operation of input link, can be touched based on this
Hair operation is corresponding to be linked, and generates page access request, and sends page access request to server, to be somebody's turn to do to server request
Page data corresponding to page access request.
In the specific implementation, ad data can be included but is not limited in the page data, further, the ad data
The information and ad material of advertising area can be included
As a kind of example, the information of the advertising area can include the first display size and the display position of advertising area
Put.
In the specific implementation, because the left and right eyesight width of human eye is limited, so can be set in general web data
Determine the maximum display size (for example, maximum display width) of advertising area, or give tacit consent to display maximum common on the market and show
Show maximum display size of the size as advertising area.Meanwhile can be with order to ensure the normal display of data, in web data
The minimum display size (for example, minimum display width) of advertising area is set, scroll bar occurs if window is too small.
In embodiments of the present invention, the ad material can be provided with the second display size, in the specific implementation, this second
The size of display size can be equivalent to the size of the maximum display size of advertising area, so as to ensure the complete aobvious of ad material
Show.For example, the width of the maximum display size of advertising area is 1380 pixels, then the width of the second display size can be set
For 1380 pixels.
In the specific implementation, ad material can be designer according to the ad elements of gray Demand Design, system
During the ad material performed can upload onto the server.
In embodiments of the present invention, ad material can include but is not limited to:Key advertisement element and non-key advertisement
Element.Wherein, Key advertisement element can include the ad content required for advertiser, be main ad content.Rather than close
Key ad elements can be the ad content of auxiliary.
As a kind of preferred exemplary of the embodiment of the present invention, Key advertisement element can include picture, video, audio, text
The one or more of the elements such as word;Non-key ad elements can include the back of the body similar or identical with the background of Key advertisement element
Scape element.
The embodiment of the present invention can also set the size of Key advertisement element, i.e. the 3rd display size, also, due to advertisement
The display size of material also includes the display size of non-key ad elements, and therefore, the 3rd display size is less than the second display chi
It is very little.
In practice, in order to ensure that Key advertisement element still can completely show when advertising area is in minimum display size
Show, the size of the 3rd display size can be set as to the minimum display size of advertising area.For example, the minimum of advertising area shows
The width for showing size is 980 pixels, then the width of the 3rd display size can be set as into 980 pixels.
As a kind of example of the embodiment of the present invention, the advertising area can be the region that banner advertisements are shown, the advertisement
Material can include the ad material of banner advertisements.Wherein, banner advertisements are the picture or Flash that a kind of transverse direction runs through webpage
Advertisement form.
The height of usual banner advertisements is smaller, and width crosses full page, therefore, for the advertisement area of banner advertisements
Domain, what is typically changed is display width, and keeps display highly constant, then the maximum display size one of above-mentioned advertising area
As can be set as maximum display width, minimum display size typically can be set as minimum display width.
Further, the height of the ad material of banner advertisements can be the height of advertising area, the display of ad material
Width changes with the change of the width of advertising area.
It should be noted that the embodiment of the present invention is not limited to the advertisement form of banner advertisements, other shapes are can also be
The advertisement form of formula, for example, page ad comprising picture and/or video etc..
Step 102,, will be described crucial wide according to the 3rd display size during the page data is shown
Element is accused to be presented in advertising area;
In the specific implementation, because Key advertisement element possesses the 3rd fixed display size, then page data is carried out
During page rendering, Key advertisement element can be included in advertising area according to the 3rd display size.
In a kind of preferred embodiment of the embodiment of the present invention, in order that advertisement area can be shown in by obtaining Key advertisement element
The medium position in domain, ensure more preferable display effect, non-key ad elements can be distributed in the both sides of Key advertisement element,
As shown in Fig. 2 ad material distribution schematic diagram, in fig. 2, part A is Key advertisement element, and the part B of both sides is respectively non-
Key advertisement element.In this case, in one embodiment, step 102 can be further:
According to the 3rd display size, the Key advertisement element is presented in the advertising area between two parties.
Step 103, based on first display size and second display size and/or the 3rd display size
Comparative result, hide or show at least part of non-key ad elements.
In embodiments of the present invention, during the page is shown, the same of Key advertisement element is shown in advertising area
When, the first display size and the second display size and/or the 3rd display size can also be compared, can be wide according to comparative result
The non-key ad elements of display portion or whole in region are accused, or, will be hidden beyond the non-key ad elements of advertising area
Hide.
In a kind of preferred embodiment of the embodiment of the present invention, step 103 can further include following sub-step:
Sub-step S11, if first display size is equal to second display size, show whole non-key wide
Accuse element;
Specifically, if the first display size of the advertising area of the page data currently shown is equal to the of ad material
Two display sizes, represent that advertising area can show complete ad material, it is now, complete except that can show in advertising area
Key advertisement element beyond, complete non-key ad elements can also be shown.
Sub-step S12, if first display size is equal to the 3rd display size, hide the non-key wide of whole
Accuse element;
Specifically, if the first display size of the advertising area of the page data currently shown is equal to Key advertisement element
The 3rd display size, represent that advertising area can only show complete Key advertisement element, at this point it is possible to hide whole non-passes
Key ad elements, Key advertisement element is only shown in advertising area.
Sub-step S13, if first display size between the 3rd display size and second display size,
The first difference of second display size and the 3rd display size is then calculated, and, first display size and described the
Second difference of three display sizes, and, the 3rd difference of first difference and the second difference, and show second difference
The non-key ad elements of corresponding size, hide the non-key ad elements that the 3rd difference corresponds to size.
If the first display size of the advertising area of the page data currently shown is aobvious in the 3rd display size and second
Between showing size, i.e. the display size in Current ad region is not maximum display size nor minimum display size, then can be with
The second difference between first display size in Current ad region and the 3rd display size of Key advertisement element is calculated, as
The display size of non-key ad elements shown is needed in advertising area.For example, banner advertisements are directed to, the first of advertising area
The width of display size is 1280 pixels, and the width of the second display size of ad material is 1380 pixels, Key advertisement element
The width of the 3rd display size be 980 pixels, then the width for the non-key ad elements that may be displayed in advertising area, i.e.,
Second difference=1280-980=300 pixels.
Further, the difference of the second display size and the 3rd display size, i.e. the first difference can also be calculated, this first
Difference is the size of non-key ad elements in ad material.For example, upper example is directed to, non-key ad elements in ad material
Width, i.e. the first difference=1380-980=400 pixels.
The difference of the first difference and the second difference, i.e. the 3rd difference are calculated, can be as the non-key advertisement for needing to hide
The size of element.For example, being directed to upper example, obtain the width of non-key ad elements in ad material and be shown in advertising area
In non-key ad elements width beyond, both differences can be calculated, as needing hiding non-key ad elements
Size, i.e. three differences=400-300=100 pixels.
If not Key advertisement Elemental redistribution can further include such as in the both sides of Key advertisement element, then sub-step S13
Lower sub-step:
Sub-step S131, respectively since the both sides of the edge of the Key advertisement element, show the second difference pair of half
Answer the non-key ad elements of size;
Sub-step S132, the non-key ad elements shown for every side, from the outside of the non-key ad elements
Edge starts, and the 3rd difference for hiding half corresponds to the non-key ad elements of size.
Specifically, after obtaining needing the difference of display size second of non-key key element that shows, can by this
The size for the non-key ad elements that the size of the half of two differences needs to show as side.For example, by 300 pictures in upper example
The half of element, i.e. display width of 150 pixels as the non-key ad elements per side.
In the implementation, in advertising area, the non-key ad elements of display can and then Key advertisement element side
Edge starts, and the width of display corresponds to width for the second difference of half.
Then remaining non-key ad elements are then to need hiding ad elements, and per side, needs are hidden non-key wide
The width for accusing element corresponds to width for the 3rd difference of half.
It should be noted that the embodiment of the present invention be not limited to it is above-mentioned by non-key ad elements be distributed in Key advertisement member
The mode of the both sides of element, non-key ad elements can also be distributed in the side of Key advertisement element.Further, if will be non-
Key advertisement Elemental redistribution in the both sides of Key advertisement element, be also not limited to above-mentioned mean allocation mode or
Inequality distribution, for example, it is desired to the width of the width for the non-key ad elements being shown in advertising area is 300 pixels, it is left
Side can be distributed 50 pixels, and right side can be distributed 250 pixels etc., specifically can be depending on the design of advertisement designer.
In embodiments of the present invention, design key ad elements and non-key ad elements in ad material, aobvious
When showing, while showing Key advertisement element, by hiding or showing that at least part of non-key ad elements can be adapted to
The display size of different advertising areas, ensure that not being left white of advertising area without stretching or compressing ad material, scheme
Piece is undistorted, improves the quality that advertisement is shown,
And the ad material that the embodiment of the present invention only needs to make a restriction size can be adapted to different advertisements
The display size in region, the cost of material-making is farthest reduced, so as to reduce the bandwidth of network request.
Reference picture 3, the step flow chart for the embodiment of the method two that a kind of advertisement of the present invention is shown is shown, can be included
Following steps:
Step 301, to requesting page server face data, the page data includes ad data, the ad data bag
The first display size and ad material of advertising area are included, wherein, the ad material has the second display size, described wide
Accusing material includes Key advertisement element and non-key ad elements, and the Key advertisement element has the 3rd display size, institute
State the 3rd display size and be less than second display size;
Step 302,, will be described crucial wide according to the 3rd display size during the page data is shown
Element is accused to be presented in advertising area;
Step 303, based on first display size and second display size and/or the 3rd display size
Comparative result, hide or show at least part of non-key ad elements;
Step 304, whether the size for monitoring current display window changes;
In the specific implementation, whether can be changed by the size of JS script monitor display windows.For example, the change
It can change from small to big including display window or process from large to small.
Step 305, if the size of the display window changes, the 4th display chi of the advertising area is obtained
It is very little;
Step 306, according to the 3rd display size, the Key advertisement element is presented in advertising area;
Step 307, based on the 4th display size and second display size and/or the 3rd display size
Comparative result, hide or show at least part of non-key ad elements.
If the size for listening to display window changes, the 4th display size of advertising area is reacquired,
And based on the 4th display size, adjust the display of the ad material in advertising area.
After in the specific implementation, obtaining the 4th display size, it can continue in advertising area according to the 3rd display chi
Very little display Key advertisement element, and adjust the hiding size or display size of non-non-key ad elements.The mode of adjustment is actual
On can be according to the 4th display size and the comparative result of the second display size and/or the 3rd display size, redefine need
The non-key ad elements hidden or shown.According to the 4th display size and the second display size and/or the 3rd display size
Comparative result, the concrete mode of non-key ad elements that redefining needs to hide or show is referred to above-mentioned steps
According to the first display size and the comparative result of the second display size and/or the 3rd display size in 103, it is hidden to redefine needs
The mode for the non-key ad elements hidden or shown, here is omitted.
The embodiment of the present invention can monitor the change of page window in real time, and be adjusted in real time according to result of variations non-key wide
The show or hide of element is accused, the advertising area for avoiding compressing or being stretched caused by ad material when window changes is left white or lost
Genuine problem, improves the suitability of ad material, improves advertisement display quality calmly.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of action group
Close, but those skilled in the art should know, the embodiment of the present invention is not limited by described sequence of movement, because according to
According to the embodiment of the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented
Necessary to example.
Reference picture 4, the structured flowchart for the device embodiment that a kind of advertisement of the present invention is shown is shown, can be included as follows
Module:
Page data acquisition module 401, for including advertisement number to requesting page server face data, the page data
According to, the ad data includes the first display size and ad material of advertising area, wherein, the ad material is provided with
Second display size, the ad material include Key advertisement element and non-key ad elements, the Key advertisement element
The 3rd display size is provided with, the 3rd display size is less than second display size;
Key advertisement element display module 402, for during the page data is shown, showing according to the described 3rd
Show size, the Key advertisement element is presented in advertising area;And
Non-key ad elements processing module 403, based on first display size and second display size and/or
The comparative result of 3rd display size, hide or show at least part of non-key ad elements.
In a kind of preferred embodiment of the embodiment of the present invention, described device can also include following module:
Window monitors module, and whether the size for monitoring current display window changes;
Ad material adjusting module, if the size for the display window changes, obtain the advertising area
The 4th display size;According to the 3rd display size, the Key advertisement element is presented in advertising area;Based on institute
The 4th display size and second display size and/or the comparative result of the 3rd display size are stated, hides or shows extremely
Least a portion of non-key ad elements.
In a kind of preferred embodiment of the embodiment of the present invention, the non-key ad elements processing module is entered including 403
One step can include following submodule:
Non-key ad elements display sub-module, for being equal to second display size in first display size
When, then show whole non-key ad elements;
Non-key ad elements hide submodule, for being equal to the 3rd display size in first display size
When, then hide whole non-key ad elements;
Non-key ad elements handle submodule, in first display size in the 3rd display size and institute
When stating between the second display size, then the first difference of second display size and the 3rd display size is calculated, and, it is described
Second difference of the first display size and the 3rd display size, and, the 3rd of first difference and the second difference is poor
Value, and show that second difference corresponds to the non-key ad elements of size, hide the non-pass that the 3rd difference corresponds to size
Key ad elements.
In a kind of preferred embodiment of the embodiment of the present invention, the non-key ad elements are distributed in the Key advertisement
The both sides of element, the Key advertisement element display module 402 are additionally operable to:
According to the 3rd display size, the Key advertisement element is presented in the advertising area between two parties.
In a kind of preferred embodiment of the embodiment of the present invention, the non-key ad elements processing submodule is additionally operable to:
Respectively since the both sides of the edge of the Key advertisement element, show that the second difference of half corresponds to the non-pass of size
Key ad elements;
The non-key ad elements shown for every side, since the outward flange of the non-key ad elements, hide
3rd difference of half corresponds to the non-key ad elements of size.
In a kind of preferred embodiment of the embodiment of the present invention, the ad material includes the ad material of banner advertisements.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related
Part illustrates referring to the part of embodiment of the method.
The embodiment of the invention also discloses a kind of electronic equipment, including memory, processor and storage are on a memory simultaneously
The computer program that can be run on a processor, the step of realizing the above method during computing device described program.
The embodiment of the invention also discloses a kind of computer-readable recording medium, computer program is stored thereon with, the journey
The step of above method is realized when sequence is executed by processor.
Each embodiment in this specification is described by the way of progressive, what each embodiment stressed be with
The difference of other embodiment, between each embodiment identical similar part mutually referring to.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can be provided as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can use complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can use one or more wherein include computer can
With in the computer-usable storage medium (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention is with reference to method according to embodiments of the present invention, terminal device (system) and computer program
The flow chart and/or block diagram of product describes.It should be understood that can be by computer program instructions implementation process figure and/or block diagram
In each flow and/or square frame and the flow in flow chart and/or block diagram and/or the combination of square frame.These can be provided
Computer program instructions are set to all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to produce a machine so that is held by the processor of computer or other programmable data processing terminal equipments
Capable instruction is produced for realizing in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames
The device for the function of specifying.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing terminal equipments
In the computer-readable memory to work in a specific way so that the instruction being stored in the computer-readable memory produces bag
The manufacture of command device is included, the command device is realized in one flow of flow chart or multiple flows and/or one side of block diagram
The function of being specified in frame or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that
Series of operation steps is performed on computer or other programmable terminal equipments to produce computer implemented processing, so that
The instruction performed on computer or other programmable terminal equipments is provided for realizing in one flow of flow chart or multiple flows
And/or specified in one square frame of block diagram or multiple square frames function the step of.
Although having been described for the preferred embodiment of the embodiment of the present invention, those skilled in the art once know base
This creative concept, then other change and modification can be made to these embodiments.So appended claims are intended to be construed to
Including preferred embodiment and fall into having altered and changing for range of embodiment of the invention.
Finally, it is to be noted that, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between any this actual relation or order be present.Moreover, term " comprising ", "comprising" or its any other variant meaning
Covering including for nonexcludability, so that process, method, article or terminal device including a series of elements are not only wrapped
Those key elements, but also the other element including being not expressly set out are included, or is also included for this process, method, article
Or the key element that terminal device is intrinsic.In the absence of more restrictions, wanted by what sentence "including a ..." limited
Element, it is not excluded that other identical element in the process including the key element, method, article or terminal device also be present.
The method and apparatus shown above to a kind of advertisement provided by the present invention, are described in detail, herein clothes
Specific case of being engaged in is set forth to the principle and embodiment of the present invention, and the explanation of above example is only intended to help and managed
Solve the method and its core concept of the present invention;Meanwhile for those of ordinary skill in the art, according to the thought of the present invention,
There will be changes in embodiment and service range, in summary, this specification content should not be construed as to this hair
Bright limitation.
Claims (14)
1. a kind of method that advertisement is shown, it is characterised in that methods described includes:
To requesting page server face data, the page data includes ad data, and the ad data includes advertising area
First display size and ad material, wherein, the ad material is provided with the second display size, and the ad material includes
Key advertisement element and non-key ad elements, the Key advertisement element are provided with the 3rd display size, and the described 3rd is aobvious
Show that size is less than second display size;
During the page data is shown, according to the 3rd display size, the Key advertisement element is presented in
In advertising area;And
Comparative result based on first display size and second display size and/or the 3rd display size, it is hidden
Hide or show at least part of non-key ad elements.
2. according to the method for claim 1, it is characterised in that be based on first display size and described second described
The comparative result of display size and/or the 3rd display size, hide or show at least part of non-key ad elements
After step, in addition to:
Whether the size for monitoring current display window changes;
If the size of the display window changes, the 4th display size of the advertising area is obtained;
According to the 3rd display size, the Key advertisement element is presented in advertising area;
Comparative result based on the 4th display size and second display size and/or the 3rd display size, it is hidden
Hide or show at least part of non-key ad elements.
3. method according to claim 1 or 2, it is characterised in that described based on first display size and described the
The comparative result of two display sizes and/or the 3rd display size, hide or show at least part of non-key ad elements
The step of include:
If first display size is equal to second display size, whole non-key ad elements are shown;
If first display size is equal to the 3rd display size, whole non-key ad elements are hidden;
If first display size calculates described second between the 3rd display size and second display size
First difference of display size and the 3rd display size, and, the of first display size and the 3rd display size
Two differences, and, the 3rd difference of first difference and the second difference;
Show that second difference corresponds to the non-key ad elements of size, hide the 3rd difference and correspond to the non-key of size
Ad elements.
4. according to the method for claim 3, it is characterised in that the non-key ad elements are distributed in the Key advertisement
The both sides of element, it is described according to the 3rd display size, the Key advertisement element is showed to the step in the advertising area
Suddenly include:
According to the 3rd display size, the Key advertisement element is presented in the advertising area between two parties.
5. according to the method for claim 4, it is characterised in that display second difference corresponds to the non-key of size
Ad elements, hiding the step of the 3rd difference corresponds to the non-key ad elements of size includes:
Respectively since the both sides of the edge of the Key advertisement element, show that the second difference of half corresponds to the non-key wide of size
Accuse element;
The non-key ad elements shown for every side, since the outward flange of the non-key ad elements, hide half
The 3rd difference correspond to the non-key ad elements of size.
6. according to the method described in claim 1 or 2 or 4 or 5, it is characterised in that the ad material includes banner advertisements
Ad material.
7. the device that a kind of advertisement is shown, it is characterised in that described device includes:
Page data acquisition module, for requesting page server face data, the page data to include ad data, described wide
Accusing data includes the first display size and ad material of advertising area, wherein, the ad material is provided with the second display
Size, the ad material include Key advertisement element and non-key ad elements, and the Key advertisement element has the 3rd
Display size, the 3rd display size are less than second display size;
Key advertisement element display module, for during the page data is shown, according to the 3rd display size,
The Key advertisement element is presented in advertising area;And
Non-key ad elements processing module, based on first display size and second display size and/or described the
The comparative result of three display sizes, hide or show at least part of non-key ad elements.
8. device according to claim 7, it is characterised in that also include:
Window monitors module, and whether the size for monitoring current display window changes;
Ad material adjusting module, if the size for the display window changes, obtain the of the advertising area
Four display sizes;According to the 3rd display size, the Key advertisement element is presented in advertising area;Based on described
Four display sizes and second display size and/or the comparative result of the 3rd display size, hide or show at least portion
The non-key ad elements divided.
9. the device according to claim 7 or 8, it is characterised in that the non-key ad elements processing module includes:
Non-key ad elements display sub-module, for when first display size is equal to second display size, then
Show whole non-key ad elements;
Non-key ad elements hide submodule, for when first display size is equal to three display size, then
Hide whole non-key ad elements;
Non-key ad elements handle submodule, in first display size in the 3rd display size and described the
When between two display sizes, then the first difference of second display size and the 3rd display size is calculated, and, described first
Second difference of display size and the 3rd display size, and, the 3rd difference of first difference and the second difference;It is aobvious
Show that second difference corresponds to the non-key ad elements of size, hide the non-key advertisement member that the 3rd difference corresponds to size
Element.
10. device according to claim 9, it is characterised in that the non-key ad elements are distributed in described crucial wide
The both sides of element are accused, the Key advertisement element display module is additionally operable to:
According to the 3rd display size, the Key advertisement element is presented in the advertising area between two parties.
11. device according to claim 10, it is characterised in that the non-key ad elements processing submodule is also used
In:
Respectively since the both sides of the edge of the Key advertisement element, show that the second difference of half corresponds to the non-key wide of size
Accuse element;
The non-key ad elements shown for every side, since the outward flange of the non-key ad elements, hide half
The 3rd difference correspond to the non-key ad elements of size.
12. according to the device described in claim 7 or 8 or 10 or 11, it is characterised in that the ad material includes banner advertisements
Ad material.
13. a kind of electronic equipment, including memory, processor and storage are on a memory and the calculating that can run on a processor
Machine program, it is characterised in that the step of any one of claim 1 to 6 methods described is realized during the computing device described program
Suddenly.
14. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor
The step of any one of claim 1 to 6 methods described is realized during execution.
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 true CN107861978A (en) | 2018-03-30 |
CN107861978B 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 (6)
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 |
CN103890795A (en) * | 2011-10-14 | 2014-06-25 | 谷歌公司 | Systems and methods for displaying advertisements in an advertisement unit |
CN105635786A (en) * | 2014-11-05 | 2016-06-01 | 深圳Tcl数字技术有限公司 | Advertisement delivery method and display method apparatus |
US20160364093A1 (en) * | 2015-05-29 | 2016-12-15 | Nanigans, Inc. | Graphical user interface for high volume data analytics |
KR20170039982A (en) * | 2015-10-02 | 2017-04-12 | 김시환 | Advertising system in the portable devices |
US20170213256A1 (en) * | 2013-03-11 | 2017-07-27 | Google Inc. | Providing advertisements using dynamic slot-size-compatible style definitions |
-
2017
- 2017-09-26 CN CN201710885061.4A patent/CN107861978B/en active Active
Patent Citations (6)
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 |
CN103890795A (en) * | 2011-10-14 | 2014-06-25 | 谷歌公司 | 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 |
CN105635786A (en) * | 2014-11-05 | 2016-06-01 | 深圳Tcl数字技术有限公司 | Advertisement delivery method and display method apparatus |
US20160364093A1 (en) * | 2015-05-29 | 2016-12-15 | Nanigans, Inc. | Graphical user interface for high volume data analytics |
KR20170039982A (en) * | 2015-10-02 | 2017-04-12 | 김시환 | Advertising system in the portable devices |
Also Published As
Publication number | Publication date |
---|---|
CN107861978B (en) | 2020-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11783234B2 (en) | Systems and methods for automated object recognition | |
CN111464833B (en) | Target image generation method, target image generation device, medium and electronic device | |
US8904277B2 (en) | Platform for serving online content | |
US7439982B2 (en) | Optimized scene graph change-based mixed media rendering | |
US20180101505A1 (en) | Ordinal Positioning of Content Items Based on Viewport | |
AU2020293224A1 (en) | Dynamic overlay video advertisement insertion | |
Pinson et al. | Selecting scenes for 2D and 3D subjective video quality tests | |
US20180063599A1 (en) | Method of Displaying Advertisement of 360 VR Video | |
CN111583886A (en) | Screen refresh rate adjusting method, device, equipment and medium | |
CN106791953A (en) | Many player control methods, server and client | |
CN104267887B (en) | Five application page self-adaption typesetting display methods based on application widget dimensional parameters | |
Waldin et al. | Flicker observer effect: Guiding attention through high frequency flicker in images | |
US20150220496A1 (en) | Dynamic sprite based theme switching | |
US11206441B2 (en) | Automated media production pipeline for generating personalized media content | |
US9741062B2 (en) | System for collaboratively interacting with content | |
US20210118403A1 (en) | Display method and display device, visible light communication transmission method and device | |
WO2019144839A1 (en) | Method and apparatus for replacing object in video | |
US20140143694A1 (en) | Self optimizing and reducing user experiences | |
Gulliver et al. | Pervasive and standalone computing: the perceptual effects of variable multimedia quality | |
US20160171548A1 (en) | Method for identifying advertisements for placement in multimedia content elements | |
US8561106B1 (en) | Video advertisement placement | |
WO2021169583A1 (en) | Virtual reality display device and control method therefor | |
US20200401496A1 (en) | Method and device of displaying video comments, computing device, and readable storage medium | |
CN107861978A (en) | The method and apparatus that a kind of advertisement is shown | |
TW201137648A (en) | Image-processing device, image-processing method, and image-processing program |
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 |