CN112257406A - Content cover generator and method based on web front end - Google Patents

Content cover generator and method based on web front end Download PDF

Info

Publication number
CN112257406A
CN112257406A CN202011148278.5A CN202011148278A CN112257406A CN 112257406 A CN112257406 A CN 112257406A CN 202011148278 A CN202011148278 A CN 202011148278A CN 112257406 A CN112257406 A CN 112257406A
Authority
CN
China
Prior art keywords
content
cover
layout template
picture
module
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.)
Pending
Application number
CN202011148278.5A
Other languages
Chinese (zh)
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.)
Shanghai Quyun Network Technology Co ltd
Original Assignee
Shanghai Quyun Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Quyun Network Technology Co ltd filed Critical Shanghai Quyun Network Technology Co ltd
Priority to CN202011148278.5A priority Critical patent/CN112257406A/en
Publication of CN112257406A publication Critical patent/CN112257406A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/44Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/45Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/189Automatic justification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention relates to a content cover generator and a method based on a web front end, wherein the generator comprises a cover layout template acquisition module, a content distribution module and a content distribution module, wherein the cover layout template acquisition module is configured to determine a cover layout template, and the cover layout template comprises one or more material parameters and/or one or more documents and attribute parameters thereof; a material acquisition module configured to acquire a material specified according to the material parameter; the system comprises an attribute setting module and a drawing module, wherein the attribute setting module is configured to acquire the documents and attribute information thereof specified according to the one or more documents and attribute parameters thereof, and the drawing module is configured to generate content cover pictures according to a cover layout template, materials and/or the documents and the attribute information thereof selected by a user. According to the invention, cover pictures which meet the requirements and are beautiful can be easily and massively manufactured according to the needs of users, so that the efficiency of putting on the shelf contents of the users is improved.

Description

