CN112637633B - Program generating method and program generating device - Google Patents

Program generating method and program generating device Download PDF

Info

Publication number
CN112637633B
CN112637633B CN202010516730.2A CN202010516730A CN112637633B CN 112637633 B CN112637633 B CN 112637633B CN 202010516730 A CN202010516730 A CN 202010516730A CN 112637633 B CN112637633 B CN 112637633B
Authority
CN
China
Prior art keywords
program
media
sample
generating
materials
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010516730.2A
Other languages
Chinese (zh)
Other versions
CN112637633A (en
Inventor
李燕
韩丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic 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 Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN202010516730.2A priority Critical patent/CN112637633B/en
Publication of CN112637633A publication Critical patent/CN112637633A/en
Application granted granted Critical
Publication of CN112637633B publication Critical patent/CN112637633B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The embodiment of the invention discloses a program generation method and a program generation device. The program generation method comprises the following steps: acquiring media materials and program parameter information; identifying media material characteristic information of the media material; generating a program layout generating model according to the sample program set; generating a program layout set according to the program parameter information, the media material characteristic information and a program layout generation model, wherein the program layout set comprises at least two program layouts; generating a program set to be selected according to the program layout set and the media material; and determining a target program according to the program set to be selected. The embodiment of the invention can improve the program production efficiency.

Description

Program generating method and program generating device
Technical Field
The present invention relates to the field of program editing technologies, and in particular, to a program generating method and a program generating device.
Background
In the LED industry, with increasing diversity of advertisement contents, advertisement delivery amounts are increasing, and program contents played by LEDs become different in style. How to make composite program content, integrate and display various media resource materials, which are all places where program editors need to pay attention. And the comprehensive typesetting design of the program content often requires a producer to have stronger planar design capability, can be quickly edited and produced according to the screen size and shape, and is reasonably arranged so as to realize more satisfactory playing and displaying effects. And the design scheme is usually formulated by a person with special design, and the design scheme can be completed only after a period of time, so that the actual use efficiency of a customer can be influenced. In addition, the program production must be completed by a professional designer, which has high requirements for operators, and the playing effect is irregular due to various factors such as experience of the producer.
Therefore, how to improve the program production efficiency is a technical problem to be solved.
Disclosure of Invention
Therefore, in order to overcome the defects and shortcomings in the prior art, the embodiment of the invention provides a program generation method and a program generation device, so as to improve the program production efficiency.
In one aspect, a program generating method provided by an embodiment of the present invention includes: acquiring media materials and program parameter information, and generating a program layout generating model according to a sample program set; identifying media material characteristic information of the media material; generating a program layout set according to the program parameter information, the media material characteristic information and the program layout generation model, wherein the program layout set comprises at least two program layouts; generating a program set to be selected according to the program layout set and the media material; and determining a target program according to the program set to be selected.
In the scheme, the media material and the program parameter information are firstly acquired, then the media material characteristic information of the media material is identified, then the program layout generation model is generated according to the sample program set, then the program layout set is generated according to the program parameter information, the media material characteristic information and the program layout generation model, next, the program set to be selected is generated according to the program layout set and the media material, and finally the target program is determined according to the program set to be selected.
In one embodiment of the present invention, the generating a program layout generating model according to the sample program set specifically includes: acquiring sample program parameter information of each sample program in the sample program set; determining sample media material characteristic information of sample media materials included in each sample program and sample program layout of each sample program; and generating the program layout generation model through an artificial neural network algorithm according to the sample program parameter information, the sample program layout and the sample media material characteristic information.
In one embodiment of the present invention, after the determining the target program according to the set of programs to be selected, the program generating method further includes: and in response to the user determining the media materials to be replaced and selecting the target materials in the media materials, replacing the target materials with the media materials to be replaced, and adjusting the size of the media materials to be replaced so that the size of the media materials to be replaced after adjustment is the same as the size of the target materials in the target program.
In one embodiment of the present invention, the media materials are at least two, and after the determining the target program according to the set of programs to be selected, the program generating method further includes: and in response to the user's size adjustment of a target media material in the at least two media materials, according to the size change of the target media material, adjusting the sizes of other media materials except the target material in the target program so that the size change of the other media materials is consistent with the size change of the target media material.
In one embodiment of the present invention, the media material includes text, and the media material characteristic information includes the number of words and font size of the text; and/or, the media material comprises a picture, and the media material characteristic information comprises: the pixel size of the picture, and the type, number and position information of the elements included in the picture, wherein the identifying the media material feature information of the media material specifically includes: preprocessing the picture to obtain a preprocessed picture, extracting and classifying elements in the preprocessed picture to determine the type, the number and the position information of the elements, wherein the preprocessing comprises denoising, transformation or smoothing.
In one embodiment of the present invention, the program parameter information includes a program play location, a program topic, and a program play screen size.
On the other hand, an embodiment of the present invention provides a program generating apparatus, including: the acquisition and identification module is used for acquiring media materials and program parameter information and identifying media material characteristic information of the media materials; the model generation module is used for generating a program layout generation model according to the sample program set; the layout set generating module is used for generating a program layout set according to the program parameter information, the media material characteristic information and the program layout generating model, wherein the program layout set comprises at least two program layouts; the program set generating module is used for generating a program set to be selected according to the program layout set and the media materials; and the determining module is used for determining a target program according to the program set to be selected.
In the scheme, the program generating device firstly acquires the media material and the program parameter information, then identifies the media material characteristic information of the media material, then generates a program layout generating model according to the sample program set, then generates a program layout set according to the program parameter information, the media material characteristic information and the program layout generating model, then generates a program set to be selected according to the program layout set and the media material, and finally determines a target program according to the program set to be selected, so that intelligent automatic layout of the program is realized, manual operation and repeated adjustment by an operator are not needed, and the manufacturing efficiency of the program is greatly improved.
In one embodiment of the present invention, the model generating module specifically includes: an acquisition unit configured to acquire sample program parameter information of each sample program in the sample program set; a determining unit configured to determine sample media material feature information of a sample media material included in the each sample program and a sample program layout of the each sample program; and the model generating unit is used for generating the program layout generating model through an artificial neural network algorithm according to the sample program parameter information, the sample program layout and the sample media material characteristic information.
In one embodiment of the present invention, the program generating apparatus further includes a media material replacement module for: and in response to the user determining the media materials to be replaced and selecting the target materials in the media materials, replacing the target materials with the media materials to be replaced, and adjusting the size of the media materials to be replaced so that the size of the media materials to be replaced after adjustment is the same as the size of the target materials in the target program.
In one embodiment of the present invention, the media materials are at least two, wherein the program generating device further includes a resizing module: and the device is used for responding to the size adjustment of a user on the target media materials in the at least two media materials, and adjusting the sizes of other media materials except the target materials in the target program according to the size change of the target media materials so that the size change of the other media materials is consistent with the size change of the target media materials.
The above technical solution may have the following advantages or benefits: firstly, media material and program parameter information are acquired, then, media material characteristic information of the media material is identified, then, a program layout generation model is generated, then, a program layout set is generated according to the program parameter information, the media material characteristic information and the program layout generation model, next, a program set to be selected is generated according to the program layout set and the media material, and finally, a target program is determined according to the program set to be selected, so that intelligent automatic layout of the program is realized, manual operation and repeated adjustment by operators are not needed, and the program manufacturing efficiency is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a program generating method according to a first embodiment of the present invention.
Fig. 2 is a specific flowchart of step S12 in fig. 1.
Fig. 3 is a flowchart of another program generating method according to the first embodiment of the present invention.
Fig. 4 is a flowchart of yet another program generating method according to the first embodiment of the present invention.
Fig. 5 is a schematic diagram of a media material resizing process to which the program generating method of the first embodiment of the present invention is applied.
Fig. 6 is a schematic block diagram of a program generating apparatus according to a second embodiment of the present invention.
Fig. 7 is a schematic diagram of a unit structure of the model generation module in fig. 6.
Fig. 8 is a schematic block diagram of another program generating apparatus according to a second embodiment of the present invention.
Fig. 9 is a schematic block diagram of a program generating apparatus according to a second embodiment of the present invention.
Fig. 10 is a schematic structural diagram of a program generating system according to a third embodiment of the present invention.
Fig. 11 is a schematic structural diagram of a computer readable storage medium according to a fourth embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
[ first embodiment ]
Referring to fig. 1, a program generating method according to a first embodiment of the present invention is shown. The program generation method includes, for example, the steps of:
s11, acquiring media materials and program parameter information, and identifying media material characteristic information of the media materials;
s12, generating a program layout generation model according to the sample program set;
s13, generating a program layout set according to the program parameter information, the media material characteristic information and the program layout generation model, wherein the program layout set comprises at least two program layouts;
s14, generating a program set to be selected according to the program layout set and the media materials; and
s15, determining target programs according to the program set to be selected.
In order to facilitate understanding of the present invention, the program generating method according to the present embodiment will be described in detail below, and the program generating method according to the present embodiment may be implemented by software installed on a PC, for example, program creation software.
First, in response to an input operation by a user, the program production software acquires media material and program parameter information, and identifies media material characteristic information of the media material (corresponding to step S11 in fig. 1). The media material comprises texts and/or pictures, and the character information of the media material comprises the number of words and the font size of the texts under the condition that the media material is the texts; in the case that the media material is a picture, the media material characteristic information includes: the pixel size of the picture, and the type, number, and location information of the elements included in the picture. The identifying the media material characteristic information of the media material specifically comprises the following steps: preprocessing the picture to obtain a preprocessed picture, extracting and classifying elements in the preprocessed picture to determine the type, the number and the position information of the elements, wherein the preprocessing comprises denoising, transformation or smoothing.
In view of the foregoing, the program parameter information includes, for example, a program playing location, such as a mall, a school, a hospital, a casino, etc., a program theme, such as a commercial advertisement, a government propaganda, an information notice, and a program playing screen size, which is specific size information of a program playing carrier, that is, a screen. In the case that the media material is a picture, the corresponding media material characteristic information may include, for example, a pixel size of the picture, and types, numbers, and location information of elements included in the picture, for example, if the content of one picture is that a girl is in the middle of the picture, the media material characteristic information herein includes: the pixel size of the picture and the types of the elements included in the picture are characters, the number of the elements is 1, the specific position information of the elements is in the middle of the picture, and of course, the characteristic information of the media material can also include the duty ratio of the elements in the picture, and the like, and of course, the types of the elements can also be scenery, animals, and the like.
Then, the program production software generates a program layout generation model (corresponding to step S12 in fig. 1) from the sample program set, as shown in fig. 2, which may include steps S120 to S122, for example.
In response to the user input of the sample program set, the program creation software obtains sample program parameter information for each sample program in the sample program set, step S120. The sample program set is, for example, a large number of programs obtained from a program database, and the sample program parameter information includes, for example, a program broadcasting location, a program theme, and a program broadcasting screen size. For example, the program playing place is a market, a school, a hospital, a recreation ground, etc., the program subject is a commercial advertisement, a government propaganda, an information notice, and the program playing screen size is specific size information of the program playing carrier, i.e. the screen. Generally, when a user obtains a sample program set, the sample program set is marked according to a specific application of the sample program set, so that the sample program set has an attribute related to sample program parameter information, and therefore, program making software can obtain sample program parameter information of the sample program set correspondingly when the sample program set is obtained.
In step S121, the program creation software determines sample media material feature information of the sample media material included in the each sample program and a sample program layout of the each sample program. The characteristic information of the sample media material is specific characteristics of the sample media material. Here, the sample media material may include text and/or pictures. In the case where the sample media material is text, the corresponding sample material feature information may include, for example, the number of text words, the font size, and the like. In the case that the sample media material is a picture, the corresponding sample media material feature information may include, for example, a pixel size of the picture, and types, numbers, and location information of elements included in the picture, for example, if the content of one picture is that a girl is in the middle of the picture, the sample media material feature information herein includes: the pixel size of the sample picture and the types of the elements included in the picture are characters, the number of the elements is 1, the specific position information of the elements is in the middle of the picture, and of course, the characteristic information of the sample media material can also include the duty ratio of the elements in the picture, and the like, and of course, the types of the elements can also be scenery, animals, and the like. Here, the specific procedure of determining the sample media material characteristic information of the sample media material included in each sample program is similar to the above description about the procedure of identifying the media material characteristic information of the media material in step S11, and will not be described in detail.
In view of the foregoing, the sample program layout, that is, the position information of each sample media material in the sample program, currently, the position of the media material in editing the program may be represented by a rectangular area, and in particular, may be defined by the vertex coordinates, the width and the height of the rectangular area, so that the specific position of each media material may be uniquely defined by the vertex, the width and the height of the rectangular area. Of course, other manners may be used to represent the sample program layout of the sample program, and embodiments of the present invention are not limited in detail.
Further, in generating a program layout generation model, the sample material feature information and the sample program layout may be input to the program production software by manually processing the sample program to obtain related information, for example, by manually marking the content (including text and/or pictures) of each sample program to determine the features (e.g., characters, things, scenes, animals, text, etc.) of the sample program and manually obtaining the specific layout of each sample program. Of course, the sample material characteristic information can also be realized by identifying the sample program by using software, for example, taking a picture as an example, the software can obtain the specific pixel size of the picture when reading the picture, then the software performs preprocessing such as drying, transformation, smoothing and other operations on the picture based on a picture identification algorithm to make element information in the picture prominent, and further determines the specific information of the element in the picture, namely the program material characteristic information, by extracting and identifying the element in the picture after the preprocessing; in general, the program editing software stores layout information of each sample media material in the sample program when the sample program is created, that is, specific position information and specific size information of each sample media material in the current program, so that the sample program layout can be obtained by identifying the sample program by the software.
Step S122, the program making software generates the program layout generating model according to the sample program parameter information, the sample program layout and the sample media material characteristic information through an artificial neural network algorithm. Specifically, the process of generating the program layout generation model is implemented by training related information (specifically, sample program parameter information, sample program layout and sample media feature information) of a sample program set based on the artificial neural network algorithm, and the program layout generation model associates the sample program parameter information, the sample program layout and the sample media material feature information, so that the program layout corresponding to the media material feature information and the program parameter information can be determined by inputting the determined media material feature information and the determined program parameter information into the program layout generation model.
The program making software generates a program layout set according to the program parameter information, the media material characteristic information and the program layout generation model, wherein the program layout set comprises at least two program layouts. The program layout specifically includes specific location information of all the included media materials, such as vertex, height and width information of the media materials in the program.
And then, the program making software generates a set of programs to be selected according to the program layout set and the media materials for the user to select, and after responding to the selection of the set of programs to be selected by the user, the program making software determines a target program according to the set of programs to be selected.
In one embodiment of the present invention, as shown in fig. 3, after the determining the target program according to the set of programs to be selected, the program generating method further includes: s16, in response to the user determining the media materials to be replaced and selecting target materials in the media materials, replacing the target materials with the media materials to be replaced, and adjusting the size of the media materials to be replaced so that the size of the media materials to be replaced after adjustment is the same as the size of the target materials in the target program, wherein the media materials to be replaced are media materials which the user wants to put into the target program. In the technical scheme, the program making software responds to the operation of the user, automatically changes the media materials according to the original typesetting, does not need the user to change the size and position of the media materials, and rapidly generates programs required by the user, thereby improving the making efficiency of the programs.
In one embodiment of the present invention, the media materials are at least two, and as shown in fig. 4, after the determining the target program according to the set of programs to be selected, the program generating method further includes: and S17, in response to the size adjustment of the target media materials in the at least two media materials by the user, according to the size change of the target media materials, adjusting the sizes of other media materials except the target materials in the target program so that the size change of the other media materials is consistent with the size change of the target media materials. The at least two media materials may be pictures, or words, or a part of the at least two media materials is a picture and a part of the at least two media materials is a word, which is not limited herein. For example, as shown in fig. 5, the current program includes two media materials, specifically, a text and a picture, where the text is located on the picture, and after the user adjusts the size of the picture, the program creation software automatically adjusts the size of the text according to the size change of the picture so that the size change of the text is consistent with the size change of the picture (i.e., the size change of the text in fig. 5 is consistent with the size change of the picture), thereby reducing the workload of the user and improving the program creation efficiency. Here, dimensional change is uniform, for example, as a scaling of a material.
In addition, the program making software can analyze and determine the preference and habit style of the user according to the program made by each user, so that the program layout generating model is adjusted, and the program layout generating model can output the corresponding program layout according to the preference and habit style of the user, thereby improving the user experience. For example, the program creation software analyzes and finds that a program created by a user is a character picture above and a text below, then based on the habit of the user, the user selects a character picture and inputs the text, and the program creation software creates the program according to the layout, i.e. the picture above and the text below. The programming software may, for example, provide the user with three options: option a, the picture occupies 80% on the top and the text 20% on the bottom; option B, the picture is 70% above, the text is 30% below; and C, the picture accounts for 60% on the top and the text accounts for 40% on the bottom, so that the user can select the picture, and the user experience is improved.
In addition, the program layout generating model may be a series of program layout templates obtained by identifying sample programs manually or by software, and specific styles of the program layout templates are related to sample program parameter information of the sample programs and sample media material characteristic information of the specific sample programs. The program making software can store sample program parameter information, sample program layout and sample media material characteristic information in a mode of establishing a relational database and the like, so that the program parameter information and the media material characteristic information can be matched according to the established relational database under the condition of determining the program parameter information and the media material characteristic information in the follow-up process so as to determine a program layout template matched with the program parameter information and the media material characteristic information in the relational database, and therefore a program is generated according to the program layout template. For example, for the current sample program C, which includes two media materials, picture 1 and picture 2, wherein the type of the element of picture 1 is a person, the type of the element of picture 2 is a landscape, and the sample program parameter information corresponding to the current sample program a is specifically: the playing place is a market, the program subject is a commercial advertisement, the program playing screen size is 1080pixel, the layout of the sample program is left-right layout, specifically, picture 1 is at the left side of the program, picture 2 is at the right side of the program, the program making software stores the information, so that after the user inputs two pictures, the characteristic information of the two pictures is matched with the characteristic information of the picture 2 and the picture parameter information selected by the user is matched with the program parameter information, the program making software fills the two pictures to proper positions according to the specific characteristic information of the pictures so as to generate the program.
In summary, in the embodiment of the invention, the media material and the program parameter information are firstly obtained, then the media material characteristic information of the media material is identified, then the program layout set is generated according to the program parameter information, the media material characteristic information and the program layout generation model, then the program layout set and the media material are generated, and finally the target program is determined according to the program set to be selected, so that the intelligent automatic layout of the program is realized, the manual operation and repeated adjustment of an operator are not required, and the manufacturing efficiency of the program is greatly improved.
[ second embodiment ]
As shown in fig. 6, a second embodiment of the present invention provides a program generating apparatus 200. The program generation apparatus 200 includes an acquisition and identification module 202, a model generation module 204, a layout set generation module 206, a program set generation module 208, and a determination module 210.
Specifically, the acquiring and identifying module 202 is configured to acquire media materials and program parameter information, and identify media material characteristic information of the media materials;
the model generating module 204 is configured to generate a program layout generating model according to the sample program set;
the layout set generating module 206 is configured to generate a program layout set according to the program parameter information, the media material feature information, and the program layout generation model, where the program layout set includes at least two program layouts;
the program set generating module 208 is configured to generate a set of programs to be selected according to the program layout set and the media material; and
the determining module 210 is configured to determine a target program according to the set of programs to be selected.
In one embodiment of the present invention, as shown in fig. 7, the model generating module 204 may include, for example, an obtaining unit 2040, a determining unit 2041, and a model generating unit 2042.
Wherein the obtaining module 2040 is configured to obtain sample program parameter information of each sample program in the sample program set, for example; the determining module 2041 is configured to determine, for example, sample media material feature information of sample media materials included in the each sample program and a sample program layout of the each sample program; and the model generation unit 2042 is for example for generating the program layout generation model from the sample program parameter information, the sample program layout, and the sample media material feature information.
In a specific embodiment of the present invention, as shown in fig. 8, the program generating apparatus 200 further includes a media material replacing module 212, configured to: and in response to the user selecting a target media material in the media materials as a target material, replacing the target material with a media material to be replaced, and adjusting the size of the media material to be replaced so that the size of the media material to be replaced after adjustment is the same as the size of the target material in the target program.
In one embodiment of the present invention, the media materials are at least two, as shown in fig. 9, the program generating apparatus 200 further includes a resizing module 214 for: and in response to the user's size adjustment of a target media material in the at least two media materials, according to the size change of the target media material, adjusting the sizes of other media materials except the target material in the target program so that the size change of the other media materials is consistent with the size change of the target media material.
The specific working process and technical effects between the modules in the program generating apparatus 200 in this embodiment refer to the description of the related steps in the foregoing first embodiment, and are not repeated here.
[ third embodiment ]
As shown in fig. 10, a third embodiment of the present invention provides a program generation system 300. The program generation system 300 includes, for example, a memory 310 and a processor 330 coupled to the memory 310. The memory 310 may be, for example, a non-volatile memory, on which the computer program 311 is stored. The processor 330 executes the program generating method provided by the foregoing first embodiment when running the computer program 311.
[ fourth embodiment ]
As shown in fig. 11, a fourth embodiment of the present invention provides a computer-readable storage medium 400 storing computer-executable instructions 410. The computer-executable instructions 410 are for performing the program generating method as in the first embodiment described above. The computer-readable storage medium 400 is, for example, a nonvolatile memory, such as including: magnetic media (e.g., hard disk, floppy disk, and magnetic strips), optical media (e.g., CDROM disks and DVDs), magneto-optical media (e.g., optical disks), and hardware devices that are specially constructed for storing and performing computer-executable instructions (e.g., read-only memory (ROM), random Access Memory (RAM), flash memory, etc.). Computer-readable storage medium 400 may execute computer-executable instructions 410 by one or more processors or processing devices.
In addition, it should be understood that the foregoing embodiments are merely exemplary illustrations of the present invention, and the technical solutions of the embodiments may be arbitrarily combined and matched without conflict in technical features, contradiction in structure, and departure from the purpose of the present invention.
In the several embodiments provided in the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the partitioning of elements is merely a logical functional partitioning, and there may be additional partitioning in actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not implemented. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit/module in the embodiments of the present invention may be integrated in one processing unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated in one unit/module. The integrated units/modules may be implemented in hardware or in hardware plus software functional units/modules.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A program generating method, comprising:
acquiring media material and program parameter information, and identifying media material characteristic information of the media material;
acquiring a sample program set, and generating a program layout generation model according to the sample program set, wherein the program layout generation model is generated according to the sample program set through an artificial neural network algorithm;
generating a program layout set according to the program parameter information, the media material characteristic information and the program layout generation model, wherein the program layout set comprises at least two program layouts;
generating a program set to be selected according to the program layout set and the media material; and
determining a target program according to the program set to be selected;
the program generating method further includes:
analyzing the preference and habit style of the user according to the target program, and adjusting the program layout generation model according to the preference and habit style of the user;
wherein the number of the media materials is at least two, and after the target program is determined according to the set of programs to be selected, the program generating method further comprises: and in response to the size adjustment of the target media material in the at least two media materials by the user, according to the size change of the target media material, adjusting the sizes of other media materials except the target media material in the target program so that the size change of the other media materials is consistent with the size change of the target media material.
2. The program generating method as claimed in claim 1, wherein said generating a program layout generating model from the sample program set specifically comprises:
acquiring sample program parameter information of each sample program in the sample program set;
determining sample media material characteristic information of sample media materials included in each sample program and sample program layout of each sample program; and
and generating the program layout generation model through the artificial neural network algorithm according to the sample program parameter information, the sample program layout and the sample media material characteristic information.
3. The program generating method according to claim 1, wherein after said determining a target program from said set of programs to be selected, said program generating method further comprises: and in response to the user determining the media materials to be replaced and selecting the target materials in the media materials, replacing the target materials with the media materials to be replaced, and adjusting the size of the media materials to be replaced so that the size of the media materials to be replaced after adjustment is the same as the size of the target materials in the target program.
4. The program generating method according to claim 1, wherein the media material includes text, and the media material characteristic information includes a number of words and a font size of the text; and/or the number of the groups of groups,
the media material comprises pictures, and the media material characteristic information comprises: the pixel size of the picture, and the type, number and position information of the elements included in the picture, wherein the identifying the media material feature information of the media material specifically includes:
preprocessing the picture to obtain a preprocessed picture, extracting and classifying elements in the preprocessed picture to determine the type, the number and the position information of the elements, wherein the preprocessing comprises denoising, transformation or smoothing.
5. The program generating method according to claim 1, wherein the program parameter information includes a program broadcasting place, a program theme, and a program broadcasting screen size.
6. A program generating apparatus, comprising:
the acquisition and identification module is used for acquiring media materials and program parameter information and identifying media material characteristic information of the media materials;
the model generation module is used for acquiring a sample program set and generating a program layout generation model according to the sample program set, wherein the model generation module is used for generating the program layout generation model according to the sample program set through an artificial neural network algorithm;
the layout set generating module is used for generating a program layout set according to the program parameter information, the media material characteristic information and the program layout generating model, wherein the program layout set comprises at least two program layouts;
the program set generating module is used for generating a program set to be selected according to the program layout set and the media materials; and
the determining module is used for determining a target program according to the program set to be selected;
wherein the number of the media materials is at least two, and the program generating device further comprises a size adjusting module: and the device is used for responding to the size adjustment of a user on the target media materials in the at least two media materials, and adjusting the sizes of other media materials except the target media materials in the target program according to the size change of the target media materials so that the size change of the other media materials is consistent with the size change of the target media materials.
7. The program generating apparatus according to claim 6, wherein the model generating module specifically comprises:
an acquisition unit configured to acquire sample program parameter information of each sample program in the sample program set;
a determining unit configured to determine sample media material feature information of a sample media material included in the each sample program and a sample program layout of the each sample program; and
and the model generation unit is used for generating the program layout generation model through the artificial neural network algorithm according to the sample program parameter information, the sample program layout and the sample media material characteristic information.
8. The program generating apparatus of claim 6, further comprising a media material replacement module for: and in response to the user determining the media materials to be replaced and selecting the target materials in the media materials, replacing the target materials with the media materials to be replaced, and adjusting the size of the media materials to be replaced so that the size of the media materials to be replaced after adjustment is the same as the size of the target materials in the target program.
CN202010516730.2A 2020-06-09 2020-06-09 Program generating method and program generating device Active CN112637633B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010516730.2A CN112637633B (en) 2020-06-09 2020-06-09 Program generating method and program generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010516730.2A CN112637633B (en) 2020-06-09 2020-06-09 Program generating method and program generating device

Publications (2)

Publication Number Publication Date
CN112637633A CN112637633A (en) 2021-04-09
CN112637633B true CN112637633B (en) 2023-06-16

Family

ID=75300078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010516730.2A Active CN112637633B (en) 2020-06-09 2020-06-09 Program generating method and program generating device

Country Status (1)

Country Link
CN (1) CN112637633B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105160538A (en) * 2015-10-27 2015-12-16 武汉改图网技术有限公司 Printed matter on-line design service cloud platform and on-line design method thereof
KR20190024249A (en) * 2017-08-31 2019-03-08 삼성전자주식회사 Method and electronic device for providing an advertisement
CN108416827A (en) * 2018-02-11 2018-08-17 李荣陆 A kind of planar design autoplacement device and method analyzed based on data-driven and material
CN109741425B (en) * 2019-01-04 2023-07-25 广州方硅信息技术有限公司 Banner picture generation method and device, storage medium and computer equipment
CN111242691A (en) * 2020-01-14 2020-06-05 广东博智林机器人有限公司 Method and device for generating advertisement poster, storage medium and terminal equipment

Also Published As

Publication number Publication date
CN112637633A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN110012237B (en) Video generation method and system based on interactive guidance and cloud enhanced rendering
US9135732B2 (en) Object-level image editing
CN101119430B (en) Template generating apparatus, image layout apparatus, modified template generating apparatus, and programs thereof
US7272785B2 (en) Data editing for improving readability of a display
CN110414519A (en) A kind of recognition methods of picture character and its identification device
CN111739128B (en) Target video generation method and system
JP2004537901A (en) Automatic frame selection and layout of one or more images and generation of images bounded by frames
CN107943924B (en) Method for automatically generating webpage theme, storage medium and electronic equipment
CN111242691A (en) Method and device for generating advertisement poster, storage medium and terminal equipment
US11386589B2 (en) Method and device for image generation and colorization
CN109189390B (en) Method for automatically generating layout file and storage medium
CN104951495A (en) Apparatus and method for managing representative video images
CN112257406A (en) Content cover generator and method based on web front end
CN110750666A (en) Picture generation method and system, electronic device and storage medium
CN117058271A (en) Method and computing device for generating commodity main graph background
EP1826724B1 (en) Object-level image editing using tiles of image data
CN112637633B (en) Program generating method and program generating device
US11869127B2 (en) Image manipulation method and apparatus
KR102247877B1 (en) Image crop method and apparatus for generating online shopping mall banner design
JP6623603B2 (en) Information processing device and program
KR102246537B1 (en) Online shopping mall banner design auto-generating method and apparatus
US11276153B2 (en) Auto-complete image suggestions for image editing
CN110223217A (en) A kind of planar design automatic addition decorative element information processing system and method
CN116452702B (en) Information chart rapid design method, device, computer equipment and storage medium
US20230419574A1 (en) Information processing apparatus and control method therefor

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