CN106227737B - Quickly generate advertising pictures platform - Google Patents

Quickly generate advertising pictures platform Download PDF

Info

Publication number
CN106227737B
CN106227737B CN201610542666.9A CN201610542666A CN106227737B CN 106227737 B CN106227737 B CN 106227737B CN 201610542666 A CN201610542666 A CN 201610542666A CN 106227737 B CN106227737 B CN 106227737B
Authority
CN
China
Prior art keywords
advertising pictures
attribute
advertising
pictures
mouse
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610542666.9A
Other languages
Chinese (zh)
Other versions
CN106227737A (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.)
Advertising Co Ltd Beijing Creative Cube
Original Assignee
Advertising Co Ltd Beijing Creative Cube
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 Advertising Co Ltd Beijing Creative Cube filed Critical Advertising Co Ltd Beijing Creative Cube
Priority to CN201610542666.9A priority Critical patent/CN106227737B/en
Publication of CN106227737A publication Critical patent/CN106227737A/en
Application granted granted Critical
Publication of CN106227737B publication Critical patent/CN106227737B/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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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/0276Advertisement creation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention proposes one kind to quickly generate advertising pictures platform, includes the following steps: to obtain multiple advertising pictures that user uploads;According to the attribute data of multiple advertising pictures, corresponding advertising pictures attribute database is created;According to the attribute of each advertising pictures, different elements group is created;The different conditions for monitoring mouse, in modified elements group while an advertising pictures attribute in batch modification element group other advertising pictures attribute, and be uploaded to server parsing and storage;According to server to element group data parse as a result, arrange all combinations produced by element, ultimately produce advertising pictures.Of the invention quickly generates advertising pictures platform, by establishing element group, modifies in batches to the advertising pictures attribute in element group, to complete advertising pictures creative mix, quickly generates more editions advertising creatives.

Description