Content cover generator and method based on web front end
Technical Field
The invention relates to the technical field of internet application, in particular to a content cover generator and a content cover generating method based on a web front end.
Background
With the development of internet technology, the reading habits of people are changed slowly, more and more people are used to online reading, and therefore the prosperous development of online contents is promoted, and various entertainment novels, popular science works and the like on the network are more and more abundant. When an author wants to publish a work on the internet, it is necessary to provide a cover of the work to put on the shelf, similar to a physical book. Because the cover design often can control the first impression of a reader on a work and plays a crucial role in attracting the reader, the current cover design mode is usually drawn manually by professional designers, the processes of cover drawing, font design, theme color design, document typesetting and the like need to be carried out, the whole process is tedious and inefficient, an author needs to pay for cover design, and the author needs to spend time communicating with the designers and checking the design effect. The efficiency of putting contents on shelf is seriously influenced, and particularly for the condition of production line type mass production works, the current cover design mode cannot meet the requirement. Accordingly, it is desirable to provide a method and system for quickly generating content covers.
Disclosure of Invention
Aiming at the technical problems in the prior art, the invention provides a content cover generator and a content cover generating method based on a web front end, which are used for quickly generating a content cover picture.
In order to solve the above technical problem, according to one aspect of the present invention, the present invention provides a web front-end based content cover generator, which includes a cover layout template obtaining module, a material obtaining module, an attribute setting module and a drawing module, wherein the cover layout template obtaining module is configured to determine a cover layout template, and the cover layout template includes one or more material parameters and/or one or more documents and attribute parameters thereof; the material acquisition module is configured to acquire a material specified according to the material parameters; the attribute setting module is configured to acquire a document and attribute information thereof specified according to the one or more documents and attribute parameters thereof; the rendering module is configured to generate a content cover picture according to a user selected cover layout template, material and/or document and attribute information thereof.
According to another aspect of the present invention, the present invention provides a content cover generation method based on a web front end, including the steps of:
determining a cover layout template, wherein the cover layout template comprises one or more material parameters or/and a file and attribute parameters thereof;
acquiring a material designated according to the material parameters;
acquiring a file and attribute information thereof designated according to one or more files and attribute parameters thereof; and
and drawing a content cover picture according to the cover layout template according to the designated materials and/or the designated files and the attribute information thereof.
The invention provides the template based on the existing commonly used content cover design style, and a designer only needs to preset cover base map materials, fonts, typesetting styles and the like, thereby saving the time of the designer; when a user needs a content cover picture, in one embodiment, the user (such as a content author) can use the generator to make the content cover picture, so that the user can easily and quickly make a cover picture which meets the requirement and is beautiful even if the user does not have professional design capability; in other embodiments, the invention provides a content cover generator based on a web front end, which can automatically and massively produce cover pictures meeting requirements and having beautiful appearance, and can achieve the purpose of producing content covers in a pipeline manner, thereby improving the efficiency of putting on the shelf of a user.
Drawings
Preferred embodiments of the present invention will now be described in further detail with reference to the accompanying drawings, in which:
FIG. 1 is a functional block diagram of a content cover generator according to a first embodiment of the present invention;
FIGS. 2A-2B are schematic illustrations of two cover layout templates according to one embodiment of the present invention;
FIGS. 3A-3B are schematic views of two cover layout templates according to another embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for generating a content cover picture according to a first embodiment of the invention;
FIG. 5 is a functional block diagram of a content cover picture generator according to a second embodiment of the present invention;
FIG. 6 is a flowchart of a content cover photo generation method according to a second embodiment of the present invention;
FIG. 7 is a functional block diagram of a content cover generator according to a third embodiment of the present invention;
FIG. 8 is a flowchart of a content cover generation method according to a third embodiment of the present invention;
FIG. 9 is a functional block diagram of a content cover generator according to a fourth embodiment of the present invention;
FIG. 10 is a flowchart of a content cover generation method according to a fourth embodiment of the present invention;
FIG. 11 is a functional block diagram of a content cover generator according to a fifth embodiment of the present invention;
FIG. 12 is a flowchart of a content cover generation method according to a fifth embodiment of the present invention; and
fig. 13 is a flowchart of another content cover generation method according to the fifth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the following detailed description, reference is made to the accompanying drawings that form a part hereof and in which is shown by way of illustration specific embodiments of the application. In the drawings, like numerals describe substantially similar components throughout the different views. Various specific embodiments of the present application are described in sufficient detail below to enable those skilled in the art to practice the teachings of the present application. It is to be understood that other embodiments may be utilized and structural, logical or electrical changes may be made to the embodiments of the present application.
The invention provides a generation method and a generator for quickly generating a content cover picture based on the requirement that content covers are needed when various contents such as novels, cartoons, popular science works and the like on the existing internet are put on a content platform, and the content cover picture which is in line with the aesthetic feeling of an author and has individuality can be obtained without the need that the author hires a professional designer to draw the design one by one. The cover picture in the invention is not limited to a static picture, but can also be a dynamic picture, for example, a dynamic character, a scene and the like are displayed on a part of the cover, so that the cover is more attractive.
Example one
Fig. 1 is a functional block diagram of a content cover generator according to a first embodiment of the present invention. In this embodiment, if a user (i.e. a content author or provider) wants to publish a work (i.e. content) on a content platform, such as a web site, according to the process of the content platform, the user needs to register on the content platform and provide information such as the name of the work to be published, the name of the author, and the category of the content. According to the agreement between the author and the content platform, after a series of processes, the user can obtain the authority of publishing the works in the content platform. The content platform saves the user registration information to the content profile and to a designated location, saves the user's work in the content database when he uploads it, and provides a content cover creator shown in fig. 1 to help the user obtain the cover of his work.
Referring to fig. 1, the content cover generator includes a cover layout template acquisition module 1a, a material acquisition module 2a, an attribute setting module 3a, and a drawing module 4a, wherein the cover layout template acquisition module 1a is configured to determine a cover layout template and send it to the drawing module 4 a. The cover layout template comprises one or more material parameters and/or one or more documents and attribute parameters thereof. In one embodiment, the cover layout template obtaining module 1a is connected to a template library 5a, and obtains the cover layout template from the template library 5 a. The template library 5a stores a plurality of cover layout templates in categories, and in one embodiment, the template library 5a includes a plurality of major categories, such as "online novel," "popular science," and the like, each major category including a plurality of minor categories according to content categories. For example, in the "online novel" category, its small categories may be "science fiction", "history", "metropolitan", etc., respectively; in "popular science works", its small categories may be "plant", "animal", "physical", and the like, respectively. Each small category comprises one or more cover layout templates with similar styles to the small category. The material parameters of the cover layout template may include an overall context parameter and/or one or more local context parameters. The overall background parameter and the local background parameter comprise one or more of a color parameter, a pattern parameter, a picture parameter, a short video parameter and a motion picture parameter, and background materials used by the front cover can be determined through material parameters. The case can be the content name, the name of the author, etc., and the case attribute parameters can determine the case layout direction, the case font, the case size and the case position of the case. Each cover layout template in the template library 5a is preset with default materials and default documents and attributes thereof. For example, each cover layout template is preset with different background pictures, different text attributes and thus different styles. Fig. 2A and 2B are schematic diagrams of two cover layout templates in this embodiment. Each cover layout template comprises the same or different materials and documents and attributes thereof. The cover layout template acquisition module 1a reads the contents in the contents configuration file so that the contents category can be acquired and the copy, such as the contents name and the author name, can be acquired. The cover layout template acquisition module 1a acquires a cover layout template of the same type as the content type from the analysis library 5a according to the content type, and sends the cover layout template to the drawing module 4 a.
The material obtaining module 2a is connected with the material library 6a, obtains materials from the material library 6a and sends the materials to the drawing module 4 a. The material library 6a includes a plurality of levels of classifications, and a plurality of materials are stored in the minimum level classification. The classification can be classified in various manners, in one embodiment, the classification is classified according to content categories, such as "online novel", "popular science works" as a major category, and the like, and includes various minor categories under the major category; in other embodiments, the content may be classified according to the material form based on the content classification, such as "picture", "pattern", "motion picture", and "short video" as major categories, and the content category is further used as minor categories in the respective classifications. Wherein, the materials such as the picture, the pattern and the like can be used for the whole background of the front cover and can also be used for the local background. "motion pictures" and "short videos" can be used for local background. And the material acquisition module 2a acquires corresponding default materials according to the material parameters in the cover layout template. Or, in another embodiment, the material obtaining module 2a obtains the material of the corresponding category from the material library according to the content category obtained from the content configuration file. Such as randomly selecting one from a plurality of materials of the category.
The attribute setting module 3 sets the file attributes in the template according to the file contents and the materials, and sends the file attributes to the drawing module 4 a. Default attributes in the template may be used, such as the default document's position in the cover, layout orientation, document font, color, font size, etc. In another embodiment, there is a setting algorithm for each attribute, e.g., a value range of a preset font size; for the horizontal layout, the proportion of the whole length of the preset document contents to the width of the cover is preset, and for the vertical layout, the proportion of the whole length of the preset document contents to the length of the cover is preset; presetting corresponding file colors according to the color of the cover background; and presetting the corresponding characters of the document according to the cover background. Thus, the attribute setting module 3 can determine the position, layout direction, font, color and size of the document in the cover according to the specific document content and material.
The drawing module 4a is respectively connected with the cover layout template obtaining module 1a, the material obtaining module 2a and the attribute setting module 3a, and draws a picture in the canvas according to the obtained cover layout template, the obtained material and the obtained attribute, so as to obtain a cover picture of the content. When the drawing module 4a draws a picture, in an embodiment, after all required data are obtained, the obtained data types are analyzed, and the picture is drawn layer by layer in the canvas according to the sequence of background first and then the pattern. In one embodiment, illustrated in FIGS. 2A and 2B, the template may include a plurality of background material and one or more scripts. The background material may be global background material or local background material. The drawing module 4a determines whether the material is an overall background or a local background according to the size of the material, if there are a plurality of background materials, different materials are drawn on different layers during drawing, then the layers are overlaid together according to the sequence of overall and local, and the material parameters are subjected to corresponding processing, for example, the local background is subjected to marginalization processing, such as framing and fading, and the overlaid and processed overall is used as the background of the cover. And then drawing a document layer according to the document attributes, and finally overlapping the background layer and the document layer together to obtain a content cover picture. In another embodiment, shown in FIGS. 3A and 3B, two cover layout templates are shown according to another embodiment of the present invention. In this embodiment, the cover layout template includes a plurality of layers, each layer has a layer identifier, and each layer corresponds to a corresponding parameter. Different templates, layers and their parameters are different. For example, template 100a includes an entire background layer 110a and material parameters thereof and a decorative background layer 120a and material parameters thereof. The material of the whole background layer 110a may be a picture or a pattern, and the material of the decoration background layer 120a may be various lace patterns. The layer 130a is a pattern layer, which corresponds to various pattern attribute parameters. The template 101a includes an entire background layer 111a and its material parameters, and a partial background layer 121a and its material parameters, and the material of the partial background layer 121a may be pictures, patterns, motion pictures, and short videos. The material obtaining module 2a sends the material or the document and the attribute information thereof to the drawing module 4a, and simultaneously includes the corresponding layer identifier. Therefore, the drawing module 4a can draw according to the layer identifier and the corresponding material, so that the drawing speed is increased, and the generation efficiency of the cover picture is improved.
Fig. 4 is a flowchart illustrating a content cover image generating method according to an embodiment of the present invention. Referring to the functional block diagram of the content cover picture generator shown in fig. 1, a description is given of a content cover picture generation method provided in the first embodiment as follows:
step 1a, the cover layout template obtaining module 1a reads the content in the content configuration file, obtains the content category from the content configuration file, and obtains the file.
Step 2a, the cover layout template obtaining module 1a obtains a cover layout template with the same category as the cover layout template from the analysis library 5a according to the content category, and sends the cover layout template to the drawing module 4 a.
And 3a, the material obtaining module 2a obtains the material from the material library 6a according to the content type and sends the material to the drawing module 4 a.
And 4a, the attribute setting module 3 sets the file attributes in the template according to the file contents and the materials and sends the file attributes to the drawing module 4 a. The attribute setting module 3 may adopt default document attributes in the template, or obtain each document attribute by calculation one by one.
And step 5a, the drawing module 4a draws the picture in the canvas according to the obtained cover layout template, the obtained material, the obtained document and the obtained attributes thereof, so as to obtain the cover picture of the content.
The template library 5a and the material library 6a are classified and stored according to the types of the contents, so that the styles of the templates and the materials can be ensured to be consistent with the style of the contents. In addition, the templates provided by the template library 6a are based on the design style of the book covers commonly used in the prior art, and the designer presets the attribute information such as the cover base image materials, the fonts, the typesetting style and the like, so that the designer is liberated from heavy design work, and the time of the designer is saved. On the basis of presetting templates and materials, the method can automatically generate a cover picture which is in accordance with the content style and is beautiful for the content of the user according to the configuration information filled in when the user registers, thereby meeting the cover requirement of the content required for publishing the works on the Web site and saving the time and the cost for making the cover by the user.
Example two
Fig. 5 is a functional block diagram of a content cover generator according to a second embodiment of the present invention. Compared with the first embodiment, in addition to the cover layout template obtaining module 1a, the material obtaining module 2a, the attribute setting module 3a, the drawing module 4a, the template library 5a and the material library 6a in the first embodiment, the content cover generator in the first embodiment further includes an association module 8a connected to the drawing module 4a for associating the cover picture drawn by the drawing module 4a with the content thereof, so as to facilitate the operation of putting the content on shelf. Thus, as shown in fig. 6, on the basis of the method shown in fig. 3, a step 6a of storing and associating the content cover picture with the corresponding content is further included. In this embodiment, a rendered content cover picture is automatically named as a file name corresponding to the content, for example, when the content is "XXX", the content cover picture is named as "XXX cover", and the content cover picture is stored in the same storage path of the content, so as to establish an association relationship between the picture and the content. In another embodiment, address parameters of the content and the cover thereof are acquired when the content is put on shelf, and the storage address of the picture of the cover of the content is written to the address in the address parameters, so that the association relationship between the picture and the content is established. Through the association, when the content is put on shelf, no additional operation is needed to associate the content and the cover thereof, so that the putting operation of the content is simplified.
EXAMPLE III
Fig. 7 is a functional block diagram of a content cover generator according to a third embodiment of the present invention. Compared with the second embodiment, the content cover generator in the present embodiment includes an beautification tool module 7b and an analysis module 9b, in addition to the cover layout template acquisition module 1b, the material acquisition module 2b, the attribute setting module 3b, the drawing module 4b, the template library 5b, the material library 6b, and the association module 8b similar to the second embodiment. The analysis module 9b is connected to the content database, reads the uploaded content from the content database according to the user registration information, and obtains one or more keywords from the content database, wherein the keywords may include a content name, an author of the content, a chapter list of the content, a part of the content of one or more chapters, and the like. Analyzing the keywords to determine one or more of content category, material, cover art and attribute information thereof. For example, the analysis module 9b determines the category of the content filled in the registration information by the user as the category of the front cover, and determines the content name and the author name as the case. The material style is determined according to the style of the author's previous works, the content of the content chapter catalog, the content in the chapters and the sentence style thereof, and one or more of the document attributes can also be determined, for example, the layout direction of the document is determined to be horizontal for the metropolitan style materials, the layout direction of the document is determined to be vertical according to the ancient style materials, and the like. The analysis module 9b is connected to the cover layout template acquisition module 1b, the material acquisition module 2b, and the attribute setting module 3b, and sends the analysis result to the cover layout template acquisition module 1b, the material acquisition module 2b, and the attribute setting module 3 b. The cover layout template acquisition module 1b acquires cover layout templates of corresponding categories from the template library 5b according to the content categories, and the material acquisition module 2b acquires corresponding materials from the material library according to the cover layout templates and in combination with the material styles acquired by the analysis module 9b, and sends the materials to the drawing module 4 b. The attribute setting module 3b determines all attribute information of the document according to the cover layout template and the obtained document, in combination with all or part of the document attributes obtained by the analysis module 9b, and sends the attribute information to the drawing module 4 b. The beautification tool module 7b in this embodiment also provides various picture beautification parameter values. Such as filters, palettes. The filter can provide different treatments of gray, color reversal, black and white, mosaic, sharpening and the like, the color palette can adjust the color tone of the picture, the moving picture and the short video, and the color tone of the picture is changed on the premise of keeping the current content of the picture, so that a special effect is obtained. In one embodiment, the beautification tool module 7b analyzes the finished picture drawn by the drawing module 4b to determine the beautification tools used and their parameter values to beautify the cover picture to better conform to the style of the work. And in the other direction, the beautifying tool module 7b is connected with the cover layout template acquisition module 1b, the material acquisition module 2b and the attribute setting module 3b, and determines a beautifying tool and parameter values thereof to beautify and beautify the finished pictures by combining the type, material style, file and attribute information of the template.
Correspondingly, FIG. 8 is a flow chart of a content cover generation method incorporating the functional block diagram of the content cover generator shown in FIG. 7. Compared with the embodiment, the content cover generation method in the embodiment includes:
in step S1b, the analysis module 9a reads the uploaded content, the user registration information, the configuration information, and the like from the content database, and obtains one or more keywords from the content database, where the keywords may include a content name, an author of the content, a chapter directory of the content, a partial content of one or more chapters, and the like.
Step S2b, the analysis module 9b analyzes the keywords and determines the keywords as the category, the file, the material style of the cover and the attribute information of all or part of the file.
In step S3b, the front cover layout template obtaining module 1b obtains a front cover layout template of the same type as the content type from the template library 5b, and sends the front cover layout template to the drawing module 4 b.
And 4b, the material obtaining module 2b obtains corresponding materials from a material library according to the cover layout template and the material style obtained by the analysis module 9b, and sends the corresponding materials to the drawing module 4 b.
And 5b, the attribute setting module 3b determines all attribute information of the document according to the cover layout template and the obtained document and by combining all or part of document attributes obtained by the analysis module 9b, and sends the attribute information to the drawing module 4 b.
And 6b, drawing the picture in the canvas by the drawing module 4b according to the received cover layout template, the received material, the received file and the attribute thereof.
And 7b, determining the beautifying tool and the beautifying parameter value thereof.
And 8b, processing the content cover picture according to the beautification tool and the beautification parameter value thereof.
And 9b, storing and associating the content cover picture and the corresponding content.
The embodiment can analyze the uploaded content, thereby determining the material and the file and enabling the finally obtained cover page picture to be more consistent with the content in the file and style. For the sake of simplicity, the beautifying tool is only described in this embodiment, and those skilled in the art should understand that the beautifying tool can also be applied to the solutions of the first embodiment and the second embodiment.
Example four
Fig. 9 is a functional block diagram of a content cover generator according to a fourth embodiment of the present invention. In this embodiment, the structure of the content cover generator may be the structure of the second or third embodiment, and the same description as the second or third embodiment is omitted here for the sake of brevity. The difference between the second embodiment and the third embodiment is that the drawing module draws a plurality of cover pictures. And the related module 8c is notified by the update module 10c according to the update condition to change the cover photograph related to the content. Wherein the update condition includes: the user changes one or more of the content cover picture, the reader's feedback assessment of the cover, or the update time.
Correspondingly, FIG. 10 is a flow chart of a content cover generation method incorporating the functional block diagram of the content cover generator shown in FIG. 9.
In step S1c, templates, materials, documents and their attribute information for drawing a predetermined number (e.g., n) of content cover pictures are determined. For example, according to the method shown in fig. 3, fig. 6 or fig. 8, when determining the template, n templates are determined, and then the material, the document and the attribute information thereof are determined for each template, or when determining one template, n materials, the corresponding document and the attribute information thereof are determined, or the same template and the same material are adopted, but different documents and the attribute information thereof are adopted, and the like, so that the templates, the materials, the documents and the attribute information thereof of n content cover pictures can be obtained. Of course, aesthetic tools and their parameter values may also be included.
And step S2c, drawing cover pictures according to the cover layout template, the materials, the files and the attribute information thereof respectively, thereby obtaining a plurality of cover pictures.
Step S3c, a cover picture is created to be associated with the content. For example, one cover picture is randomly determined from n cover pictures, and the association relationship between the cover picture and the content is established, so that the content cover picture associated with the content is used when the content is shelved.
And step S4c, judging whether the updating condition is met, if so, determining another cover picture in step S5c, returning to step S3c, and establishing the association relationship between the new cover picture and the content. If not, the association relationship between the original picture and the content is maintained in step 6 c. The update condition may be a preset update time, for example, the cover is replaced at a preset fixed time every day, as shown in the morning 6: 00 related cover picture 1, 10 am: 00 related cover picture 2; in the afternoon 2: 00 related cover picture 3; 6 in the afternoon: 00 associated cover picture 4 … …, and so on. Or the associated cover picture may be changed every three days. In another embodiment, the update condition may be that the user changes the cover picture, and the cover picture associated with the content is changed when the associated cover picture specified by the user is received. In another embodiment, the content cover picture associated with the content is updated at the web site according to the preset updating time, and feedback data of readers to the cover is collected, wherein the feedback data includes the click rate of the readers, the browsing amount and the like. And calculating the click rate and the click rate of the reader on the cover after a preset time, such as 3 days or 7 days, thereby determining the cover picture which is most attractive to the reader from the n cover pictures, and associating the cover picture with the content to serve as the jacket cover picture of the content. As previously described, the association is updated every 4 hours, i.e., each cover photograph is displayed for the same time, which is 4 hours, while in another embodiment, the association time of each cover photograph is modified based on user feedback for each cover photograph. For example, the association time of the corresponding cover pictures is determined from long to short in sequence according to the sequence of the click rate of the user from large to small, so that the display time of the cover pictures of more readers can be increased.
EXAMPLE five
Fig. 11 is a functional block diagram of a content cover generator according to a fifth embodiment of the present invention. Compared with the first to fourth embodiments, the present embodiment includes the user interface module 11d and the display module 12 d. The user interface module 11d is respectively connected to the cover layout template obtaining module 1d, the material obtaining module 2d, and the attribute setting module 3d, and is configured to provide a user operation interface, so that the content cover generator generates a content cover picture according to the setting of the user. When a user needs to determine a cover picture for the content on the shelf, the user interface module 11d calls the cover layout template acquisition module 1d to open the template library 5d, and selects a cover layout template from the template library. In one embodiment, the cover layout template in the template library 5d is a picture presented when it adopts default material and document attributes. When the user selects the template, the user can select the default material and the picture presented by the file attribute as reference through the template. When the user selects a template, the cover layout template acquisition module 1d sends the template to the drawing module 4 d.
The user calls the material acquisition module 2d through the user interface module 11d to open the material library 6d, and selects the materials meeting the requirements from the material library. The user can also call the attribute setting module 3d to set the file attributes in the template so as to adapt to the requirements of the works, for example, the position and the layout direction of the file in the cover can be changed; for a longer case, the user can select the line-changing position of the case, change the font of the case and the size of the word size; the color of the file can be changed, and the file is matched with the background to achieve better aesthetic effect. The user interface module 11d may be a setting interface corresponding to parameters in the template, such as a material parameter setting interface, a document attribute setting interface, and the like.
In order to enable the cover to have some special effects, the user calls the beautification tool module 7d through the user interface module 11d, selects an beautification tool, such as a filter or a palette, and sets beautification parameter values. The filter can make the current cover picture perform different processing such as gray, color reversal, black and white, mosaic, sharpening and the like, thereby beautifying the cover picture and better conforming to the style of the work. The color palette can adjust the color tone of the picture, the motion picture and the short video, and change the color tone of the picture on the premise of keeping the current content of the picture, thereby obtaining special effect. The beautification tool module 7d provides a default parameter value, and the user may choose to set a specific parameter value or to use the default parameter value.
The drawing module 4d is respectively connected with the cover layout template obtaining module 1d, the material obtaining module 2d, the attribute setting module 3d and the beautifying tool module 7d, and draws pictures in the canvas according to the obtained cover layout template, the obtained materials and the obtained attributes, and beautifies the drawn pictures by adopting beautifying tool parameter values.
Fig. 12 is a flowchart illustrating a content cover image generating method of a content cover image generator according to a fifth embodiment of the present invention. Referring to the functional block diagram of the content cover picture generator shown in fig. 11, the content cover picture generation method is explained as follows:
and step 1d, determining a cover layout template. When a user needs to determine a cover picture for the contents on the shelf, the user interface module 11d is used to call the cover layout template acquisition module 1a to open the template library 5a, and one cover layout template is selected from the template library. In one embodiment, the cover layout template in the template library 5a is a picture presented when it adopts default material and document attributes. When the user selects the template, the user can select the default material and the picture presented by the file attribute as reference through the template. When the user selects a template, the cover layout template acquisition module 1d sends the template to the drawing module 4 d.
And 2d, determining corresponding materials based on the material parameters. Because the cover layout template includes one or more material parameters and/or one or more document attribute parameters, when the user identifies the template, new material may be reassigned as needed. The material can be a background or other decorative patterns in the template. The user calls the material acquisition module 2d by using the user interface module 11d, and if a material parameter setting interface in the template is clicked, the material library 6d can be opened, and new materials are selected from the material library 6 d. Corresponding to the overall background material parameter 1, an overall background picture is selected, and corresponding to the local background material parameter 1, a picture, a pattern, a motion picture, a short video, or the like is selected. After the user selects the material, the material obtaining module 2d sends the material selected by the user to the drawing module 4 d.
And 3d, determining corresponding file attribute information based on one or more file attribute parameters. The cover layout template is preset with a document and an attribute parameter interface thereof, and a user can call the attribute setting module 3d for setting through the document and the attribute parameter interface thereof. For example, as shown in fig. 2A and 2B, the parameter setting interface in the template is connected to the attribute setting module 3d, and the user adds text, sets the position of text in the cover, the layout direction, the line feed position, the font, the color and the size of the font size, etc. by clicking the document parameter setting interface. The attribute setting module 3d sends these pieces of attribute information set by the user to the drawing module 4 d.
And 4d, determining beautification parameter values based on the beautification tools. In one embodiment, the user may set the corresponding parameter values through the beautification tool module 7a, for example, selecting one of "gray", "color", "reverse", "black and white", "mosaic", "sharpening" in the filter options, where each option corresponds to one parameter value. The beautification tool module 7d sends the corresponding parameter value to the drawing module 4 d.
And step 5d, the drawing module 4d draws the content cover picture according to the cover layout template, the received materials, the received file attribute information and the beautification parameter value.
And 6d, the drawing module 4d sends the drawn content cover picture to the display module 12d to be displayed to the user. If the user is satisfied with the current content cover picture, the content corresponding to the content cover picture is stored and associated at step S7 d. If the user is not satisfied, the matching procedure in steps S1d-S4d can be returned to for adjustment until the obtained cover picture is satisfied.
In the embodiment, after the user sets various parameters, the content cover picture is generated based on the setting of the user, and the generation efficiency of the cover picture is high.
Fig. 13 is a flowchart of another content cover photo generation method of the content cover photo generator according to the fifth embodiment. In this embodiment, the drawing module 4d may draw and display at any time. The content cover picture generation method of the embodiment comprises the following steps:
and step 1e, determining and displaying a cover layout template. The user can open the template library 5b using the cover layout template acquisition module 1b in the cover creator shown in fig. 5, and select one cover layout template therefrom. The cover layout template acquisition module 1b transmits the cover layout template selected by the user to the drawing module 4 b. The drawing module 4b draws on the canvas according to the default material, the default document and the attribute information thereof of the cover layout template, and displays the drawn draft to the user through the display module 9 b.
And 2e, determining corresponding materials based on the material parameters. After determining the template, the user may re-designate a new material as needed, such as the cover layout template shown in fig. 2A and 2B, the user may re-set the overall background material parameter 1, the local background material parameter 1, and the like, and the material acquisition module 2d sends the material re-set by the user to the drawing module 4 d; or as shown in fig. 3A and 3B, the user may reset the materials of different layers, and the material obtaining module 2d sends the materials reset by the user and the corresponding layer identifiers to the drawing module 4 d.
And 3e, replacing the corresponding part in the draft by the determined material and displaying. For the template shown in fig. 2A, 2B, the drawing module 4d determines the corresponding material in the draft corresponding to the received material, and then redraws it. For the template shown in fig. 3A and 3B, the drawing module 4d redraws the layer corresponding to the layer identifier according to the received material. After the drawing is completed, it is displayed to the user through the display module 9 d. The user can immediately see what effect his selected material is exhibiting and, if not satisfied, can reset it. The process can be repeated multiple times until the immediate user is satisfied.
And 4e, determining corresponding file attribute information based on one or more file attribute parameters. Similarly, the user can call the attribute setting module 3d to set the document and the attribute information thereof, and send the set document and the attribute information thereof to the drawing module 4 d.
And 5e, replacing the corresponding part in the draft by the file and the attribute information thereof set by the user and displaying the file and the attribute information. The drawing module 4d replaces the document in the draft with the received document and the attribute information thereof, and modifies the document attribute in the draft according to the attribute information. And displays the modified draft to the user through the display module 9 d.
And 6e, determining beautification parameter values based on the beautification tools. The user sets corresponding parameter values through the beautification tool module 7d and sends the corresponding parameter values to the drawing module 4 d.
And 7e, beautifying the current draft based on the beautification parameter value and displaying. The drawing module 4d performs corresponding processing on the current cover picture draft according to the received beautification parameter values, and displays the processed final draft to the user through the display module 9 d. This process can be performed a plurality of times also according to the degree of satisfaction of the user. And determining the cover picture final draft after the user is satisfied.
And 8e, storing and associating the content cover picture and the corresponding content. Through the multiple modifications in the foregoing steps 1e to 7e, after the user is satisfied, the current cover draft can be determined as the cover picture final draft, and when the user clicks to determine the final draft, the association module 8d stores the final draft to the designated position and establishes an association relationship with the content thereof, so as to facilitate the operation of putting the content on shelf.
The scheme provided by the embodiment can enable a user to check the setting result while setting, and enable the user to see the set cover effect and make adjustment in time.
According to the invention, the template library and the material library are provided, the content cover pictures can be generated automatically or under the operation of a user, the template adopts the design style of the cover of the existing commonly used book, and the designer presets parameters such as the cover base picture or background material, fonts and typesetting style, even personnel without professional design ability can easily and massively manufacture the beautiful cover pictures meeting the requirements based on the preset template style, and the purpose of producing the novel cover in a production line manner can be realized, so that the content shelving efficiency of an author is improved, and in a further scheme, the content can be adjusted according to the feedback of readers after being shelved, so that the purpose of attracting more readers is achieved.
The above embodiments are provided only for illustrating the present invention and not for limiting the present invention, and those skilled in the art can make various changes and modifications without departing from the scope of the present invention, and therefore, all equivalent technical solutions should fall within the scope of the present invention.

