CN108694210B - Template generation method and device - Google Patents
Template generation method and device Download PDFInfo
- Publication number
- CN108694210B CN108694210B CN201710233974.8A CN201710233974A CN108694210B CN 108694210 B CN108694210 B CN 108694210B CN 201710233974 A CN201710233974 A CN 201710233974A CN 108694210 B CN108694210 B CN 108694210B
- Authority
- CN
- China
- Prior art keywords
- pictures
- categories
- texts
- original template
- library
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0641—Shopping interfaces
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Processing Or Creating Images (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application provides a template generation method and a template generation device, wherein the method comprises the following steps: providing at least one of a picture library and a document library, wherein pictures corresponding to different types of purposes are stored in the picture library, and documents corresponding to different types of purposes are stored in the document library; acquiring original template data, wherein the original template data comprises element labels; identifying at least one of a picture and a file in the original template data according to the element tag; selecting pictures corresponding to different categories from the picture library and/or selecting documentations corresponding to different categories from the documentary library aiming at a plurality of given preset categories; and correspondingly replacing at least one of the pictures and the texts in the original template file by using at least one of the selected pictures and the texts to generate template files corresponding to the plurality of preset categories. According to the template file generation method and device, the template files corresponding to different types of purposes can be generated through original template data, and the technical problems of insufficient template file resources and uneven resource distribution can be solved.
Description
Technical Field
The present application relates to the field of electronic commerce technologies, and in particular, to a template generation method and apparatus.
Background
With the continuous development of the e-commerce technology, the shopping platform enables the life of people to become more and more convenient, and people can browse and buy required articles through the shopping platform. Generally, the shopping platform side obtains an advertisement file of a product to be advertised, and displays an image of some new product in the form of banner advertisement (banner) or the like in a web page using the advertisement file to attract a user to click an introduction and purchase page into the product.
The advertisement file is generated by a template file, and in the technical field of electronic commerce, some template providing platforms are also emerged and used for providing the template file for an advertiser to select the template file which accords with the product and the putting scene of the advertiser to generate the advertisement file. The template provides the source of the template file for the platform, usually provided by the template designer.
In the existing implementation, because of a plurality of product categories (such as women's clothing, men's clothing, shoes and bags, digital products, etc.), a template providing platform needs to provide more template files for different product categories so as to meet the requirements of different advertisers. However, in the existing implementation, because the template designer has insufficient resources or the designed template files are gathered in some product categories, the staff of the template files is insufficient, and there may be more template files for some categories or delivery scenes and less template files for some categories or delivery scenes, so that the problem of resource maldistribution also exists. How to provide more template file resources aiming at different product categories and putting scenes becomes a template providing platform and needs to solve the technical problem urgently.
Disclosure of Invention
In order to overcome the problems in the related art, the application provides a template generation method and a template generation device.
The embodiment of the application provides a template generation method, which comprises the following steps:
providing at least one of a picture library and a document library, wherein pictures corresponding to different types of purposes are stored in the picture library, and documents corresponding to different types of purposes are stored in the document library;
acquiring original template data, wherein the original template data comprises element labels;
identifying at least one of a picture and a file in the original template data according to the element tag;
selecting pictures corresponding to different categories from the picture library and/or selecting documentations corresponding to different categories from the documentary library aiming at a plurality of given preset categories;
and correspondingly replacing at least one of the pictures and the texts in the original template file by using at least one of the selected pictures and the texts to generate template files corresponding to the plurality of preset categories.
In an optional implementation manner, the format of the raw template data is an SVG format, and the identifying at least one of a picture and a document in the raw template data according to the element tag includes:
identifying a picture in the original template data through an image element tag in the original template data, and/or identifying a pattern in the original template data through a text element tag in the original template data.
In an optional implementation manner, the generating a template file corresponding to the plurality of preset categories by using at least one of the selected pictures and the selected documents to correspondingly replace at least one of the pictures and the documents in the original template file includes:
deleting at least one of the pictures and the texts in the original template data to obtain an original template frame;
adjusting the size of the original template frame according to the sizes of a plurality of preset templates to obtain template frames which are adaptive to different sizes of the preset templates;
determining the adding positions of the pictures and the texts in the obtained template frame according to the distribution positions of the pictures and the texts in the original template data;
and adjusting the size of at least one of the selected pictures and the selected texts according to the size of the adding position, and then adding the adjusted pictures and the selected texts to each obtained template frame to generate a plurality of template files with different sizes and corresponding to the plurality of preset categories.
In an optional implementation, the method further includes:
determining a composition type for indicating the distribution positions of the pictures and the texts according to the distribution positions of the pictures and the texts in the original template data;
the selecting of the pictures corresponding to different categories from the picture library comprises:
and selecting pictures corresponding to different categories and composition types from the picture library, wherein the pictures corresponding to the different categories and the composition types are stored in the picture library.
In an optional implementation manner, the selecting pictures corresponding to different categories from the picture library includes:
and selecting pictures corresponding to different categories and time categories matched with the current time from the picture library according to a plurality of preset time categories, wherein the pictures corresponding to the different categories and the time categories are stored in the picture library.
In an optional implementation manner, the selecting the documents corresponding to different categories from the document library includes:
selecting the documentations corresponding to different categories and launching scenes from the documentary library according to a plurality of preset launching scenes, wherein the documentaries corresponding to different categories and launching scenes are stored in the documentary library.
In an optional implementation, the method further includes:
and identifying the distribution positions of the pictures and the texts in the original template data in the original template file according to the attributes of the pictures and the texts in the original template data.
In an optional implementation manner, the distribution position of the picture in the original template data is identified by an attribute value of an x attribute, a y attribute, a width attribute and/or a height attribute;
the distribution positions of the pictures in the original template data are identified through the attribute values of the x attribute, the y attribute, the dx attribute and/or the dy attribute.
In an optional implementation mode, the pictures in the picture library are obtained by reading product detail page data provided by a shopping platform side, and the product detail page data comprises categories and pictures to which the products belong.
In an optional implementation manner, the documents in the document library are obtained by obtaining sample advertisement files with historical click rate higher than a preset click rate threshold value, and identifying the documents in the sample advertisement files.
An embodiment of the present application further provides a template generating apparatus, where the apparatus includes:
a database provisioning module to: providing at least one of a picture library and a document library, wherein pictures corresponding to different types of purposes are stored in the picture library, and documents corresponding to different types of purposes are stored in the document library;
a raw data acquisition module to: acquiring original template data, wherein the original template data comprises element labels;
an identification module to: identifying at least one of a picture and a file in the original template data according to the element tag;
a selection module for: selecting pictures corresponding to different categories from the picture library and/or selecting documentations corresponding to different categories from the documentary library aiming at a plurality of given preset categories;
a generation module to: and correspondingly replacing at least one of the pictures and the texts in the original template file by using at least one of the selected pictures and the texts to generate template files corresponding to the plurality of preset categories.
In an optional implementation manner, the format of the raw template data is an SVG format, and the identification module is further configured to:
identifying a picture in the original template data through an image element tag in the original template data, and/or identifying a pattern in the original template data through a text element tag in the original template data.
In an optional implementation manner, the generating module includes:
a delete submodule to: deleting at least one of the pictures and the texts in the original template data to obtain an original template frame;
an adjustment submodule for: adjusting the size of the original template frame according to the sizes of a plurality of preset templates to obtain template frames which are adaptive to different sizes of the preset templates;
a location determination submodule to: determining the adding positions of the pictures and the texts in the obtained template frame according to the distribution positions of the pictures and the texts in the original template data;
generating a submodule for: and adjusting the size of at least one of the selected pictures and the selected texts according to the size of the adding position, and then adding the adjusted pictures and the selected texts to each obtained template frame to generate a plurality of template files with different sizes and corresponding to the plurality of preset categories.
In an optional implementation, the apparatus further comprises:
a composition determination module to: determining a composition type for indicating the distribution positions of the pictures and the texts according to the distribution positions of the pictures and the texts in the original template data;
the selecting module is further configured to:
and selecting pictures corresponding to different categories and composition types from the picture library, wherein the pictures corresponding to the different categories and the composition types are stored in the picture library.
In an optional implementation manner, the selecting module is further configured to:
and selecting pictures corresponding to different categories and time categories matched with the current time from the picture library according to a plurality of preset time categories, wherein the pictures corresponding to the different categories and the time categories are stored in the picture library.
In an optional implementation manner, the selecting module is further configured to:
selecting the documentations corresponding to different categories and launching scenes from the documentary library according to a plurality of preset launching scenes, wherein the documentaries corresponding to different categories and launching scenes are stored in the documentary library.
In an optional implementation manner, the identification module is further configured to:
and identifying the distribution positions of the pictures and the texts in the original template data in the original template file according to the attributes of the pictures and the texts in the original template data.
In an optional implementation manner, the distribution position of the product picture in the identification module is identified through an attribute value of an x attribute, a y attribute, a width attribute and/or a height attribute; the distribution position of the file is identified by the attribute values of the x attribute, the y attribute, the dx attribute and/or the dy attribute.
In an optional implementation mode, the product pictures in the picture library are obtained by reading product detail page data provided by a shopping platform side, wherein the product detail page data comprises the category to which the product belongs and the product pictures.
In an optional implementation manner, the documents in the document library are obtained by obtaining sample advertisement files with historical click rate higher than a preset click rate threshold value, and identifying the documents in the sample advertisement files.
An embodiment of the present application further provides a template generating apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
providing at least one of a picture library and a document library, wherein pictures corresponding to different types of purposes are stored in the picture library, and documents corresponding to different types of purposes are stored in the document library;
acquiring original template data, wherein the original template data comprises element labels;
identifying at least one of a picture and a file in the original template data according to the element tag;
selecting pictures corresponding to different categories from the picture library and/or selecting documentations corresponding to different categories from the documentary library aiming at a plurality of given preset categories;
and correspondingly replacing at least one of the pictures and the texts in the original template file by using at least one of the selected pictures and the texts to generate template files corresponding to the plurality of preset categories.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in the application, because the original template data contains the element tags, the pictures and the texts in the original template data can be identified through the element tags; and, to a plurality of preset categories, prepare picture storehouse and case storehouse in advance, thus can choose the picture of the different categories, and choose the case of the different categories, on the basis of the original template data, through the substitution of at least one in picture and case, produce the template file corresponding to different categories finally. According to the embodiment of the application, the template files corresponding to different categories can be generated through the original template data, so that the problem of insufficient resources of the template files is solved, and the technical problem of resource distribution inequality can be solved as a plurality of template files of other categories can be generated based on the original template data.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
FIG. 1A is a flow chart illustrating a template generation method according to an exemplary embodiment of the present application.
Fig. 1B is a diagram illustrating an application scenario of a template generation method according to an exemplary embodiment of the present application.
FIG. 1C is a schematic diagram of a template file shown in the present application according to an exemplary embodiment.
FIG. 1D is a diagram illustrating four different sized template files according to an exemplary embodiment of the present application.
Fig. 2 is a block diagram of a server where a template generation apparatus according to an exemplary embodiment of the present application is located.
Fig. 3 is a block diagram of a template generation apparatus according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
With the development and popularization of network technology, the internet becomes a main medium for people to acquire and exchange information and also becomes an important place for advertisement delivery. The website operator can reserve a fixed or floating display area on the page, an advertiser purchases all or part of the display area according to the needs of the advertiser, and the advertisement file can be displayed in the display area, so that the product popularization is carried out for the advertiser.
In the prior art, the template file resource of the template provider is usually provided by the template designer, and the problem of insufficient template file resource or resource distribution inequality is caused because the template designer is not enough or the designed template files are gathered in certain product categories. The scheme provided by the embodiment of the application can be applied to a template provider, a plurality of template files matched with other categories are generated through original template data, and the embodiment of the application is described in detail below.
As shown in fig. 1A, fig. 1A is a flowchart of a template generation method shown in this application according to an exemplary embodiment, and is described by taking the scenario diagram shown in fig. 1B as an example, where this embodiment scheme is applicable to a server configured by a template provider in fig. 1B, and includes the following steps 101 to 104:
in step 101, at least one of a picture library and a document library is provided, wherein pictures corresponding to different categories are stored in the picture library, and documents corresponding to different categories are stored in the document library.
In step 102, original template data is obtained, wherein the original template data comprises element tags.
In step 103, at least one of the picture and the file in the original template data is identified according to the element tag.
In step 104, for a given plurality of preset categories, pictures corresponding to different categories are selected from the picture library, and/or documents corresponding to different categories are selected from the document library.
In step 105, at least one of the pictures and the texts in the original template file is correspondingly replaced by at least one of the selected pictures and texts, and template files corresponding to the preset categories are generated.
As shown in fig. 1C, which is a schematic diagram of original template data shown in the present application according to an exemplary embodiment, the original template data is usually a decorative element except for the product picture and the document, that is, the original template data can be understood as a combination result of the product picture, the document and other elements according to a certain position.
In some examples, the original template data may be an existing template data resource of the template provider, in which case the template provider may derive the existing template data resource by applying the scheme provided by the embodiment to generate more template files. In some examples, the original template data may also be a template provided by a template designer, in which case, the template provider may apply the solution provided by this embodiment, and after the template designer submits a template of a certain category that he/she designs, a plurality of template files of other categories are generated on the basis of the template submitted by him/her.
The product category in this embodiment refers to a category to which the product belongs, and may include, for example, men's clothing, women's clothing, home furnishing, cosmetics, women's shoes, men's shoes, luggage, food, underwear, health care, ornaments, sports, electrical appliances, digital products, mother and infant, and the like, and may be flexibly configured in practical applications, which is not limited in this embodiment.
The pattern can be embodied by words for a given product, advertisement subject, advertisement creative idea, or the like. In banner, the documentation may typically include a title, text, or a slogan, etc. For example, "eat heart water snack", "men's clothing stock is urgent", "home appliance performance is outstanding", "leadership shoes and boots", "super brand day", "meet you, i.e. spring hot sell new product in the first trimester", "iFashion new product is very happy", etc.
Typically, a template designer designs a template according to an advertising strategy that refers to which type of product the template relates (e.g., men's, women's, home, cosmetics, women's shoes, etc.), which type of product the template is adapted for, or which advertising scenario (e.g., warehouse cleaning, pre-sale, listing new products, event promotion, etc.). Therefore, the pictures and the documents in the template can be matched with the advertising strategy, and the purpose of the embodiment of the application is to generate a plurality of template files corresponding to different types of objects, so that the product pictures and the documents in the original template data can be changed, and when the product pictures and the documents in the original template data are changed, the pictures and the documents can be selected from a picture library and a document library which are configured in advance.
In this embodiment, at least one of the picture library and the document library is provided, and the picture library and the document library in the embodiment shown in fig. 1B are described by taking a local database as an example.
For the picture library, the picture library is used for storing pictures corresponding to different categories; the pictures are classified by category for selecting the category pictures from the picture library when deriving the template files of a certain category of products. In practical application, the corresponding relationship between each picture and the category in the picture library can be realized in various ways. For example, different category labels may be configured in advance for the pictures, so as to distinguish the pictures according to the category labels. In some examples, the mode of acquiring the picture may be prepared by the template provider in advance. Because the pictures and the categories have corresponding relations, when a template file needs to be generated for a certain category, the pictures of the category can be quickly selected from the picture library. In practical application, there may be many corresponding pictures of the same category, and the pictures may be randomly selected during selection, and the selected pictures may be retained in the picture library or deleted or marked, so that different pictures may be selected through different original template data. In addition, pictures in the picture library can be updated according to a certain period, so that the template providing platform can continuously provide high-quality template files.
As shown in table 1 below, 5 pictures in the picture library and corresponding categories are shown (in this embodiment, only 5 pictures are shown due to limited space, and the number of pictures in the picture library in practical application can be flexibly configured according to practical needs):
picture numbering | 111 | 112 | 113 | 114 | 115 |
Categories of | Household electrical appliance | Women's dress | Women's dress | Man's clothes | Food product |
TABLE 1
In table 1, for convenience of example, the pictures are distinguished by numbers, and in practical application, the pictures may be distinguished by other methods such as picture names, and the categories may be distinguished by other methods such as numbers or symbols.
For the case library, the case library is used for storing cases corresponding to different categories; the documents are classified by categories so that the documents corresponding to the categories can be selected from the document library in the template file for generating a certain type of products. In practical applications, a single file may correspond to one category or a plurality of categories. For example:
1, a literature scheme: the home appliance has superior performance and corresponds to the category of appliances;
2, a file: "lead army legendary shoes and boots", correspond to the shoes and boots category;
a file 3: "super brand day", corresponds to all categories;
the file 4 is that the new product is sold in spring in March when you meet you, and corresponds to the categories of women's clothes, women's shoes and cosmetics;
and 5, a file: "clear warehouse parcel post" corresponds to all categories.
The corresponding relation between each case and categories in the case library can be realized in various ways. For example, different categories may be configured for the documents in advance, so as to distinguish the documents according to the categories. The manner of obtaining the document may be, in some examples, prepared by the template provider in advance. Because the file and the category have corresponding relation, when a template file needs to be generated for a certain category, the file of the category can be quickly selected from the file library.
As shown in table 2 below, 4 documents in the document library and corresponding categories are shown (in this embodiment, only 4 documents are shown due to limited space, and the number of documents in the document library in practical application can be flexibly configured according to practical needs):
content of the case | Categories of |
Clear warehouse parcel post | All of |
Leadership's legendary shoes and boots | Shoes and boots |
The performance of the household electrical appliance is outstanding | Household electrical appliance |
Putting on with goddess | Women's dress |
TABLE 2
In table 2, for convenience of example, each case is distinguished by the contents of the case, and in practical application, other manners such as case numbers may be used, and categories may be distinguished by other manners such as numbers or symbols.
In order to improve the acquisition efficiency of the pictures and the construction efficiency of the picture library, in an optional implementation manner, the pictures in the picture library are obtained by reading product detail page data provided by a shopping platform, and the product detail page data includes the categories and the pictures to which the products belong.
In the embodiment, it is considered that the existing shopping platform provides product detail pages of a plurality of products, and more product related information is recorded in the product detail pages, so that the categories and pictures to which the products belong can be quickly acquired by reading the data of the product detail pages, and the construction efficiency of the picture library is improved.
In practical applications, since there are many pictures corresponding to each category in the picture library, and some categories of products are considered from the time dimension, different pictures may be suitable for different seasons, such as women's clothing, men's clothing, shoes and boots, food or cosmetics, and the like. If in summer, the summer product picture is selected from the product pictures in the female suit template file, so that the pictures in the picture library of the embodiment can be further classified more finely according to the time category, namely, the pictures are distinguished by categories and time categories. Specifically, the present embodiment further provides the following scheme:
the selecting of the pictures corresponding to different categories from the picture library comprises:
and selecting pictures corresponding to different categories and time categories matched with the current time from the preset picture library according to a plurality of preset time categories, wherein the pictures corresponding to the different categories and the time categories are stored in the picture library.
The preset time categories may include: the present invention relates to a method for controlling a lighting device, and more particularly, to a lighting device, which can be divided into different parts according to different months, and is not limited in this embodiment. The time category corresponding to each picture in the picture library may be configured by a database person, or may be determined by analyzing the relevant information such as the distribution time or the sales cycle of the product detail page data. Therefore, through the mode, the pictures in the template file can better meet the requirements of users, and the timeliness of the template file can be more highlighted.
As shown in table 3 below, 5 pictures in the picture library and the corresponding categories and time categories are shown (in this embodiment, only 5 pictures are shown due to limited space, and the number of pictures in the picture library in practical application can be flexibly configured according to practical needs):
picture numbering | 111 | 112 | 113 | 114 | 115 |
Categories of | Household electrical appliance | Women's dress | Women's dress | Man's clothes | Food product |
Time category | Spring season | Spring season | (Summer) | Autumn | Winter season |
TABLE 3
In practical application, an advertiser puts in a product advertisement, which usually has a certain purpose of advertisement, for example, a new product is put on a shelf in an advertiser store and needs to be popularized; or on certain holidays, certain promotional activities are launched to stimulate the consumption of the user on the holidays; or the pushing out season-changing warehouse-cleaning activity and the like. Since the documentations are usually used to represent the placement scenes that have been made by advertisers, the documentations in the documentary library of the present embodiment can be further classified more finely according to the placement scenes, that is, the documentations are classified into categories and placement scenes. Specifically, the present embodiment further provides the following scheme:
the selecting of the documentations corresponding to different categories from the documentations library comprises the following steps:
selecting the documentations corresponding to different categories and launching scenes from the preset documentations library according to a plurality of preset launching scenes, wherein the documentations corresponding to different categories and launching scenes are stored in the documentations library.
The preset delivery scene may include: the system can be flexibly configured according to actual needs, and the embodiment does not limit the new products on shelves, daily sales, sales promotion, tail flicking, warehouse cleaning or special activities. The launching scene corresponding to each file in the file library can be configured by database personnel. Therefore, by the mode, the template files of a plurality of different launching scenes can be generated for each category, so that the resources of the template files can be enriched, and more template files meeting the requirements of different users can be provided by the template provider.
As shown in table 4 below, 4 documents in the document library and corresponding categories and delivery scenes are shown (in this embodiment, only 4 documents are shown due to limited space, and the number of documents in the document library in practical application can be flexibly configured according to practical needs):
content of the case | Categories of | Putting scene |
Warehouse cleaning bagPost | All of | Clear warehouse, package post |
Leadership's legendary shoes and boots | Shoes and boots | Daily sales |
The performance of the household electrical appliance is outstanding | Household electrical appliance | Daily sales |
Putting on with goddess | Women's dress | New product on shelf |
TABLE 4
In order to improve the acquisition efficiency of the document and prepare a document with better quality, in an optional implementation manner, the document in the document library is obtained by acquiring a sample advertisement file with a historical click rate higher than a preset click rate threshold and identifying the document in the sample advertisement file.
In this embodiment, the Click Through Rate (CTR) refers to a Click arrival Rate of a web advertisement (e.g., a picture advertisement, a text advertisement, a keyword advertisement, a ranked advertisement, a video advertisement, etc.), i.e., a ratio of an actual Click number of the advertisement to a display amount (Show content) of the advertisement, and CTR is an important index for measuring an internet advertisement effect. The higher the click rate, the more the advertisement file conforms to the user preference. Therefore, the sample advertisement file with high click rate is selected to identify the file, so that the file in the file library can better accord with the preference of the user, and the quality of the finally generated template file is ensured. The specific document extracting process may use an OCR (Optical Character Recognition) technology to recognize the text, or may use the above-mentioned document code reading method to recognize the text. By the mode, the file can be quickly acquired, and therefore the construction efficiency of the file library is improved. In practical application, the categories corresponding to the documents can be configured in advance by database personnel.
Therefore, on the basis of the picture library and the document library, in the embodiment, after the original template data is acquired, at least one of the picture and the document of the original template data can be identified, and then, pictures and documents of different types are selected from the picture library and the document library to replace at least one of the pictures and the documents in the original template data, so as to generate template files of other types.
For the process of recognizing the pictures and the texts from the original template data, in some examples, the original template provided by the template designer may be obtained, and if the original template is a code-readable template such as SVG, the original template data is obtained by reading the code of the original template, and the identification is performed in a code reading manner. For example, if the original template can be a vector graphic, a vector graphic refers to a graphic represented by a series of computational instructions. A vector graphic may be composed of one or more basic graphic elements (the graphic elements include pictures, texts, circles, rectangles, ellipses or lines, etc.), and each basic graphic element corresponds to a different element label in the document code. Therefore, the present embodiment recognizes the picture and the document in the original template data by the element tag in the original template data. In other examples, the original template data may also be data composed of multiple layers, where different layers represent picture elements, text elements, or other elements in the original template data, pictures and text may be identified in the original template data by element tags, picture layers and text layers may be identified and separated from the original template data by the identifiers of the element tags, and after the picture layers and the text layers are separated, the selected pictures and text may be correspondingly added to form a new template. In practical application, the corresponding identification and replacement processes may be flexibly configured in combination with the specific format of the original template data, which is not limited in this embodiment.
As an example, the description will be made with original template data as a file in SVG (Scalable Vector Graphics) format. SVG is a graphic format based on extensible markup language (XML), and its element tags are exemplified as follows:
< circle > defines a circle; < ellipse > defines an ellipse; < image > defines an image; < text > defines a text.
Therefore, pictures and texts in the original template data can be identified by the element tags.
In order to improve the recognition efficiency, in an optional implementation manner, the format of the original template file is an SVG format, and recognizing at least one of a picture and a document in the original template data according to the element tag includes:
and identifying the picture through an image element label in the original template data, and/or identifying the file through a text element label in the original template data.
In the embodiment, the original template file is specified as a file in an SVG format, and the file can quickly and easily identify the product picture and the document through the image element and the text element, so that the identification efficiency can be improved.
In document code, each individual element is usually distinguished by a convention mark symbol, for example in the aforementioned SVG document, the symbol "< >" is used to distinguish the different elements. For example, the following code shows three separate elements:
therefore, in this embodiment, the picture and the document in the original template data may be respectively independent of other elements in the original template data, and the product picture and the document in the original template file are required to be respectively independent of other elements in the original template file, so that the picture and the document may be quickly and accurately identified from the data, and the identification accuracy is high. Because the template file may further include other decorative elements, if the picture or the document and such decorative elements are combined into one element, or the document and the picture are combined into one picture element, it may be necessary to identify the product picture by using an image detection algorithm, or identify the document by using an OCR technology, which is inefficient.
After at least one of the pictures and the texts in the original template data is identified, at least one of one or more different types of product pictures and texts can be selected from a picture library and a text library, at least one of the pictures and the texts in the original template file is correspondingly replaced by at least one of the selected product pictures and texts, specifically, the pictures can be only identified from the original template data, the different types of pictures can be selected from the picture library, and the selected pictures are replaced by the pictures in the original template data; or only identifying the file from the original template data, selecting different types of files from the file library, and replacing the selected files with the files from the original template data; the method can also be used for identifying the pictures and the texts in the original template data and replacing the pictures and the texts so as to generate a plurality of template files of different categories. In practical application, the alternative mode may be flexibly selected according to the requirement, and this embodiment is not limited to this.
In practical applications, in order to adapt to the sizes of different device screens, an advertisement file may be resized to meet the display requirements of different devices. In view of the above requirements, the embodiments of the present application further provide the following solutions:
the generating the template file corresponding to the plurality of preset categories by using at least one of the selected picture and the selected document to correspondingly replace at least one of the picture and the document in the original template file may include:
and deleting at least one of the pictures and the texts in the original template data to obtain an original template frame.
And adjusting the size of the original template frame according to the sizes of the plurality of preset templates to obtain template frames which are adaptive to different sizes of the preset templates.
And determining the adding positions of the pictures and the copy in the obtained template frame according to the distribution positions of the pictures and the copy in the original template data.
And adjusting the size of at least one of the selected pictures and the selected texts according to the size of the adding position, and then adding the adjusted pictures and the selected texts to each obtained template frame to generate a plurality of template files with different sizes and corresponding to the plurality of preset categories.
As can be seen from the foregoing analysis, the pictures and the texts are expressed in the original template data as elements, and therefore, by reading the attributes of the pictures and the attributes of the texts, the distribution positions of the pictures and the texts in the original template data can be automatically identified. In an optional implementation manner, for original template data in an SVG format, the distribution position of the picture is identified by an attribute value of an x attribute, a y attribute, a width attribute and/or a height attribute; the distribution position of the file is identified by the attribute values of the x attribute, the y attribute, the dx attribute and/or the dy attribute.
Then, the pictures and the texts in the original template data can be deleted to obtain an original template frame; and then, according to one or more preset template sizes, the size of the original template frame is scaled, the positions of the product pictures and the texts in the template frame are adjusted, the positions of other elements are moved, and the like, so that one or more template frames matched with the preset template sizes can be generated, and the adding positions of the pictures and the texts in the obtained template frames are determined.
As shown in FIG. 1D, a schematic of four different sizes of template files is shown in FIG. 1D. Because the sizes of the module frames are different, the embodiment can adjust the sizes of the selected pictures and texts and then add the pictures and texts to the obtained template frames according to the size of the adding position, and the specific adjusting mode can be flexibly configured in practical application. The positions of the pictures in the template frames with different sizes and the sizes (picture pit positions) of the pictures which can be displayed may be different, and for the pictures selected from the picture library, certain size adjustment may be required or a part of the pictures may be cut to fit each module frame. Specifically, for a plurality of template frames with close sizes, the sizes of the picture pit positions are close, the overlapping area of the picture pit positions in the plurality of template frames with close sizes can be determined, the picture main body is controlled to be arranged in the overlapping area, and the picture is captured based on the size of the overlapping area.
In practical application, in consideration of that there are many corresponding pictures of each category in a picture library, and there may be different positions of a main product in the picture (for example, a model picture is centered in position, left in position, right in position, etc. in the whole picture), and product pictures and documents in different template files are distributed at different positions, and in consideration of that the picture on the left side is more suitable for the template file on the left side of the product picture, and the picture on the right side is more suitable for the template file on the right side of the product picture, therefore, in order to make the selected picture more fit the design of the template file, the generated template file is more beautiful, more in line with user requirements, and prevent more data processing operations caused by non-conformity with user requirements, the embodiment further provides the following scheme:
and determining a composition type for indicating the distribution positions of the pictures and the texts according to the distribution positions of the pictures and the texts in the original template data.
The selecting of the pictures corresponding to different categories from the picture library comprises:
and selecting pictures corresponding to different categories and composition types from the picture library, wherein the pictures corresponding to the different categories and the composition types are stored in the picture library.
The pictures in the picture library of this embodiment may be further classified more finely according to the composition types, that is, the pictures are classified by category and composition type. The composition type may be a plurality of types, such as a picture centered on, a picture left, a picture right, a picture down, and the like, and may be flexibly configured according to actual needs, which is not limited in this embodiment. The composition type corresponding to each picture in the picture library can be configured by the database personnel. Therefore, by the mode, when the product picture is selected, the selected product picture is more in accordance with the design of the template file according to the composition type of the original template file, so that the generated template file is more attractive.
As shown in the following table 5, 5 pictures in the picture library and the corresponding categories and composition types are shown (in this embodiment, only 5 pictures are shown due to limited space, and the number of pictures in the picture library in practical application can be flexibly configured according to practical needs):
picture numbering | 111 | 112 | 113 | 114 | 115 |
Categories of | Household electrical appliance | Women's dress | Women's dress | Man's clothes | Food product |
Type of composition | (center) | At the right | At the right | Under the house | At the left |
TABLE 5
Corresponding to the embodiment of the template generation method, the application also provides an embodiment of the template generation device and a server applied by the template generation device.
The embodiment of the template generation device can be applied to a server. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. Taking a software implementation as an example, as a logical device, the device is formed by reading corresponding computer program instructions in the nonvolatile memory into the memory for operation through the processor of the server where the device is located. From a hardware aspect, as shown in fig. 2, a hardware structure diagram of a server where the template generating apparatus of the present application is located is shown, except for the processor 210, the memory 230, the network interface 220, and the nonvolatile memory 240 shown in fig. 2, the server where the apparatus 231 is located in the embodiment may also include other hardware according to an actual function of the server, which is not described again.
As shown in fig. 3, fig. 3 is a block diagram of a template generation apparatus according to an exemplary embodiment shown in the present application, the apparatus including:
a database providing module 31 for: at least one of a picture library and a document library is provided, pictures corresponding to different categories of objects are stored in the picture library, and documents corresponding to different categories of objects are stored in the document library.
A raw data acquisition module 32 for: acquiring original template data, wherein the original template data comprises element labels.
An identification module 33 configured to: and identifying at least one of the picture and the file in the original template data according to the element tag.
A selecting module 34 for: and aiming at a plurality of given preset categories, selecting pictures corresponding to different categories from the picture library and/or selecting documents corresponding to different categories from the document library.
A generating module 35 configured to: and correspondingly replacing at least one of the pictures and the texts in the original template file by using at least one of the selected pictures and the texts to generate template files corresponding to the plurality of preset categories.
In an alternative implementation, the format of the raw template data is SVG format, and the identification module (not shown in fig. 3) is further configured to:
identifying a picture in the original template data through an image element tag in the original template data, and/or identifying a pattern in the original template data through a text element tag in the original template data.
In an alternative implementation, the generating module 35 (not shown in fig. 3) includes:
a delete submodule to: and deleting at least one of the pictures and the texts in the original template data to obtain an original template frame.
An adjustment submodule for: and adjusting the size of the original template frame according to the sizes of the plurality of preset templates to obtain template frames which are adaptive to different sizes of the preset templates.
A location determination submodule to: and determining the adding positions of the pictures and the copy in the obtained template frame according to the distribution positions of the pictures and the copy in the original template data.
Generating a submodule for: and adjusting the size of at least one of the selected pictures and the selected texts according to the size of the adding position, and then adding the adjusted pictures and the selected texts to each obtained template frame to generate a plurality of template files with different sizes and corresponding to the plurality of preset categories.
In an alternative implementation, the apparatus further comprises (not shown in fig. 3):
a composition determination module to: and determining a composition type for indicating the distribution positions of the pictures and the texts according to the distribution positions of the pictures and the texts in the original template data.
The selecting module is further configured to:
and selecting pictures corresponding to different categories and composition types from the picture library, wherein the pictures corresponding to the different categories and the composition types are stored in the picture library.
In an optional implementation manner, the selecting module 34 is further configured to:
and selecting pictures corresponding to different categories and time categories matched with the current time from the picture library according to a plurality of preset time categories, wherein the pictures corresponding to the different categories and the time categories are stored in the picture library.
In an optional implementation manner, the selecting module 34 is further configured to:
selecting the documentations corresponding to different categories and launching scenes from the documentary library according to a plurality of preset launching scenes, wherein the documentaries corresponding to different categories and launching scenes are stored in the documentary library.
In an optional implementation manner, the identifying module 33 is further configured to:
and identifying the distribution positions of the pictures and the texts in the original template data in the original template file according to the attributes of the pictures and the texts in the original template data.
In an optional implementation manner, the distribution position of the product picture in the identification module 33 is identified by an attribute value of an x attribute, a y attribute, a width attribute, and/or a height attribute; the distribution position of the file is identified by the attribute values of the x attribute, the y attribute, the dx attribute and/or the dy attribute.
In an optional implementation mode, the product pictures in the picture library are obtained by reading product detail page data provided by a shopping platform side, wherein the product detail page data comprises the category to which the product belongs and the product pictures.
In an optional implementation manner, the documents in the document library are obtained by obtaining sample advertisement files with historical click rate higher than a preset click rate threshold value, and identifying the documents in the sample advertisement files.
Correspondingly, an embodiment of the present application further provides a template generating apparatus, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to:
at least one of a picture library and a document library is provided, pictures corresponding to different categories of objects are stored in the picture library, and documents corresponding to different categories of objects are stored in the document library.
Acquiring original template data, wherein the original template data comprises element labels.
And identifying at least one of the picture and the file in the original template data according to the element tag.
And aiming at a plurality of given preset categories, selecting pictures corresponding to different categories from the picture library and/or selecting documents corresponding to different categories from the document library.
And correspondingly replacing at least one of the pictures and the texts in the original template file by using at least one of the selected pictures and the texts to generate template files corresponding to the plurality of preset categories.
The implementation processes of the functions and actions of the modules in the template generation apparatus are specifically described in the implementation processes of the corresponding steps in the template generation method, and are not described herein again.
As for the template generating apparatus embodiment, since it basically corresponds to the method embodiment, the relevant points may be referred to the partial description of the method embodiment. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.
Claims (21)
1. A template generation method, the method comprising:
providing at least one of a picture library and a document library, wherein pictures corresponding to different types of purposes are stored in the picture library, and documents corresponding to different types of purposes are stored in the document library;
acquiring original template data, wherein the original template data comprises element labels;
identifying at least one of a picture and a file in the original template data according to the element tag;
selecting pictures corresponding to different categories from the picture library and/or selecting documentations corresponding to different categories from the documentary library aiming at a plurality of given preset categories;
at least one of the selected pictures and the selected texts is used for correspondingly replacing at least one of the pictures and the texts in the original template data, and template files corresponding to the plurality of preset categories are generated; in the replacement process, at least one of the selected pictures and the selected texts is added into a template frame after being subjected to size adjustment, wherein the template frame is obtained by deleting and size-adjusting at least one of the pictures and the texts in the original template data.
2. The method of claim 1, wherein the format of the raw template data is SVG format, and said identifying at least one of a picture and a document in the raw template data from the element tag comprises:
identifying a picture in the original template data through an image element tag in the original template data, and/or identifying a pattern in the original template data through a text element tag in the original template data.
3. The method according to claim 1, wherein the generating the template file corresponding to the plurality of preset categories by using the at least one selected picture and the selected document to correspondingly replace the at least one selected picture and the at least one selected document in the original template file comprises:
deleting at least one of the pictures and the texts in the original template data to obtain an original template frame;
adjusting the size of the original template frame according to the sizes of a plurality of preset templates to obtain template frames which are adaptive to different sizes of the preset templates;
determining the adding positions of the pictures and the texts in the obtained template frame according to the distribution positions of the pictures and the texts in the original template data;
and adjusting the size of at least one of the selected pictures and the selected texts according to the size of the adding position, and then adding the adjusted pictures and the selected texts to each obtained template frame to generate a plurality of template files with different sizes and corresponding to the plurality of preset categories.
4. The method of claim 1, further comprising:
determining a composition type for indicating the distribution positions of the pictures and the texts according to the distribution positions of the pictures and the texts in the original template data;
the selecting of the pictures corresponding to different categories from the picture library comprises:
and selecting pictures corresponding to different categories and composition types from the picture library, wherein the pictures corresponding to the different categories and the composition types are stored in the picture library.
5. The method according to claim 1, wherein the selecting pictures corresponding to different categories from the picture library comprises:
and selecting pictures corresponding to different categories and time categories matched with the current time from the picture library according to a plurality of preset time categories, wherein the pictures corresponding to the different categories and the time categories are stored in the picture library.
6. The method of claim 1, wherein said selecting documents corresponding to different categories from said document library comprises:
selecting the documentations corresponding to different categories and launching scenes from the documentary library according to a plurality of preset launching scenes, wherein the documentaries corresponding to different categories and launching scenes are stored in the documentary library.
7. The method according to claim 3 or 4, characterized in that the method further comprises:
and identifying the distribution positions of the pictures and the texts in the original template data in the original template file according to the attributes of the pictures and the texts in the original template data.
8. The method according to claim 7, wherein the distribution position of the picture in the original template data is identified by the attribute value of x attribute, y attribute, width attribute and/or height attribute;
the distribution positions of the patterns in the original template data are identified by the attribute values of the x attribute, the y attribute, the dx attribute and/or the dy attribute.
9. The method of claim 1, wherein the pictures in the picture library are obtained by reading product detail page data provided by a shopping platform, wherein the product detail page data comprises categories and pictures to which the products belong.
10. The method of claim 1, wherein the documents in the document library are obtained by obtaining sample advertisement files with historical click through rates higher than a preset click through rate threshold, and identifying the documents in the sample advertisement files.
11. A template generation apparatus, the apparatus comprising:
a database provisioning module to: providing at least one of a picture library and a document library, wherein pictures corresponding to different types of purposes are stored in the picture library, and documents corresponding to different types of purposes are stored in the document library;
a raw data acquisition module to: acquiring original template data, wherein the original template data comprises element labels;
an identification module to: identifying at least one of a picture and a file in the original template data according to the element tag;
a selection module for: selecting pictures corresponding to different categories from the picture library and/or selecting documentations corresponding to different categories from the documentary library aiming at a plurality of given preset categories;
a generation module to: at least one of the selected pictures and the selected texts is used for correspondingly replacing at least one of the pictures and the texts in the original template data, and template files corresponding to the plurality of preset categories are generated; in the replacement process, at least one of the selected pictures and the selected texts is added into a template frame after being subjected to size adjustment, wherein the template frame is obtained by deleting and size-adjusting at least one of the pictures and the texts in the original template data.
12. The apparatus of claim 11, wherein the format of the raw template data is SVG format, and wherein the identification module is further configured to:
identifying a picture in the original template data through an image element tag in the original template data, and/or identifying a pattern in the original template data through a text element tag in the original template data.
13. The apparatus of claim 11, wherein the generating module comprises:
a delete submodule to: deleting at least one of the pictures and the texts in the original template data to obtain an original template frame;
an adjustment submodule for: adjusting the size of the original template frame according to the sizes of a plurality of preset templates to obtain template frames which are adaptive to different sizes of the preset templates;
a location determination submodule to: determining the adding positions of the pictures and the texts in the obtained template frame according to the distribution positions of the pictures and the texts in the original template data;
generating a submodule for: and adjusting the size of at least one of the selected pictures and the selected texts according to the size of the adding position, and then adding the adjusted pictures and the selected texts to each obtained template frame to generate a plurality of template files with different sizes and corresponding to the plurality of preset categories.
14. The apparatus of claim 11, further comprising:
a composition determination module to: determining a composition type for indicating the distribution positions of the pictures and the texts according to the distribution positions of the pictures and the texts in the original template data;
the selecting module is further configured to:
and selecting pictures corresponding to different categories and composition types from the picture library, wherein the pictures corresponding to the different categories and the composition types are stored in the picture library.
15. The apparatus of claim 11, wherein the selecting module is further configured to:
and selecting pictures corresponding to different categories and time categories matched with the current time from the picture library according to a plurality of preset time categories, wherein the pictures corresponding to the different categories and the time categories are stored in the picture library.
16. The apparatus of claim 11, wherein the selecting module is further configured to:
selecting the documentations corresponding to different categories and launching scenes from the documentary library according to a plurality of preset launching scenes, wherein the documentaries corresponding to different categories and launching scenes are stored in the documentary library.
17. The apparatus of claim 13 or 14, wherein the identification module is further configured to:
and identifying the distribution positions of the pictures and the texts in the original template data in the original template file according to the attributes of the pictures and the texts in the original template data.
18. The apparatus according to claim 17, wherein the distribution position of the picture in the identification module is identified by an attribute value of an x attribute, a y attribute, a width attribute and/or a height attribute; the distribution position of the file is identified by the attribute values of the x attribute, the y attribute, the dx attribute and/or the dy attribute.
19. The apparatus of claim 11, wherein the product pictures in the picture library are obtained by reading product detail page data provided by the shopping platform side, and the product detail page data comprises the category to which the product belongs and the product picture.
20. The apparatus of claim 11, wherein the documents in the document library are obtained by obtaining sample advertisement files with historical click-through rates higher than a preset click-through rate threshold, and identifying the documents in the sample advertisement files.
21. A template generation apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
providing at least one of a picture library and a document library, wherein pictures corresponding to different types of purposes are stored in the picture library, and documents corresponding to different types of purposes are stored in the document library;
acquiring original template data, wherein the original template data comprises element labels;
identifying at least one of a picture and a file in the original template data according to the element tag;
selecting pictures corresponding to different categories from the picture library and/or selecting documentations corresponding to different categories from the documentary library aiming at a plurality of given preset categories;
at least one of the selected pictures and the selected texts is used for correspondingly replacing at least one of the pictures and the texts in the original template data, and template files corresponding to the plurality of preset categories are generated; in the replacement process, at least one of the selected pictures and the selected texts is added into a template frame after being subjected to size adjustment, wherein the template frame is obtained by deleting and size-adjusting at least one of the pictures and the texts in the original template data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710233974.8A CN108694210B (en) | 2017-04-11 | 2017-04-11 | Template generation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710233974.8A CN108694210B (en) | 2017-04-11 | 2017-04-11 | Template generation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108694210A CN108694210A (en) | 2018-10-23 |
CN108694210B true CN108694210B (en) | 2022-02-18 |
Family
ID=63843383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710233974.8A Active CN108694210B (en) | 2017-04-11 | 2017-04-11 | Template generation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108694210B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109471631A (en) * | 2018-11-21 | 2019-03-15 | 北京京东尚科信息技术有限公司 | The generation method and device of masking-out material |
CN109978027A (en) * | 2019-03-12 | 2019-07-05 | 深圳微品致远信息科技有限公司 | An a kind of key drawing methods, system and storage medium based on machine learning |
CN110196972B (en) * | 2019-04-24 | 2022-11-01 | 北京奇艺世纪科技有限公司 | Method and device for generating file and computer readable storage medium |
CN110930177A (en) * | 2019-09-29 | 2020-03-27 | 京东数字科技控股有限公司 | AI advertisement template, AI advertisement generation method, AI advertisement generation device and storage medium |
CN111124482B (en) * | 2019-12-25 | 2024-05-07 | 北京达佳互联信息技术有限公司 | Configuration method and device for document information |
CN111178238B (en) * | 2019-12-25 | 2024-09-20 | 未鲲(上海)科技服务有限公司 | Certificate testing method, device, equipment and computer readable storage medium |
CN111246300B (en) * | 2020-01-02 | 2022-04-22 | 北京达佳互联信息技术有限公司 | Method, device and equipment for generating clip template and storage medium |
CN111191093B (en) * | 2020-01-02 | 2023-07-21 | 北京百度网讯科技有限公司 | Method and device for generating applet card and electronic equipment |
CN111552826B (en) * | 2020-05-06 | 2023-09-29 | 深圳市卡牛科技有限公司 | Example picture generation method and device, computer equipment and storage medium |
CN111538856B (en) * | 2020-05-06 | 2023-08-29 | 深圳市卡牛科技有限公司 | Picture material generation method and device, computer equipment and storage medium |
CN111783415B (en) * | 2020-08-20 | 2023-10-27 | 支付宝(杭州)信息技术有限公司 | Template configuration method and device |
CN114662176A (en) * | 2022-04-02 | 2022-06-24 | 亿玛创新网络(天津)有限公司 | Method and device for generating multi-element picture by setting template and selecting resources |
CN114579524B (en) * | 2022-05-06 | 2022-07-15 | 成都大学 | Method and system for processing image data |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102724425A (en) * | 2011-11-29 | 2012-10-10 | 新奥特(北京)视频技术有限公司 | Television image and text template broadcasting method |
CN105094809A (en) * | 2015-06-29 | 2015-11-25 | 北京金山安全软件有限公司 | Combined picture layout modification method and device and terminal equipment |
CN105574909A (en) * | 2014-10-11 | 2016-05-11 | 北京金山安全软件有限公司 | Picture combination template processing method and device and terminal |
CN106155991A (en) * | 2016-06-27 | 2016-11-23 | 乐视控股(北京)有限公司 | The preview graph of a kind of font packet generates method and system |
CN106339373A (en) * | 2015-07-06 | 2017-01-18 | 北大方正集团有限公司 | Page template replacing method and device |
CN106557289A (en) * | 2015-09-29 | 2017-04-05 | 珠海金山办公软件有限公司 | A kind of lantern slide display packing, system and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4341684B2 (en) * | 2007-02-20 | 2009-10-07 | セイコーエプソン株式会社 | Image processing apparatus, image processing method, and program |
JP5739623B2 (en) * | 2010-06-25 | 2015-06-24 | キヤノン株式会社 | Editing device and program |
US9613085B2 (en) * | 2012-10-15 | 2017-04-04 | Salesforce.Com, Inc. | System and method to generate a data-rich template |
-
2017
- 2017-04-11 CN CN201710233974.8A patent/CN108694210B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102724425A (en) * | 2011-11-29 | 2012-10-10 | 新奥特(北京)视频技术有限公司 | Television image and text template broadcasting method |
CN105574909A (en) * | 2014-10-11 | 2016-05-11 | 北京金山安全软件有限公司 | Picture combination template processing method and device and terminal |
CN105094809A (en) * | 2015-06-29 | 2015-11-25 | 北京金山安全软件有限公司 | Combined picture layout modification method and device and terminal equipment |
CN106339373A (en) * | 2015-07-06 | 2017-01-18 | 北大方正集团有限公司 | Page template replacing method and device |
CN106557289A (en) * | 2015-09-29 | 2017-04-05 | 珠海金山办公软件有限公司 | A kind of lantern slide display packing, system and device |
CN106155991A (en) * | 2016-06-27 | 2016-11-23 | 乐视控股(北京)有限公司 | The preview graph of a kind of font packet generates method and system |
Non-Patent Citations (1)
Title |
---|
一种适用于图像拼接的自适应模板匹配算法;朱远平等;《计算机工程与应用》;20031101(第31期);第109-111页 * |
Also Published As
Publication number | Publication date |
---|---|
CN108694210A (en) | 2018-10-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108694210B (en) | Template generation method and device | |
CN107748754B (en) | Knowledge graph perfecting method and device | |
US20220138831A1 (en) | Method of Providing Fashion Item Recommendation Service Using User's Body Type and Purchase History | |
TWI631474B (en) | Method and device for product identification label and method for product navigation | |
CN102662950B (en) | Active advertisement generation method based on Internet picture | |
US20150178786A1 (en) | Pictollage: Image-Based Contextual Advertising Through Programmatically Composed Collages | |
CN105976203B (en) | Automatic generation method and device of internet advertisement originality | |
US20230214895A1 (en) | Methods and systems for product discovery in user generated content | |
WO2019171128A1 (en) | In-media and with controls advertisement, ephemeral, actionable and multi page photo filters on photo, automated integration of external contents, automated feed scrolling, template based advertisement post and actions and reaction controls on recognized objects in photo or video | |
US20210390607A1 (en) | Method, apparatus and computer program for style recommendation | |
US20200226168A1 (en) | Methods and systems for optimizing display of user content | |
CN102473318A (en) | Processing digital templates for image display | |
Vempati et al. | Enabling hyper-personalisation: Automated ad creative generation and ranking for fashion e-commerce | |
US20230030560A1 (en) | Methods and systems for tagged image generation | |
KR102295459B1 (en) | A method of providing a fashion item recommendation service to a user using a date | |
CN110097400A (en) | Information recommendation method, apparatus and system, storage medium, intelligent interaction device | |
KR20200141251A (en) | Method of advertising personalized fashion item and server performing the same | |
CN113744019A (en) | Commodity recommendation method, commodity recommendation device, commodity recommendation equipment and storage medium | |
KR102200038B1 (en) | A method of providing a fashion item recommendation service to a user using a date | |
KR20210131198A (en) | Method, apparatus and computer program for advertising recommended product | |
CN113298912B (en) | Commodity picture processing method, commodity picture processing device and commodity picture processing server | |
KR102271090B1 (en) | A method of providing a fashion item recommendation service to a user using calendar data | |
US20230289862A1 (en) | Method for providing fashion item recommendation service to user by using swipe gesture | |
KR102378072B1 (en) | Method, apparatus and computer program for style recommendation | |
Chishti et al. | Identify Website Personality by Using Unsupervised Learning Based on Quantitative Website Elements |
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 |