Quickly generate advertising pictures platform
Technical field
The present invention relates to technical field of advertisement, in particular to one kind quickly generates advertising pictures platform.
Background technique
At present in the advertising creative manufacturing system of industry, mainly by Flash and SVG (scalable vector graphics), come At view synthesis, and canvas (painting canvas technology) is pixel rendering one by one, more efficient, also more flexible.
And single advertising pictures or more size advertising pictures can only be handled in industry mostly, and need to make a large amount of When advertising creative.These platforms are not provided with these functions.
Such as the patent of invention of Chinese patent CN10413395 A, which provides a kind of method and dress for handling advertising pictures It sets, however, the method for the processing advertising pictures of the invention can only handle single advertising pictures or more size advertisement figures mostly Piece, and when needing to make mass advertising intention.These platforms are not provided with these functions.
Summary of the invention
The purpose of the present invention aims to solve at least one of described technological deficiency.
For this purpose, it is an object of the invention to propose that a kind of advertising pictures that quickly generate for being capable of handling multiple advertising pictures are put down Platform.
To achieve the goals above, the present invention provides one kind and quickly generates advertising pictures platform, includes the following steps:
Step S1 obtains multiple advertising pictures that user uploads, and creates advertising pictures set, captures in advertising pictures set All advertising pictures attribute informations;
Step S2 creates corresponding advertising pictures attribute database according to the attribute information of multiple advertising pictures;
Step S3 creates different elements group according to the attribute of each advertising pictures;
Step S4 monitors the different conditions of mouse, batch modification while an advertising pictures attribute in modified elements group The attribute of other advertising pictures in element group, and it is uploaded to server parsing and storage;
Step S5, according to server to element group data parse as a result, to produced by the element between different elements group All combinations are arranged, and advertising pictures are ultimately produced.
Preferably, in step sl, the information that after all advertising pictures information, will be captured in advertising pictures set is captured It is uploaded to server, and is stored.
Preferably, in step s 2, the attribute data of the advertising pictures includes at least: type, number, physical resource road Width, height, center point coordinate after diameter, starting point coordinate, width, height, scaling, rotation angle, scaling.
Preferably, in step s 4, by calculating 4 points of rectangle of advertising pictures angles between mouse focus and being Whether no be 360 degree to determine the current focus of mouse on advertising pictures;
When being equal to 360 degree, current mouse is on advertising pictures;
When being not equal to 360 degree, current mouse is not on advertising pictures;
Formula is as follows:
Wherein, A, B, C, D are 4 points of rectangle of advertising pictures, and P is mouse focus.
Preferably, the attribute of each advertising pictures includes at least in modified elements group: modifying the rotation of each advertising pictures Angle, transverse and longitudinal moving distance, scaling, addition text effects, moving advertising picture character position.
Preferably, it is calculated by the angle of calculating mouse Mobile Termination point and starting point and the central point of advertising pictures Advertising pictures rotate angle;
Calculation formula is as follows: ∠ POP '=arctan (| PO |/| P ' O |)
Wherein, P is the mobile starting point of mouse, and P ' is the mobile terminating point of mouse, and O is the central point of advertising pictures.
Preferably, by calculating the record of mouse displacement, with rotation angle, the transverse and longitudinal for calculating advertising pictures central point is mobile Distance.
Preferably, by calculating angle special case, different angle pantography ratio is completed using trigonometric function and is calculated, then according to According to mouse point, center point coordinate, advertising pictures recovery is carried out.
Preferably, in step s 4, in modified elements group while an advertising pictures attribute in batch modification element group The step of attribute of other advertising pictures, is as follows:
Firstly, every advertising pictures in element group are carried out serial number, arranged model is set up, different elements group is listed Between element all arrangements may;
Then, advertising pictures in element group are extracted by model sequence to be synthesized;It is only by default if it is single element Vertical element group;
Then, one mode is taken to carry out element extraction according to element group, when the category of an advertising pictures in modified elements group Property, then the corresponding attribute of other advertising pictures is also modified in element group;
It is finally completed advertising pictures batch modification.
Of the invention quickly generates advertising pictures platform, by establishing element group, in batches to the advertising pictures in element group Attribute is modified, and to complete advertising pictures creative mix, quickly generates more editions advertising creatives.Intention shows method, passes through Component models, element group are established, element operation method completes real-time advertising pictures intention preview.By to element set of pieces Sequence extracts, to complete the generation of more editions advertising creatives.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect of the invention and advantage will become from the description of the embodiment in conjunction with the following figures Obviously and it is readily appreciated that, in which:
Fig. 1 is flow chart of the invention;
Fig. 2 be mouse of the invention whether the calculating schematic diagram on advertising pictures;
Fig. 3 is that advertising pictures of the invention rotate angle calculation schematic diagram.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
The present invention provides one kind and quickly generates advertising pictures platform, with reference to attached drawing 1, includes the following steps:
Step S1 obtains multiple advertising pictures that user uploads, and creates advertising pictures set, captures in advertising pictures set All advertising pictures attribute informations;
In capture advertising pictures set after all advertising pictures information, the information captured is uploaded to server, is gone forward side by side Row storage (data attribute etc. is stored into database, and advertising pictures resource is stored into server hard disc).
Step S2 creates corresponding advertising pictures attribute database according to the attribute information of multiple advertising pictures;
The attribute data of advertising pictures includes at least: type, number, physical resource path, starting point coordinate, width, height Width, height, center point coordinate after degree, scaling, rotation angle, scaling.
Step S3 creates different elements group according to the attribute of each advertising pictures;
Step S4 monitors the different conditions of mouse, batch modification while an advertising pictures attribute in modified elements group The attribute of other advertising pictures in element group, and it is uploaded to server parsing and storage;
Wherein, by calculating 4 points of rectangle of advertising pictures angles between mouse focus and whether being 360 degree come true The current focus of mouse is determined whether on advertising pictures.
When being equal to 360 degree, current mouse is on advertising pictures;
When being not equal to 360 degree, current mouse is not on advertising pictures;
Formula is as follows:
Wherein, A, B, C, D are 4 points of rectangle of advertising pictures, and P is mouse focus, as shown in Figure 2.
In addition, the attribute of each advertising pictures includes at least in modified elements group: modifying the rotation angle of each advertising pictures Degree, transverse and longitudinal moving distance, scaling, addition text effects, moving advertising picture character position.
When advertising pictures carry out rotation angle modification in component library, first the position of primary advertising picture is carried out Storage, then by the change in location of angle after rotation angle contrast's original coordinates rotation, using slope formula, with Pythagorean theorem The calculating scaled after rotation is completed, the folder of calculating mouse Mobile Termination point and starting point and the central point of advertising pictures can be passed through Angle rotates angle to calculate advertising pictures, and then modifies attribute of the advertising pictures about rotation angle;
Calculation formula is as follows: ∠ POP '=arctan (| PO |/| P ' O |), (2)
Wherein, P is the mobile starting point of mouse, and P ' is the mobile terminating point of mouse, and O is the central point of advertising pictures, such as Shown in Fig. 3.
When advertising pictures carry out the modification of transverse and longitudinal moving distance in component library, by calculating the record of mouse displacement, with Angle is rotated, the transverse and longitudinal moving distance of advertising pictures central point is calculated, and then modifies advertising pictures about transverse and longitudinal moving distance Attribute.
When the zooming in and out modification of advertising pictures in component library, it is complete using trigonometric function by calculating angle special case It is calculated at different angle pantography ratio, then according to mouse point, center point coordinate, carries out advertising pictures recovery.
By graphics process library, effect processing is carried out to image, sketch obscures, gradual change etc..
By calculating the distribution for the pixel being rendered, which is calculated by model, side effect is retouched in completion.
By the way that painting canvas is carried out dot matrix conversion, by attribute (width, height, starting point A, central point, the scaling of advertising pictures Ratio, advertising pictures resource path etc.) modification, and painting canvas is repainted, complete the advertising pictures operation of mouse.
It is centered around the rotation angle of central point by calculating mouse, and advertising pictures are redrawn in painting canvas, completes rotation Operation.
Specific algorithm is as follows:
It obtains in mouse click coordinate A (set value) and postrotational coordinate points B (can acquired value) and advertising pictures Heart point O, learns its angle:
Length, and rotation angle are pulled away from original point by calculating mouse, mouse point of rotation front position is restored, calculates Original scale is obtained than upper original length with original point difference, is drawn according to initial point position.
In addition, other advertising pictures in batch modification element group while an advertising pictures attribute in modified elements group The step of attribute, is as follows:
Firstly, every advertising pictures in element group are carried out serial number, arranged model is set up, different elements group is listed Between element all arrangements may;
Then, advertising pictures in element group are extracted by model sequence to be synthesized;It is only by default if it is single element Vertical element group;
Then, one mode is taken to carry out element extraction according to element group, when the category of an advertising pictures in modified elements group Property, then the corresponding attribute of other advertising pictures is also modified in element group;
It is finally completed advertising pictures batch modification.
The present invention can also the advertising pictures to element group carry out binding canvas element, it is real by getting through unique element ID The binding of existing painting canvas and DOM node.
Step S5, according to server to element group data parse as a result, to produced by the element between different elements group All combinations are arranged, and advertising pictures are ultimately produced.
The present invention notifies server stores advertisement picture element data using Asynchronous Request.Server is received by receiving request Collect the data transmitted, is pre-processed and stored.
Working principle: the present invention obtains the advertising pictures (can be individual or multiple) of user's selection, by multiple advertisements Picture is placed in advertising pictures set, captures all advertising pictures information.And file is uploaded to server, to selected file into The storage of row data.The element that user selects is rendered in painting canvas, by modifying its attribute, completes dragging, the rotation of advertising pictures Turn, amplification, element such as are combined at the operation.There is element group concept in software, by arranged model, advertisement figure can be quickly generated Piece, all arrangements for listing the element currently selected may.Achieve the purpose that quickly generate advertising pictures.
Of the invention quickly generates advertising pictures platform, by establishing element group, in batches to the advertising pictures in element group Attribute is modified, and to complete advertising pictures creative mix, quickly generates more editions advertising creatives.Intention shows method, passes through Component models, element group are established, element operation method completes real-time advertising pictures intention preview.By to element set of pieces Sequence extracts, to complete the generation of more editions advertising creatives.
The present invention uses B/S framework, without downloading software, directly browses, reduces software download installation procedure, and propose A kind of concept of advertising pictures combination, completes Rapid Combination multiple advertising pictures.Ad production cost is greatly reduced, is promoted Drawing efficrence.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is not considered as limiting the invention, those skilled in the art are not departing from the principle of the present invention and objective In the case where can make changes, modifications, alterations, and variations to the above described embodiments within the scope of the invention.The scope of the present invention It is extremely equally limited by appended claims.