Claims (23)

1. A web front end based content cover generator comprising:
a cover layout template acquisition module configured to determine a cover layout template comprising one or more material parameters and/or one or more documents and their attribute parameters;
a material acquisition module configured to acquire a material specified according to the material parameter;
an attribute setting module configured to acquire a document and attribute information thereof specified according to the one or more documents and attribute parameters thereof; and
and the drawing module is configured to generate a content cover picture according to the cover layout template according to the materials and/or the file and the attribute information thereof.
2. The content cover generator of claim 1, further comprising a user interface module configured to interface with the cover layout template acquisition module, the material acquisition module, and the attribute setting module to allow a user to specify a cover layout template, material, document, and attributes thereof.
3. The content cover generator of claim 2, further comprising a display module configured to couple to the rendering module for displaying a cover picture.
4. The content cover generator of claim 1, wherein the cover layout template acquisition module is further configured to determine a cover layout template in the template library corresponding to a content category according to the determined content category.
5. The content cover generator of claim 4, further comprising an analysis module configured to obtain one or more keywords of content or content configuration information from which to determine one or more of a content category, stories, cover copy and attribute information thereof.
6. The content cover generator of claim 5, wherein the keywords comprise one or more of a content name, an author of the content, a chapter list of the content, a portion of the content of one or more chapters.
7. The content cover generator of claim 1, wherein the cover layout template comprises a plurality of layers associated with the material parameters and the document parameters, respectively.
8. The content cover generator of claim 1, further comprising an beautification tool module configured to obtain a specified value of an beautification tool parameter based on a user setting, a default setting, or an analytically determined setting for an beautification tool parameter.
9. The content cover generator of claim 1, further comprising an association module configured to store the rendered content cover picture in a content database and to establish an association of the content cover picture with its content.
10. The content cover generator of claim 9, wherein the drawing module is further configured to generate one or more cover pictures.
11. The content cover generator according to claim 11, further comprising an update module configured to be connected to the association module for updating the content cover picture associated with the content when the update condition is satisfied.
12. A content cover generation method based on a web front end comprises the following steps:
determining a cover layout template, wherein the cover layout template comprises one or more material parameters or/and a file and attribute parameters thereof;
acquiring a material designated according to the material parameters;
acquiring a file and attribute information thereof designated according to one or more files and attribute parameters thereof; and
and drawing a content cover picture according to the cover layout template according to the designated materials and/or the designated files and the attribute information thereof.
13. The content cover generation method according to claim 12, further comprising:
acquiring a cover layout template designated by a user through a user interface;
acquiring a material designated by a user through a user interface;
acquiring a document input by a user and set document attribute information; and
and drawing a content cover picture according to the cover layout template, the obtained materials, the obtained files and the attribute information of the files.
14. The content cover generation method according to claim 12, further comprising:
acquiring a content name, an author name of the content and a content type from content configuration information of a content library;
determining a cover layout template according to the content category;
acquiring default materials of the cover layout template or determining the materials according to the content category;
taking the content name and the author name of the content as a file;
acquiring default case parameter information of the cover layout template or determining case parameter information according to the determined case; and
and drawing a cover picture according to the determined cover layout template according to the obtained materials, the obtained documents and the parameter information thereof.
15. The content cover generation method according to claim 12, further comprising:
reading a content name, an author name of the content, a chapter directory of the content, or partial content of one or more chapters from a content library to obtain one or more keywords of the content;
analyzing the keywords to determine content categories and documentaries;
determining a cover layout template according to the content category;
acquiring materials according to the content category, or determining the materials according to the content category and the content style determined by referring to the keywords;
taking default file attribute information of the cover layout template as file attribute information, or analyzing the determined file to determine file attribute information; and
and drawing a cover picture according to the determined cover layout template according to the determined materials, the determined files and the attribute information thereof.
16. The content cover creation method of any one of claims 12 to 15, further comprising: and after the content cover picture is drawn, storing the content cover picture into a content database, and establishing the association between the content cover picture and the content.
17. The content cover generation method according to claim 16, further comprising: generating a plurality of content cover pictures by determining one or more of a plurality of content categories, a plurality of materials of the same category, a plurality of documents, and a plurality of document attribute information.
18. The content cover generation method according to claim 17, further comprising: and acquiring updating data, and updating the content cover picture associated with the content when the updating condition is met.
19. The content cover generation method according to claim 18, wherein the update condition includes: the user changes one or more of the content cover picture, the reader's feedback assessment of the content cover picture, or the update time.
20. The content cover generation method according to claim 12, wherein the cover layout template includes a plurality of layers respectively associated with the material parameters and the document parameters; when drawing the content cover picture, the method further comprises the following steps: and establishing a corresponding layer on the canvas according to the incidence relation among the material, the file and the layer, and drawing the obtained material and the file into the corresponding layer.
21. The content cover generation method according to claim 12, further comprising: when the cover layout template is obtained, drawing default materials and default documents corresponding to the template on corresponding layers on canvas respectively to form a cover picture draft; and when the materials and/or the documents and the attribute information thereof which are appointed or analyzed by the user are acquired, the corresponding image layers in the canvas are changed by adopting the materials and/or the documents and the attribute information thereof which are appointed or analyzed by the user so as to change the draft of the content cover picture.
22. The content cover generation method as claimed in claim 21, further comprising: and displaying the cover picture draft.
23. The content cover generation method as claimed in claim 22, further comprising: and displaying the changed cover picture draft when the canvas layer is changed every time.
CN202011148278.5A 2020-10-23 2020-10-23 Content cover generator and method based on web front end Pending CN112257406A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011148278.5A CN112257406A (en) 2020-10-23 2020-10-23 Content cover generator and method based on web front end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011148278.5A CN112257406A (en) 2020-10-23 2020-10-23 Content cover generator and method based on web front end

