CN106815225A - A kind of floating advertisement treatment of media interface and the method and device of display - Google Patents

A kind of floating advertisement treatment of media interface and the method and device of display Download PDF

Info

Publication number
CN106815225A
CN106815225A CN201510850329.1A CN201510850329A CN106815225A CN 106815225 A CN106815225 A CN 106815225A CN 201510850329 A CN201510850329 A CN 201510850329A CN 106815225 A CN106815225 A CN 106815225A
Authority
CN
China
Prior art keywords
advertisement
interface
value
positional information
interface zone
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
Application number
CN201510850329.1A
Other languages
Chinese (zh)
Other versions
CN106815225B (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 Zhiwen Artificial Intelligence Software Technology Co ltd
Original Assignee
Founder International Beijing 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 Founder International Beijing Co Ltd filed Critical Founder International Beijing Co Ltd
Priority to CN201510850329.1A priority Critical patent/CN106815225B/en
Publication of CN106815225A publication Critical patent/CN106815225A/en
Application granted granted Critical
Publication of CN106815225B publication Critical patent/CN106815225B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • 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/0242Determining effectiveness of advertisements
    • G06Q30/0244Optimization
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Databases & Information Systems (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Floating advertisement treatment and the method and device of display the embodiment of the invention discloses a kind of media interface.The method includes:After receiving the access request to media interface, the metadata of each interface zone of media interface and the metadata of floating advertisement are obtained;The region Leakage in Value value of each interface zone is calculated, and determines that Leakage in Value value maximum interface zone in region is target interface region;According to the positional information and area size in target interface region, and floating advertisement positional information and area size, judge to float whether advertisement has common factor with the target interface region;If there is common factor, the positional information for floating advertisement is revised as so that floating advertisement is with target interface region without the positional information occured simultaneously;The metadata of metadata and the amended floating advertisement according to each interface zone for obtaining, carries out the display of the media interface.So, topmost content would not be covered by floating advertisement, realize the complete display of the content.

Description

A kind of floating advertisement treatment of media interface and the method and device of display
Technical field
A kind of floating advertisement the present invention relates to the Internet media technical field, more particularly to media interface is processed With the method and device of display.
Background technology
The advertisement of the Internet media in recent years emerges in an endless stream, and has various floating advertisements on media interface (in media The advertisement that the interface the superiors show), and the position that floating advertisement on media interface shows is chaotic, easily By topmost content covering on media interface, the topmost content on media interface is caused completely to show Show.
The content of the invention
A kind of method that the purpose of the embodiment of the present invention is to provide the floating advertisement treatment and display of media interface And device, for solving because topmost interior on the chaotic caused media interface in position that floating advertisement shows The problem that appearance cannot completely show.
The purpose of the embodiment of the present invention is achieved through the following technical solutions:
A kind of method of the floating advertisement treatment and display of media interface, including:
After receiving the access request to media interface, the unit of each interface zone of the media interface is obtained Data and the metadata of floating advertisement;Wherein, the metadata of the interface zone at least includes interface zone Positional information and area size, the metadata of the floating advertisement at least includes the positional information of floating advertisement And area size;
The region Leakage in Value value of each interface zone is calculated, and determines the maximum interface of region Leakage in Value value Region is target interface region;
According to the positional information and area size in target interface region, and positional information and the area for floating advertisement Domain size, judges whether floating advertisement has common factor with the target interface region;
If there is common factor, the positional information for floating advertisement is revised as so that floating advertisement and the target Interface zone is without the positional information occured simultaneously;
The metadata of metadata and the amended floating advertisement according to each interface zone for obtaining, Carry out the display of the media interface.
It is preferred that the region Leakage in Value value of each interface zone is calculated, including:
According to the positional information and area size of each interface zone, determine the central point of the media interface with And the central point of each interface zone;
Calculate the central point of the interface zone and the distance value of the central point of the media interface;
Calculate interface zone weight of the interface zone in the media interface;
The product of the distance value and the interface zone weight is calculated, as region Leakage in Value value.
It is preferred that the positional information for floating advertisement is revised as so that floating advertisement and target circle Positional information of the face region without common factor, including:
In judging each interface zone, in addition to the target interface region, if domain of the existence size and institute State the adaptable interface zone of the area size of floating advertisement;
If it does, by float advertisement positional information be revised as so that it is described floating advertisement only with an institute Stating adaptable interface zone has the positional information of common factor;
Otherwise, by float advertisement positional information be revised as so that floating advertisement only with except the target interface Outside region, more than two interface zones of the media interface edge have the positional information of common factor.
It is preferred that the metadata of the interface zone also keyword including interface zone;The floating advertisement Metadata also include floating advertisement keyword;
Positional information, area size and keyword according to each interface zone, the position of the floating advertisement Information, area size and keyword, to the adaptable interface zone, calculate advertisement value quantized value;
The positional information for floating advertisement is revised as so that the floating advertisement is only described with one adaptable Interface zone has the positional information of common factor, including:
The positional information of the floating advertisement is revised as so that the floating advertisement only quantifies with advertisement value The maximum interface zone of value has the positional information of common factor.
It is preferred that positional information, area size and keyword according to each interface zone, the floating is wide The positional information of announcement, area size and keyword, to the adaptable interface zone, as follows Calculate advertisement value quantized value:
Calculate the keyword of the interface zone and the similarity of the keyword of the floating advertisement;
Calculate the area size of the interface zone and the Adaptation factor of the area size of the floating advertisement;
The product of the distance value and the first advertisement value weight, the similarity and the second advertisement value are weighed The sum of products of the product of weight, the Adaptation factor and the 3rd advertisement value weight, quantifies as advertisement value Value;Wherein, the first advertisement value weight, the second advertisement value weight and the 3rd advertisement valency Value weight and be 1.
A kind of floating advertisement treatment of media interface and the device of display, including:
Data obtaining module, is used for:After receiving the access request to media interface, the medium circle is obtained The metadata of each interface zone in face and the metadata of floating advertisement;Wherein, the unit of the interface zone Data at least positional information and area size including interface zone, the metadata of the floating advertisement are at least wrapped Include the positional information and area size of floating advertisement;
Target area determining module, is used for:The region Leakage in Value value of each interface zone is calculated, and is determined Leakage in Value value maximum interface zone in region is target interface region;
Common factor judge module, is used for:According to the positional information and area size in target interface region, and drift The positional information and area size of floating advertisement, judge whether floating advertisement has friendship with the target interface region Collection;
Positional information modified module, is used for:If there is common factor, the positional information for floating advertisement is revised as, made The floating advertisement and the target interface region are obtained without the positional information occured simultaneously;
Media interface display module, is used for:After metadata and modification according to each interface zone for obtaining The floating advertisement metadata, carry out the display of the media interface.
It is preferred that when calculating the region Leakage in Value value of each interface zone, the target area determining module, Specifically for:
According to the positional information and area size of each interface zone, determine the central point of the media interface with And the central point of each interface zone;
Calculate the central point of the interface zone and the distance value of the central point of the media interface;
Calculate interface zone weight of the interface zone in the media interface;
The product of the distance value and the interface zone weight is calculated, as region Leakage in Value value.
It is preferred that the positional information modified module, specifically for:
In judging each interface zone, in addition to the target interface region, if domain of the existence size and institute State the adaptable interface zone of the area size of floating advertisement;
If it does, by float advertisement positional information be revised as so that it is described floating advertisement only with an institute Stating adaptable interface zone has the positional information of common factor;
Otherwise, by float advertisement positional information be revised as so that floating advertisement only with except the target interface Outside region, more than two interface zones of the media interface edge have the positional information of common factor.
It is preferred that the metadata of the interface zone also keyword including interface zone;The floating advertisement Metadata also include floating advertisement keyword;
The device also includes advertisement value computing module, is used for:Positional information according to each interface zone, Area size and keyword, the positional information of the floating advertisement, area size and keyword, to the phase The interface zone of adaptation, calculates advertisement value quantized value;
The positional information for floating advertisement is revised as so that the floating advertisement is only described with one adaptable When interface zone has the positional information of common factor, the positional information modified module, specifically for:By the drift The positional information of floating advertisement is revised as so that floating advertisement interface only maximum with advertisement value quantized value There is the positional information of common factor in region.
It is preferred that the advertisement value computing module, specifically for;
Positional information, area size and keyword according to each interface zone, the position of the floating advertisement Information, area size and keyword, to the adaptable interface zone, calculate advertisement as follows Leakage in Value value:
Calculate the keyword of the interface zone and the similarity of the keyword of the floating advertisement;
Calculate the area size of the interface zone and the Adaptation factor of the area size of the floating advertisement;
The product of the distance value and the first advertisement value weight, the similarity and the second advertisement value are weighed The sum of products of the product of weight, the Adaptation factor and the 3rd advertisement value weight, quantifies as advertisement value Value;Wherein, the first advertisement value weight, the second advertisement value weight and the 3rd advertisement valency Value weight and be 1.
The embodiment of the present invention has the beneficial effect that:
A kind of floating advertisement treatment of media interface provided in an embodiment of the present invention and the method and device of display In, after receiving the access request to media interface, and non-immediate shows the media interface, but looks in advance To the interface zone that region Leakage in Value value is maximum, the region is usually topmost content institute on media interface Region, as target interface region, and because floating advertisement is the superiors in media interface, if should There is common factor in target interface region with floating advertisement, illustrates that topmost content is by floating advertisement institute on media interface Covering;At this moment, in scheme provided in an embodiment of the present invention, the positional information of advertisement will be floated, is revised as making Advertisement must be floated with target interface region without the positional information occured simultaneously, i.e. floating advertisement is moved to target circle Region outside the region of face.To floating advertisement by after above-mentioned pretreatment, on the media interface of final display, Topmost content would not be covered by floating advertisement, realize the complete display of the content, improve use Experience at family.
Brief description of the drawings
A kind of floating advertisement treatment of Fig. 1 media interfaces for the embodiment of the present invention is provided and the method flow of display Figure;
Fig. 2 is the media interface schematic diagram in the embodiment of the present invention;
Fig. 3 is the method flow diagram that a kind of region Leakage in Value value provided in an embodiment of the present invention is calculated;
Fig. 4 is a kind of method flow diagram of positional information modification for floating advertisement provided in an embodiment of the present invention;
Fig. 5 is the method flow diagram that a kind of advertisement value quantized value provided in an embodiment of the present invention is calculated;
Fig. 6 is the method for the floating advertisement treatment and display of another media interface provided in an embodiment of the present invention Flow chart;
Fig. 7 is that the device of floating advertisement treatment and the display of a kind of media interface provided in an embodiment of the present invention shows It is intended to.
Specific embodiment
With reference to the accompanying drawings and examples to the present invention provide a kind of media interface floating advertisement treatment and The method and device of display is illustrated in greater detail.
As shown in figure 1, the embodiment of the present invention provides a kind of side of the floating advertisement treatment and display of media interface Method, its specific implementation is as follows:
After step 110, the access request for receiving to media interface, each interface area of media interface is obtained The metadata in domain and the metadata of floating advertisement;Wherein, the metadata of interface zone at least includes interface area The positional information and area size in domain, float advertisement metadata at least include floating advertisement positional information and Area size.
Wherein, media interface can be, but not limited to be internet page.
Step 120, the region Leakage in Value value of each interface zone is calculated, and determine region Leakage in Value value Maximum interface zone is target interface region.
Wherein, Leakage in Value value in region reflects importance of the interface zone in whole media interface, region Leakage in Value value is bigger, and interface zone is more important in whole media interface;Region Leakage in Value value maximum Interface zone is the region where topmost content, it is believed that be target interface region.
Step 130, positional information and area size according to target interface region, and float the position of advertisement Confidence ceases and area size, judges whether floating advertisement has common factor with target interface region.
If step 140, having common factor, the positional information for floating advertisement is revised as so that floating advertisement and mesh Mark interface zone is without the positional information occured simultaneously.
Step 150, the metadata according to each interface zone for obtaining and the unit of amended floating advertisement Data, carry out the display of media interface.
In said process, if judging floating advertisement and target interface region without common factor, according to the interface for obtaining The metadata in region and the metadata of floating advertisement, carry out the display of media interface.
In the method for floating advertisement treatment and the display of a kind of media interface provided in an embodiment of the present invention, receive To after the access request to media interface, and non-immediate shows the media interface, but finds region valency in advance The maximum interface zone of value quantized value, the region is usually the area where topmost content on media interface Domain, as target interface region, and because floating advertisement is the superiors in media interface, if target circle There is common factor in face region with floating advertisement, illustrates that topmost content is covered by floating advertisement on media interface; At this moment, in scheme provided in an embodiment of the present invention, the positional information of advertisement will be floated, is revised as so that floating Advertisement is with target interface region without the positional information occured simultaneously, i.e. floating advertisement is moved into target interface region Outside region.It is main on the media interface of final display to floating advertisement by after above-mentioned pretreatment Content would not be covered by floating advertisement, realize the complete display of the content, improve Consumer's Experience.
In the present embodiment, the position of each interface zone of media interface to being got in above-mentioned steps 110 Information and area size, and the positional information and area size of floating advertisement are illustrated.Such as Fig. 2 It is shown, it is assumed that the upper left corner of media interface be the origin of coordinates (0,0), x-axis direction a length of 1, y-axis side To a length of 1, media interface is divided into n interface zone, and each interface zone is with the coordinate in the upper left corner Positional information, then the particular content obtained in step 110 is as follows:The positional information of interface zone 1 for (0, 0), area size is:The lx1 long in x-axis direction, the ly1 long in y-axis direction;The position letter of interface zone 2 It is (x2,0) to cease, and area size is:The lx2 long in x-axis direction, the ly2 long in y-axis direction;Interface zone 3 Positional information be (0, y3), area size is:The lx3 long in x-axis direction, the ly3 long in y-axis direction; The positional information of interface zone 4 is (x4, y4), and area size is:The lx4 long in x-axis direction, y-axis side To ly4 long;The positional information of interface zone 5 is (0, y5), and area size is:The lx5 long in x-axis direction, The ly5 long in y-axis direction;The positional information of interface zone 6 is (0, y6), and area size is:X-axis direction Lx6 long, the ly6 long in y-axis direction;…….;The positional information of interface zone n is (xn, yn), area Domain size is:The lxn long in x-axis direction, the lyn long in y-axis direction;The positional information of floating advertisement p for (xp, Yp), area size is:The lxp long in x-axis direction, the lyp long in y-axis direction.
Inventor realize it is of the invention during find, the center of interface zone nearer it is to media interface The position at center, its region value it is bigger, also, interface zone weight (area size of interface zone is accounted for The percentage of whole media interface) it is bigger, its region value is bigger.Therefore, in above-mentioned each embodiment, Can by the distance at interface zone center and media interface center, and/or interface zone weight (interface zone Area size accounts for the percentage of whole media interface) as reference factor, and then obtain the region of interface zone Leakage in Value value.Accordingly, a kind of implementation of above-mentioned steps 120, as shown in figure 3, its specific step It is rapid as follows:
Step 310, positional information and area size according to each interface zone, in determining media interface The central point of heart point and each interface zone.
By taking the media interface shown in Fig. 2 as an example, positional information and region according to each interface zone for obtaining Size, it is determined that media interface central point and each interface zone central point it is as follows:Media interface Central point is (1/2,1/2), and the central point of interface zone 1 is (lx1/2, ly1/2), interface zone 2 Central point is (x2+lx2/2, ly2/2), and the central point of interface zone 3 is (lx3/2, y3+ly3/2), boundary The central point in face region 4 is (x4+lx4/2, y4+ly4/2), the central point of interface zone 5 for (lx5/2, Y5+ly5/2), the central point of interface zone 6 is (lx6/2, y6+ly6/2);……;In interface zone n Heart point is (xn+lxn/2, yn+lyn/2).
The distance value of step 320, the central point of the central point and media interface of calculating interface zone.
The interface zone weight of step 330, calculating interface zone in media interface.
Step 340, the product for calculating distance value and interface zone weight, as region Leakage in Value value.
It is in the present embodiment, interface zone and the distance at the center of media interface, and interface zone weight is comprehensive Weigh the region value of interface zone altogether, so as to get region Leakage in Value value it is more accurate, really Fixed target interface region is also more accurate, it is achieved thereby that mobile floating advertisement exactly.
The above is only and a kind of of the implementation of step 120 is illustrated and non-limiting.Interface area can only be passed through The central point in domain weighs a region value for interface zone with the distance value of the central point of media interface, or Person only weighs a region value for interface zone by interface zone weight, to improve treatment effeciency.
In above-mentioned each embodiment, judge whether floating advertisement has common factor with target interface region in step 130 When, can be by the positional information and area size by advertisement is floated, the positional information with target interface region Contrasted to judge with area size.
It is assumed that the region indicated by the positional information and area size in target interface region:The model in x-axis direction It is [a, b] to enclose, and the scope in y-axis direction is [c, d];Float indicated by the positional information and area size of advertisement Region:The scope in x-axis direction is [a ', b '], and the scope in y-axis direction is [c ', d '].If [a, b] There is a common factor with [a ', b '], and/or [c, d] has common factor with [c ', d '], then explanation floating advertisement and target circle There is common factor in face region.
It is preferred that in above-mentioned each embodiment, as shown in figure 4, a kind of implementation of above-mentioned steps 140 Can be:
Step 410, each interface zone is judged, in addition to target interface region, if domain of the existence is big The small interface zone adaptable with the area size of floating advertisement, if it does, step 420 is performed, otherwise Perform step 430.
The deterministic process in the step is illustrated by taking the interface zone 1 shown in Fig. 2 as an example:Interface zone 1 area size is:The lx1 long in x-axis direction, the ly1 long in y-axis direction;The area size of floating advertisement p For:The lxp long in x-axis direction, the lyp long in y-axis direction;Judge whether x-axis direction lx1 be more than or Ly1 equal to lxp, and y-axis direction is more than or equal to lyp;If, it is believed that the region of interface zone 1 Size is adapted with the area size of floating advertisement, otherwise it is assumed that the area size of interface zone 1 and floating The area size of advertisement is incompatible.Wherein, area size of the area size of interface zone than floating advertisement It is bigger, it is believed that the two adaptable degree is higher.
Step 420, by float advertisement positional information be revised as so that floating advertisement only with an above-mentioned phase The interface zone of adaptation has the positional information of common factor.
In the step, can be by a positional information for above-mentioned adaptable interface zone, as amended Float the positional information of advertisement.Can also according to the other positions in an above-mentioned adaptable interface zone, The positional information of modification floating advertisement, as long as ensureing floating advertisement adaptable interface zone only above-mentioned with There is common factor.
Step 430, by float advertisement positional information be revised as so that floating advertisement only with except target interface Outside region, more than two interface zones of media interface edge have the positional information of common factor.
In the present embodiment, it is adapted by the area size to interface zone and the area size of floating advertisement The judgement of situation, will float advertisement and moves to an interface zone adaptable with the area size of floating advertisement In, this way it is secured that floating advertisement only covers an interface zone, will not to other interface zones Impact.If in addition, without the interface zone adaptable with the area size of floating advertisement, being moved To the edge of media interface, the generally content value in the edge of media interface is relatively low, and it is right to decrease The influence of the content of the display of media interface, improves Consumer's Experience.
In order to not influence the function of floating advertisement as far as possible, advertisement can be floated and move to an advertisement valency It is worth maximum interface zone.Knowable to above-mentioned related embodiment, the center of interface zone nearer it is to medium circle The position at the center in face, corresponding content is relatively more important, accordingly, it would be desirable to floating advertisement is avoided into this as far as possible The region of sample, in addition, inventor realize it is of the invention during find, area size and floating advertisement The adaptable degree (fitness) of area size is higher, and the content that interface zone shows is interior with floating advertisement Hold closer to the advertisement value of such interface zone is bigger, therefore, it can consider these factors To weigh an advertisement value for interface zone.
Wherein, the content of floating advertisement is embodied by floating the keyword of advertisement, and the content of interface zone is led to The keyword of interface zone is crossed to embody.
Therefore, the metadata of the above-mentioned interface zone also keyword including interface zone;Above-mentioned floating advertisement Metadata also includes the keyword of floating advertisement.Positional information, area size according to each interface zone and Keyword, floats positional information, area size and the keyword of advertisement, to above-mentioned adaptable interface zone, Calculate advertisement value quantized value.Accordingly, it is above-mentioned to be revised as the positional information for floating advertisement so that floating Advertisement adaptable interface zone only above-mentioned with has the positional information of common factor, specifically:
By float advertisement positional information be revised as so that floating advertisement only with above-mentioned advertisement value quantized value most Big interface zone has the positional information of common factor.
In the present embodiment, will float in the interface zone that advertisement moves to advertisement value maximum, ensure that most On the premise of main content intact shows, the function of floating advertisement is not interfered with again.
It is preferred that as shown in figure 5, positional information, area size and keyword according to each interface zone, Positional information, area size and the keyword of advertisement are floated, to above-mentioned adaptable interface zone, according to such as Under type calculates advertisement value quantized value:
The similarity of the keyword of step 510, the keyword for calculating interface zone and floating advertisement.
Wherein, the keyword of interface zone can with the specific calculation of the similarity of the keyword of floating advertisement With reference to prior art.
The Adaptation factor of the area size of step 520, the area size for calculating interface zone and floating advertisement.
Specifically, the area of note interface zone is Sb, the area for floating advertisement is Sa, Adaptation factor A=1-Sa/Sb.
When the area size of interface zone is incompatible with the area size of floating advertisement, Sb values It is Sa, therefore, A=0.
Step 530, by the product of above-mentioned distance value and the first advertisement value weight, above-mentioned similarity and second The sum of products of the product of advertisement value weight, above-mentioned Adaptation factor and the 3rd advertisement value weight, as wide Accuse Leakage in Value value;Wherein, the first advertisement value weight, the second advertisement value weight and the 3rd advertisement value Weight and be 1.
It is shared when the advertisement value of interface zone is weighed that first advertisement value weight indicates above-mentioned distance value Percentage;Second advertisement value weight indicates above-mentioned similarity when the advertisement value of interface zone is weighed Shared percentage;3rd advertisement value weight indicates above-mentioned Adaptation factor and is weighing the advertisement of interface zone Shared percentage during value.First advertisement value weight, the second advertisement value weight and the 3rd advertisement value Weight specific value, can be configured according to the actual needs.
Below by a specific embodiment, as shown in fig. 6, to a kind of matchmaker provided in an embodiment of the present invention The method of floating advertisement treatment and the display of body interface is described in more details.
When user sends access request to media interface, perform step 610, receive user to media interface Access request, performs step 620.
Step 620, by DOM Document Object Model (Docunment Object Model, DOM) parse matchmaker After body interface, the metadata of each interface zone of media interface and the metadata of floating advertisement are obtained;Its In, the metadata of interface zone at least the zone number including interface zone, positional information, area size and Keyword, the metadata of floating advertisement at least includes that the advertisement numbering of floating advertisement, positional information, region are big Small and keyword, performs step 630.
In the step, the metadata of the metadata of each interface zone of acquisition and floating advertisement can refer to Above-mentioned related embodiment, here is omitted.
Step 630, positional information and area size according to each interface zone, in determining media interface The central point of heart point and each interface zone;Calculate the central point of interface zone and the central point of media interface Distance value B;Calculate interface zone weight of the interface zone in media interface;Calculate distance value B and boundary The product of face region weight, as region Leakage in Value value, and stores in the metadata of interface zone, holds Row step 640.
Step 640, the region Leakage in Value value according to calculating in step 630, determine region Leakage in Value value Maximum interface zone is target interface region, performs step 650.
Step 650, positional information and area size that advertisement will be floated, the position letter with target interface region Breath and area size are contrasted, and judge whether floating advertisement has common factor with target interface region, if there is common factor, Step 660 is performed, step 6120 is otherwise performed.
Step 660, each interface zone is judged, in addition to target interface region, if domain of the existence is big The small interface zone adaptable with the area size of floating advertisement, if in the presence of, step 670 is performed, otherwise hold Row step 6100.
The specific judgment mode of the step can be found in above-mentioned related embodiment.
Step 670, the positional information according to each interface zone, area size and keyword, float advertisement Positional information, area size and keyword, to above-mentioned adaptable interface zone, calculate advertisement value amount Change value, and store in the metadata of interface zone, perform step 680.
Specifically, calculating the keyword of interface zone and the similarity (being designated as K) of the keyword of floating advertisement; Calculate the area size of interface zone and the Adaptation factor A of the area size of floating advertisement;By above-mentioned distance value The product of (being designated as B) and the first advertisement value weight (being designated as W1), above-mentioned similarity K are wide with second The product of value weight (being designated as W2), above-mentioned Adaptation factor A is accused (to be designated as with the 3rd advertisement value weight W3 the sum of products (being designated as V)), used as advertisement value quantized value, formula is expressed as follows:
V=W1B+W2K+W3A (1)
In the present embodiment, W1 values are that 0.5, W2 values are that 0.4, W3 values are 0.1.
Step 680, the advertisement value quantized value according to calculating in step 670, determine advertisement value quantized value Maximum interface zone, performs step 690.
Step 690, by DOM technologies by float advertisement positional information be revised as so that floating advertisement Interface zone only maximum with above-mentioned advertisement value quantized value has the positional information of common factor, performs step 6110.
In the step, can be using the positional information of the maximum interface zone of above-mentioned advertisement value quantized value as repairing The positional information of the floating advertisement after changing.
Step 6100, by DOM technologies by float advertisement positional information be revised as so that floating advertisement Only with addition to target interface region, more than two interface zones of media interface edge have the position of common factor Confidence ceases, and performs step 6110.
In the step, can be using media interface edge positional information for interface zone as after modification Floating advertisement positional information.
Step 6110, the metadata according to each interface zone for obtaining and the unit of amended floating advertisement Data, carry out the display of media interface.
The metadata of step 6120, the metadata according to each interface zone for obtaining and floating advertisement, enters The display of row media interface.
Based on same inventive concept, as shown in fig. 7, the embodiment of the present invention provides a kind of drift of media interface Floating advertisement treatment and the device of display, including data obtaining module 701, target area determining module 702, Common factor judge module 703, positional information modified module 704 and media interface display module 705.
Data obtaining module 701, is used for:After receiving the access request to media interface, medium circle is obtained The metadata of each interface zone in face and the metadata of floating advertisement;Wherein, the metadata of interface zone At least positional information and area size including interface zone, float the metadata of advertisement at least including floating extensively The positional information and area size of announcement;
Target area determining module 702, is used for:The region Leakage in Value value of each interface zone is calculated, and Determine that Leakage in Value value maximum interface zone in region is target interface region;
Common factor judge module 703, is used for:According to the positional information and area size in target interface region, with And the positional information and area size of floating advertisement, judge whether floating advertisement has friendship with target interface region Collection;
Positional information modified module 704, is used for:If there is common factor, the positional information for floating advertisement is revised as, So that floating advertisement and positional information of the target interface region without common factor;
Media interface display module 705, is used for:According to obtain each interface zone metadata and repair The metadata of the floating advertisement after changing, carries out the display of media interface.
In the method for floating advertisement treatment and the display of a kind of media interface provided in an embodiment of the present invention, receive To after the access request to media interface, and non-immediate shows the media interface, but finds region valency in advance The maximum interface zone of value quantized value, the region is usually the area where topmost content on media interface Domain, as target interface region, and because floating advertisement is the superiors in media interface, if target circle There is common factor in face region with floating advertisement, illustrates that topmost content is covered by floating advertisement on media interface; At this moment, in scheme provided in an embodiment of the present invention, the positional information of advertisement will be floated, is revised as so that floating Advertisement is with target interface region without the positional information occured simultaneously, i.e. floating advertisement is moved into target interface region Outside region.It is main on the media interface of final display to floating advertisement by after above-mentioned pretreatment Content would not be covered by floating advertisement, realize the complete display of the content, improve Consumer's Experience.
It is preferred that when calculating the region Leakage in Value value of each interface zone, target area determining module 702, Specifically for:
According to the positional information and area size of each interface zone, the central point of media interface and each is determined The central point of individual interface zone;
Calculate the distance value of the central point of interface zone and the central point of media interface;
Calculate interface zone weight of the interface zone in media interface;
The product of distance value and interface zone weight is calculated, as region Leakage in Value value.
It is preferred that positional information modified module 704, specifically for:
In judging each interface zone, in addition to target interface region, if domain of the existence size is wide with floating The adaptable interface zone of the area size of announcement;
If it does, by float advertisement positional information be revised as so that floating advertisement only with an above-mentioned phase The interface zone of adaptation has the positional information of common factor;
Otherwise, by float advertisement positional information be revised as so that floating advertisement only with except target interface region Outside, more than two interface zones of media interface edge have the positional information of common factor.
It is preferred that the metadata of the interface zone also keyword including interface zone;Float the metadata of advertisement Also include the keyword of floating advertisement;
The device also includes advertisement value computing module, is used for:Positional information according to each interface zone, Area size and keyword, float positional information, area size and the keyword of advertisement, are adapted to above-mentioned Interface zone, calculate advertisement value quantized value;
The positional information for floating advertisement is revised as so that floating advertisement adaptable interface only above-mentioned with When there is the positional information of common factor in region, positional information modified module 704, specifically for:Advertisement will be floated Positional information is revised as so that floating advertisement interface zone only maximum with advertisement value quantized value has common factor Positional information.
It is preferred that advertisement value computing module, specifically for;
Positional information, area size and keyword according to each interface zone, the positional information of floating advertisement, Area size and keyword, to above-mentioned adaptable interface zone, calculate advertisement value amount as follows Change value:
Calculate the keyword of interface zone and the similarity of the keyword of floating advertisement;
Calculate the area size of interface zone and the Adaptation factor of the area size of floating advertisement;
The product of above-mentioned distance value and the first advertisement value weight, above-mentioned similarity and the second advertisement value are weighed The sum of products of the product of weight, above-mentioned Adaptation factor and the 3rd advertisement value weight, quantifies as advertisement value Value;Wherein, the first advertisement value weight, the second advertisement value weight and the 3rd advertisement value weight and be 1。
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or knot Close the form of the embodiment in terms of software and hardware.And, the present invention can be used and wherein wrapped at one or more Containing computer usable program code computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) on implement computer program product form.
The present invention is produced with reference to method according to embodiments of the present invention, equipment (system) and computer program The flow chart and/or block diagram of product is described.It should be understood that can by computer program instructions realize flow chart and / or block diagram in each flow and/or the flow in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions to all-purpose computer, special-purpose computer, insertion can be provided The processor of formula processor or other programmable data processing devices is producing a machine so that by calculating The instruction of the computing device of machine or other programmable data processing devices is produced for realizing in flow chart one The device of the function of being specified in individual flow or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or the treatment of other programmable datas to set In the standby computer-readable memory for working in a specific way so that storage is in the computer-readable memory Instruction produce include the manufacture of command device, the command device realization in one flow of flow chart or multiple The function of being specified in one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices, made Obtain and series of operation steps is performed on computer or other programmable devices to produce computer implemented place Reason, so as to the instruction performed on computer or other programmable devices is provided for realizing in flow chart one The step of function of being specified in flow or multiple one square frame of flow and/or block diagram or multiple square frames.
, but those skilled in the art once know base although preferred embodiments of the present invention have been described This creative concept, then can make other change and modification to these embodiments.So, appended right will Ask and be intended to be construed to include preferred embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without deviating from this hair to the present invention Bright spirit and scope.So, if it is of the invention these modification and modification belong to the claims in the present invention and Within the scope of its equivalent technologies, then the present invention is also intended to comprising these changes and modification.

Claims (10)

1. the method that a kind of floating advertisement of media interface is processed and shown, it is characterised in that including:
After receiving the access request to media interface, the unit of each interface zone of the media interface is obtained Data and the metadata of floating advertisement;Wherein, the metadata of the interface zone at least includes interface zone Positional information and area size, the metadata of the floating advertisement at least includes the positional information of floating advertisement And area size;
The region Leakage in Value value of each interface zone is calculated, and determines the maximum interface of region Leakage in Value value Region is target interface region;
Positional information and the area of positional information and area size and floating advertisement according to target interface region Domain size, judges whether floating advertisement has common factor with the target interface region;
If there is common factor, the positional information for floating advertisement is revised as so that floating advertisement and the target Interface zone is without the positional information occured simultaneously;
The metadata of metadata and the amended floating advertisement according to each interface zone for obtaining, Carry out the display of the media interface.
2. method according to claim 1, it is characterised in that calculate the region of each interface zone Leakage in Value value, including:
According to the positional information and area size of each interface zone, determine the central point of the media interface with And the central point of each interface zone;
Calculate the central point of the interface zone and the distance value of the central point of the media interface;
Calculate interface zone weight of the interface zone in the media interface;
The product of the distance value and the interface zone weight is calculated, as region Leakage in Value value.
3. method according to claim 1 and 2, it is characterised in that the position letter of advertisement will be floated Breath is revised as so that the floating advertisement and positional information of the target interface region without common factor, including:
In judging each interface zone, in addition to the target interface region, if domain of the existence size and institute State the adaptable interface zone of the area size of floating advertisement;
If it does, by float advertisement positional information be revised as so that it is described floating advertisement only with an institute Stating adaptable interface zone has the positional information of common factor;
Otherwise, by float advertisement positional information be revised as so that floating advertisement only with except the target interface Outside region, more than two interface zones of the media interface edge have the positional information of common factor.
4. method according to claim 3, it is characterised in that the metadata of the interface zone is also Keyword including interface zone;The metadata of the floating advertisement also includes the keyword of floating advertisement;
Positional information, area size and keyword according to each interface zone, the position of the floating advertisement Information, area size and keyword, to the adaptable interface zone, calculate advertisement value quantized value;
The positional information for floating advertisement is revised as so that the floating advertisement is only described with one adaptable Interface zone has the positional information of common factor, including:
The positional information of the floating advertisement is revised as so that the floating advertisement only quantifies with advertisement value The maximum interface zone of value has the positional information of common factor.
5. method according to claim 4, it is characterised in that according to the position of each interface zone Information, area size and keyword, the positional information of the floating advertisement, area size and keyword are right The adaptable interface zone, calculates advertisement value quantized value as follows:
Calculate the keyword of the interface zone and the similarity of the keyword of the floating advertisement;
Calculate the area size of the interface zone and the Adaptation factor of the area size of the floating advertisement;
The product of the distance value and the first advertisement value weight, the similarity and the second advertisement value are weighed The sum of products of the product of weight, the Adaptation factor and the 3rd advertisement value weight, quantifies as advertisement value Value;Wherein, the first advertisement value weight, the second advertisement value weight and the 3rd advertisement valency Value weight and be 1.
6. the device that a kind of floating advertisement of media interface is processed and shown, it is characterised in that including:
Data obtaining module, is used for:After receiving the access request to media interface, the medium circle is obtained The metadata of each interface zone in face and the metadata of floating advertisement;Wherein, the unit of the interface zone Data at least positional information and area size including interface zone, the metadata of the floating advertisement are at least wrapped Include the positional information and area size of floating advertisement;
Target area determining module, is used for:The region Leakage in Value value of each interface zone is calculated, and is determined Leakage in Value value maximum interface zone in region is target interface region;
Common factor judge module, is used for:According to the positional information and area size in target interface region, and drift The positional information and area size of floating advertisement, judge whether floating advertisement has friendship with the target interface region Collection;
Positional information modified module, is used for:If there is common factor, the positional information for floating advertisement is revised as, made The floating advertisement and the target interface region are obtained without the positional information occured simultaneously;
Media interface display module, is used for:After metadata and modification according to each interface zone for obtaining The floating advertisement metadata, carry out the display of the media interface.
7. device according to claim 6, it is characterised in that calculate the region of each interface zone During Leakage in Value value, the target area determining module, specifically for:
According to the positional information and area size of each interface zone, determine the central point of the media interface with And the central point of each interface zone;
Calculate the central point of the interface zone and the distance value of the central point of the media interface;
Calculate interface zone weight of the interface zone in the media interface;
The product of the distance value and the interface zone weight is calculated, as region Leakage in Value value.
8. the device according to claim 6 or 7, it is characterised in that the positional information changes mould Block, specifically for:
In judging each interface zone, in addition to the target interface region, if domain of the existence size and institute State the adaptable interface zone of the area size of floating advertisement;
If it does, by float advertisement positional information be revised as so that it is described floating advertisement only with an institute Stating adaptable interface zone has the positional information of common factor;
Otherwise, by float advertisement positional information be revised as so that floating advertisement only with except the target interface Outside region, more than two interface zones of the media interface edge have the positional information of common factor.
9. device according to claim 8, it is characterised in that the metadata of the interface zone is also Keyword including interface zone;The metadata of the floating advertisement also includes the keyword of floating advertisement;
The device also includes advertisement value computing module, is used for:Positional information according to each interface zone, Area size and keyword, the positional information of the floating advertisement, area size and keyword, to the phase The interface zone of adaptation, calculates advertisement value quantized value;
The positional information for floating advertisement is revised as so that the floating advertisement is only described with one adaptable When interface zone has the positional information of common factor, the positional information modified module, specifically for:By the drift The positional information of floating advertisement is revised as so that floating advertisement interface only maximum with advertisement value quantized value There is the positional information of common factor in region.
10. device according to claim 9, it is characterised in that the advertisement value computing module, Specifically for;
Positional information, area size and keyword according to each interface zone, the position of the floating advertisement Information, area size and keyword, to the adaptable interface zone, calculate advertisement as follows Leakage in Value value:
Calculate the keyword of the interface zone and the similarity of the keyword of the floating advertisement;
Calculate the area size of the interface zone and the Adaptation factor of the area size of the floating advertisement;
The product of the distance value and the first advertisement value weight, the similarity and the second advertisement value are weighed The sum of products of the product of weight, the Adaptation factor and the 3rd advertisement value weight, quantifies as advertisement value Value;Wherein, the first advertisement value weight, the second advertisement value weight and the 3rd advertisement valency Value weight and be 1.
CN201510850329.1A 2015-11-27 2015-11-27 Method and device for processing and displaying floating advertisements on media interface Active CN106815225B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510850329.1A CN106815225B (en) 2015-11-27 2015-11-27 Method and device for processing and displaying floating advertisements on media interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510850329.1A CN106815225B (en) 2015-11-27 2015-11-27 Method and device for processing and displaying floating advertisements on media interface

Publications (2)

Publication Number Publication Date
CN106815225A true CN106815225A (en) 2017-06-09
CN106815225B CN106815225B (en) 2020-09-04

Family

ID=59155486

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510850329.1A Active CN106815225B (en) 2015-11-27 2015-11-27 Method and device for processing and displaying floating advertisements on media interface

Country Status (1)

Country Link
CN (1) CN106815225B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109727051A (en) * 2017-10-31 2019-05-07 腾讯科技(深圳)有限公司 Exposure calculation method, device and readable medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101320369A (en) * 2007-06-06 2008-12-10 新部广告公司 Method and system for inserting targeted data in available spaces of a webpage
US20110161998A1 (en) * 2009-12-31 2011-06-30 Motorola, Inc. Systems and Methods Providing Content on a Display Based Upon Facial Recognition of a Viewer
US20110231265A1 (en) * 2006-07-21 2011-09-22 Say Media, Inc. Non-expanding interactive advertisement
KR20130041447A (en) * 2011-10-17 2013-04-25 박질선 The method and the system for advertiser's ad appliance by the online
CN104021158A (en) * 2014-05-23 2014-09-03 北京金山网络科技有限公司 Method and device for adjusting webpage elements in webpage and mobile terminal
CN104182505A (en) * 2014-08-19 2014-12-03 小米科技有限责任公司 Webpage rearrangement method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110231265A1 (en) * 2006-07-21 2011-09-22 Say Media, Inc. Non-expanding interactive advertisement
CN101320369A (en) * 2007-06-06 2008-12-10 新部广告公司 Method and system for inserting targeted data in available spaces of a webpage
US20110161998A1 (en) * 2009-12-31 2011-06-30 Motorola, Inc. Systems and Methods Providing Content on a Display Based Upon Facial Recognition of a Viewer
KR20130041447A (en) * 2011-10-17 2013-04-25 박질선 The method and the system for advertiser's ad appliance by the online
CN104021158A (en) * 2014-05-23 2014-09-03 北京金山网络科技有限公司 Method and device for adjusting webpage elements in webpage and mobile terminal
CN104182505A (en) * 2014-08-19 2014-12-03 小米科技有限责任公司 Webpage rearrangement method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109727051A (en) * 2017-10-31 2019-05-07 腾讯科技(深圳)有限公司 Exposure calculation method, device and readable medium
WO2019085906A1 (en) * 2017-10-31 2019-05-09 腾讯科技(深圳)有限公司 Exposure calculation method and device, terminal, and readable storage medium

Also Published As

Publication number Publication date
CN106815225B (en) 2020-09-04

Similar Documents

Publication Publication Date Title
RU2011135186A (en) METHODS AND SYSTEMS FOR DIAGNOSTIC AND TREATMENT OF A CERTAIN CONDITION AND METHODS OF APPLICATION OF SUCH SYSTEMS
CN107168539A (en) A kind of equipment awakening method, device and electronic equipment
US20150088462A1 (en) Hardware performance evaluation method and server
CN104517092B (en) A kind of detection method and system of QR codes correction graph
CN102147655B (en) Display control method on electronic display equipment and electronic display equipment
CN104571604A (en) Information processing apparatus and method
CN107908810B (en) Construction management method based on BIM model and mobile positioning technology
CN107608508A (en) A kind of information processing method and electronic equipment
CN105892632A (en) Method and device for judging the selection of UI (User Interface) widgets of virtual reality application
CN109500821A (en) Quadruped robot lands sufficient force distribution method, device, terminal and computer readable storage medium
CN106895852A (en) A kind of positioning precision appraisal procedure and device
CN106815225A (en) A kind of floating advertisement treatment of media interface and the method and device of display
CN110457224A (en) Generate the method and device of test data
CN104102357B (en) 3D model checking methods and device in a kind of virtual scene
US11661278B2 (en) Warehousing/shipping-operation support system, warehousing/shipping-operation support method, and nontransitory computer-readable medium
CN103854026B (en) A kind of recognition methods and electronic equipment
CN100481129C (en) Method for detecting real-time conflict of deformed bodies in virtual operation system
CN110490165A (en) A kind of dynamic hand tracking method based on convolutional neural networks
CN104782197A (en) Method and device for positioning location of terminal
CN107904794B (en) Method for platemaking, device, readable storage medium storing program for executing and the sewing machine of sewing machine
CN106445083A (en) Gravity sensing data correction method and system
CN109781144A (en) Data correcting method, device, electronic equipment and computer readable storage medium
CN104112056B (en) The fault detection method and system of data processing
CN104239199B (en) Generation method, automated testing method and the relevant apparatus of virtual robot
JP6849803B2 (en) Rest state determination method and device

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

Effective date of registration: 20240119

Address after: Room 1120, 11th Floor, Building 3, Courtyard 3, Jinguan North Second Street, Shunyi District, Beijing, 101300

Patentee after: Beijing Zhiwen Artificial Intelligence Software Technology Co.,Ltd.

Address before: 100080, Beijing City, Haidian District, No. 52 West Fourth Ring Road, SMIC building 19

Patentee before: Founder International Co.,Ltd. (Beijing)

TR01 Transfer of patent right