Claims (9)

1. one kind quickly generates advertising pictures platform, which comprises the steps of:
Step S1 obtains multiple advertising pictures that user uploads, and creates advertising pictures set, captures in advertising pictures set and own Advertising pictures attribute information;
Step S2 creates corresponding advertising pictures attribute database according to the attribute information of multiple advertising pictures;
Step S3 creates different elements group according to the attribute of each advertising pictures;
Step S4 monitors the different conditions of mouse, batch modification element while an advertising pictures attribute in modified elements group The attribute of other advertising pictures in group, and it is uploaded to server parsing and storage;
Step S5, according to server to element group data parse as a result, to produced by the element between different elements group own Combination is arranged, and advertising pictures are ultimately produced.
2. one kind as described in claim 1 quickly generates advertising pictures platform, it is characterised in that: in step sl, capture is wide In announcement picture set after all advertising pictures information, the information captured is uploaded to server, and stored.
3. one kind as described in claim 1 quickly generates advertising pictures platform, it is characterised in that: in step s 2, described wide The attribute data for accusing picture includes at least: type, number, physical resource path, starting point coordinate, width, height, pantograph ratio Example, rotation angle, height, center point coordinate after width, scaling after scaling.
4. one kind as described in claim 1 quickly generates advertising pictures platform, it is characterised in that: in step s 4, pass through meter Calculate 4 points of rectangle of advertising pictures angles between mouse focus and whether be 360 degree come determine mouse current focus whether On advertising pictures;
When being equal to 360 degree, current mouse is on advertising pictures;
When being not equal to 360 degree, current mouse is not on advertising pictures;
Formula is as follows:
Wherein, A, B, C, D are 4 points of rectangle of advertising pictures, and P is mouse focus.
5. one kind as described in claim 1 quickly generates advertising pictures platform, it is characterised in that: in step s 4, modification member The attribute of each advertising pictures includes at least in part group: modifying the rotation angle, transverse and longitudinal moving distance, scaling of each advertising pictures Ratio, addition text effects, moving advertising picture character position.
6. one kind as described in claim 1 quickly generates advertising pictures platform, it is characterised in that: in step s 4, pass through meter The angle of the central point of mouse Mobile Termination point and starting point and advertising pictures is calculated to calculate advertising pictures rotation angle;
Calculation formula is as follows: ∠ POP '=arctan (| PO |/| P ' O |)
Wherein, P is the mobile starting point of mouse, and P ' is the mobile terminating point of mouse, and O is the central point of advertising pictures.
7. one kind as described in claim 1 quickly generates advertising pictures platform, it is characterised in that: in step s 4, pass through meter The record for calculating mouse displacement calculates the transverse and longitudinal moving distance of advertising pictures central point with rotation angle.
8. one kind as described in claim 1 quickly generates advertising pictures platform, it is characterised in that: in step s 4, pass through meter Angle special case is calculated, different angle pantography ratio is completed using trigonometric function and calculates, then foundation mouse point, center point coordinate, Carry out advertising pictures recovery.
9. one kind as described in claim 1 quickly generates advertising pictures platform, it is characterised in that: in step s 4, modification member It is as follows the step of the attribute of other advertising pictures in batch modification element group while an advertising pictures attribute in part group:
Firstly, every advertising pictures in element group are carried out serial number, arranged model is set up, lists the current of user's selection All arrangements of element in element group may;
Then, advertising pictures in element group are extracted by model sequence to be synthesized;If it is single element, by default independent entry Part group;
Then, one mode is taken to carry out element extraction according to element group, when the attribute of an advertising pictures in modified elements group, then The corresponding attribute of other advertising pictures is also modified in element group;
It is finally completed advertising pictures batch modification.
CN201610542666.9A 2016-07-11 2016-07-11 Quickly generate advertising pictures platform Active CN106227737B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610542666.9A CN106227737B (en) 2016-07-11 2016-07-11 Quickly generate advertising pictures platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610542666.9A CN106227737B (en) 2016-07-11 2016-07-11 Quickly generate advertising pictures platform