Publications (1)

Publication Number Publication Date
CN112257406A true CN112257406A (en) 2021-01-22

Family

ID=74261663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011148278.5A Pending CN112257406A (en) 2020-10-23 2020-10-23 Content cover generator and method based on web front end

Country Status (1)

Country Link
CN (1) CN112257406A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113065319A (en) * 2021-03-23 2021-07-02 北京达佳互联信息技术有限公司 Text generation method and device
CN113157972A (en) * 2021-04-14 2021-07-23 北京达佳互联信息技术有限公司 Recommendation method and device for video cover documents, electronic equipment and storage medium
CN113256338A (en) * 2021-05-31 2021-08-13 天津车之家数据信息技术有限公司 Creative generation method, system and computing equipment
CN115272530A (en) * 2022-06-09 2022-11-01 知学云(北京)科技股份有限公司 Intelligent dynamic cover synthesis method and system for enterprise online education
CN117056630A (en) * 2023-08-28 2023-11-14 广东保伦电子股份有限公司 Webpage layout picture display method, system, terminal equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090064003A1 (en) * 2007-08-30 2009-03-05 Jonathan Harris Method and System for Creating Theme, Topic, and Story-Based Cover Pages
US20140075296A1 (en) * 2012-09-12 2014-03-13 Flipboard, Inc. Generating a Cover for a Section of a Digital Magazine
CN108230090A (en) * 2017-12-12 2018-06-29 阿里巴巴集团控股有限公司 Page generation method, device and electronic equipment
CN108428159A (en) * 2018-05-08 2018-08-21 多盟睿达科技(中国)有限公司 A kind of method and system based on template construct advertisement
CN108694602A (en) * 2017-04-11 2018-10-23 阿里巴巴集团控股有限公司 Promotional literature generation method and device
CN109308729A (en) * 2017-07-27 2019-02-05 阿里巴巴集团控股有限公司 Picture synthesizes processing method, apparatus and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090064003A1 (en) * 2007-08-30 2009-03-05 Jonathan Harris Method and System for Creating Theme, Topic, and Story-Based Cover Pages
US20140075296A1 (en) * 2012-09-12 2014-03-13 Flipboard, Inc. Generating a Cover for a Section of a Digital Magazine
CN108694602A (en) * 2017-04-11 2018-10-23 阿里巴巴集团控股有限公司 Promotional literature generation method and device
CN109308729A (en) * 2017-07-27 2019-02-05 阿里巴巴集团控股有限公司 Picture synthesizes processing method, apparatus and system
CN108230090A (en) * 2017-12-12 2018-06-29 阿里巴巴集团控股有限公司 Page generation method, device and electronic equipment
CN108428159A (en) * 2018-05-08 2018-08-21 多盟睿达科技(中国)有限公司 A kind of method and system based on template construct advertisement

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113065319A (en) * 2021-03-23 2021-07-02 北京达佳互联信息技术有限公司 Text generation method and device
CN113065319B (en) * 2021-03-23 2023-11-28 北京达佳互联信息技术有限公司 Text generation method and device
CN113157972A (en) * 2021-04-14 2021-07-23 北京达佳互联信息技术有限公司 Recommendation method and device for video cover documents, electronic equipment and storage medium
CN113157972B (en) * 2021-04-14 2023-09-19 北京达佳互联信息技术有限公司 Recommendation method and device for video cover document, electronic equipment and storage medium
CN113256338A (en) * 2021-05-31 2021-08-13 天津车之家数据信息技术有限公司 Creative generation method, system and computing equipment
CN113256338B (en) * 2021-05-31 2021-11-09 天津车之家数据信息技术有限公司 Creative generation method, system and computing equipment
CN115272530A (en) * 2022-06-09 2022-11-01 知学云(北京)科技股份有限公司 Intelligent dynamic cover synthesis method and system for enterprise online education
CN117056630A (en) * 2023-08-28 2023-11-14 广东保伦电子股份有限公司 Webpage layout picture display method, system, terminal equipment and medium