Publications (2)

Publication Number Publication Date
CN106227737A CN106227737A (en) 2016-12-14
CN106227737B true CN106227737B (en) 2019-12-03

Family

ID=57519527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610542666.9A Active CN106227737B (en) 2016-07-11 2016-07-11 Quickly generate advertising pictures platform

Country Status (1)

Country Link
CN (1) CN106227737B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108388661A (en) * 2018-03-09 2018-08-10 北京搜狐新媒体信息技术有限公司 The generation method and system of advertising creative picture
CN109144651A (en) * 2018-08-27 2019-01-04 郑州云海信息技术有限公司 Hidden method, device, equipment and the medium of attribute information in a kind of schematic diagram
CN109636883A (en) * 2018-12-13 2019-04-16 珍岛信息技术(上海)股份有限公司 A kind of advertising pictures processing system based on Canvas

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103839224A (en) * 2012-11-26 2014-06-04 镇江京江软件园有限公司 Method for performing zoom process on batch pictures
CN105096241A (en) * 2015-07-28 2015-11-25 努比亚技术有限公司 Face image beautifying device and method
CN105874780A (en) * 2013-09-16 2016-08-17 汤姆逊许可公司 Method and apparatus for generating a text color for a group of images

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0508073D0 (en) * 2005-04-21 2005-06-01 Bourbay Ltd Automated batch generation of image masks for compositing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103839224A (en) * 2012-11-26 2014-06-04 镇江京江软件园有限公司 Method for performing zoom process on batch pictures
CN105874780A (en) * 2013-09-16 2016-08-17 汤姆逊许可公司 Method and apparatus for generating a text color for a group of images
CN105096241A (en) * 2015-07-28 2015-11-25 努比亚技术有限公司 Face image beautifying device and method