Similar Documents

Publication Publication Date Title
US9077823B1 (en) Systems and methods for automatically generating a photo-based project having a flush photo montage on the front cover
CN112257406A (en) Content cover generator and method based on web front end
US8990672B1 (en) Flexible design architecture for designing media-based projects in a network-based platform
CN110266971B (en) Short video making method and system
US8958662B1 (en) Methods and systems for automating insertion of content into media-based projects
US9219830B1 (en) Methods and systems for page and spread arrangement in photo-based projects
US10049477B1 (en) Computer-assisted text and visual styling for images
DE102018007937A1 (en) Remove and replace objects in images according to a guided user dialog
US7995071B2 (en) Method and apparatus for painting group of objects
US7216092B1 (en) Intelligent personalization system and method
DE102017010210A1 (en) Image Matting by means of deep learning
US20170024404A1 (en) System and Method for Dynamic Predictive Analytics for Pattern Search and Publishing Engine for with Constraint Satisfaction
CN107943924B (en) Method for automatically generating webpage theme, storage medium and electronic equipment
Manovich The aesthetic society: or how I edit my Instagram 1
CN110084871B (en) Image typesetting method and device and electronic terminal
US20170024403A1 (en) System and Method for Dynamic Predictive Analytics for Pattern Search and Publishing Engine for Responsive Graphical Design
CN114997105A (en) Design template, material generation method, computing device and storage medium
CN114820292A (en) Image synthesis method, device, equipment and storage medium
CN104156471A (en) Recommending processing method and system for automatic online decorative painting synthesis
Reimann et al. Locally controllable neural style transfer on mobile devices
CN116954605A (en) Page generation method and device and electronic equipment
CN115272530B (en) Intelligent dynamic cover synthesis method and system for enterprise online education
JP4127140B2 (en) Document processing apparatus, document processing program, and document processing apparatus control method
Gao et al. PencilArt: a chromatic penciling style generation framework
CN113269583A (en) Content production method and device and electronic equipment

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210122

WD01 Invention patent application deemed withdrawn after publication