Also Published As

Publication number Publication date
CN106227737A (en) 2016-12-14

Similar Documents

Publication Publication Date Title
JP6494039B2 (en) Method and system for signal rich art
CN110531875B (en) Writing stroke generation method, terminal equipment and storage medium
US20230229881A1 (en) Dynamic embedding of machine-readable codes within video and digital media
CN110119700B (en) Avatar control method, avatar control device and electronic equipment
US20160050465A1 (en) Dynamically targeted ad augmentation in video
CN106227737B (en) Quickly generate advertising pictures platform
CN109948549B (en) OCR data generation method and device, computer equipment and storage medium
CN101925928A (en) Present the planar design on the curved surface that will be printed on three-dimensional objects
CN102385512A (en) Apparatus and method for providing augmented reality (AR) using a marker
US20150339276A1 (en) Systems and methods for producing custom designs using vector-based images
CN105930464B (en) Web rich media cross-screen adaptation method and device
CN104281864A (en) Method and equipment for generating two-dimensional codes
CN105447534A (en) Imaged-based information presenting method and device
US10389804B2 (en) Integration of content creation and sharing
US10249061B2 (en) Integration of content creation and sharing
KR960030040A (en) Method and apparatus for creating a single font and a generated font, method and apparatus for drawing a blood image
CN106878760B (en) Draw and parse the method and device of present
CN111667313A (en) Advertisement display method and device, client device and storage medium
KR101909994B1 (en) Method for providing 3d animating ar contents service using nano unit block
CN109522429A (en) Method and apparatus for generating information
CN110662099B (en) Method and device for displaying bullet screen
CN113486941A (en) Live image training sample generation method, model training method and electronic equipment
CN111127310B (en) Image processing method and device, electronic equipment and storage medium
CN110414471B (en) Video identification method and system based on double models
CN107145313A (en) Method for displaying image and device

Legal Events

Date Code Title Description
C06 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