CN116681801A - Poster generation method, poster generation device, server and storage medium - Google Patents

Poster generation method, poster generation device, server and storage medium Download PDF

Info

Publication number
CN116681801A
CN116681801A CN202310718143.5A CN202310718143A CN116681801A CN 116681801 A CN116681801 A CN 116681801A CN 202310718143 A CN202310718143 A CN 202310718143A CN 116681801 A CN116681801 A CN 116681801A
Authority
CN
China
Prior art keywords
poster
information
model
background
file
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
CN202310718143.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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202310718143.5A priority Critical patent/CN116681801A/en
Publication of CN116681801A publication Critical patent/CN116681801A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to the field of financial science and technology, and discloses a poster generation method, a poster generation device, a server and a storage medium. The method for generating the poster comprises the steps of receiving the background information of the poster of the terminal equipment and the information of the poster file; determining a background generation model according to the poster background information, obtaining an initial background picture set according to the poster background information and the background generation model, and performing at least image pixel enhancement processing on pictures in the initial background picture set to obtain a poster background picture set; determining a file generation model according to the file information, and generating a file set according to the file generation model and the file information; and generating the poster according to the poster background picture set and the poster document set to obtain a poster set. The poster generation method provided by the embodiment of the application can be applied to generation of propaganda posters in the field of financial science and technology, and realizes that a poster scheme can be output efficiently according to user requirements.

Description

Poster generation method, poster generation device, server and storage medium
Technical Field
The present application relates to the field of financial science and technology, and in particular, to a poster generating method, apparatus, server and storage medium.
Background
With the development of internet technology, people can browse various information through a network and can share information in various modes, for example, in the field of financial science and technology, information such as enterprise business, achievement achieved by an enterprise, cultural image of the enterprise, and activity organization propaganda in the enterprise can be shared through a poster.
The information analysis is a common information sharing mode currently used by the poster, and a user shares a poster picture with an image of an object to be promoted and a corresponding text description to other users, so that the opposite side can acquire the corresponding information from the poster picture, and the information sharing effect is achieved.
However, when generating the poster, the designer of the poster needs to design the poster according to the user requirement, and is generally limited by the design level of the designer, and the generated poster has limited diversity, so the space for the user to select is less, and the poster designed by the designer may need to be modified and adjusted for many times in the process of truly landing the product, so that the time consumption for designing the poster is increased, and the poster can be online on time and a potential wind test for successful popularization is caused.
Disclosure of Invention
The main purpose of the embodiment of the application is to provide a poster generation method, a device, a server and a storage medium, aiming at efficiently generating a poster meeting the requirements of users.
In a first aspect, an embodiment of the present application provides a poster generating method, applied to a server, including:
receiving poster demand information of terminal equipment, wherein the poster demand information at least comprises poster background information and poster file information;
determining a background generation model according to the poster background information, obtaining an initial background picture set according to the poster background information and the background generation model, and performing at least image pixel enhancement processing on pictures in the initial background picture set to obtain a poster background picture set;
determining a file generation model according to the file information, and generating a file set according to the file generation model and the file information;
and generating the poster according to the poster background picture set and the poster case set to obtain a poster set.
In a third aspect, an embodiment of the present application further provides a poster generating apparatus, including:
the information receiving module is used for receiving the poster demand information of the terminal equipment, wherein the poster demand information at least comprises poster background information and poster file information;
The background generation module is used for determining a background generation model according to the poster background information, obtaining an initial background picture set according to the poster background information and the background generation model, and carrying out at least image pixel enhancement processing on pictures in the initial background picture set to obtain a poster background picture set;
the file generation module is used for determining a file generation model according to the file information and generating a file set according to the file generation model and the file information;
and the poster generating module is used for generating the poster according to the poster background picture set and the poster case set to obtain a poster set.
In a third aspect, embodiments of the present application also provide a server comprising a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for enabling a connection communication between the processor and the memory, wherein the computer program, when executed by the processor, implements the steps of a poster generation method as provided by any of the embodiments of the present application.
In a fourth aspect, embodiments of the present application further provide a storage medium for computer-readable storage, where the storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the steps of the poster generation method as provided in any of the embodiments of the present application.
The embodiment of the application provides a poster generation method, a device, a server and a storage medium, wherein the poster generation method is used for receiving poster demand information of terminal equipment, and the poster demand information at least comprises poster background information and poster case information; determining a background generation model according to the poster background information, obtaining an initial background picture set according to the poster background information and the background generation model, and performing at least image pixel enhancement processing on pictures in the initial background picture set to obtain a poster background picture set; determining a file generation model according to the file information, and generating a file set according to the file generation model and the file information; and generating the poster according to the poster background picture set and the poster case set to obtain a poster set.
In the general poster including the poster background and the poster case, after the poster demand information is acquired, the poster demand of the user is determined according to the poster demand information, and a background generation model for generating the poster background and a case generation model for generating the poster case are respectively acquired according to the poster demand of the user, the poster background picture conforming to the user demand is accurately output by using the background generation model, the poster case is accurately output by using the case generation model, after the poster background picture and the poster case are acquired, a plurality of poster sets are acquired by combining the acquired poster background picture and the acquired poster case, so that a plurality of poster cases are output according to the user demand, the user can conveniently screen from the plurality of poster cases, and the poster cases conforming to the user demand can be efficiently and high-quality output according to the user demand.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, 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 some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic system structure diagram of a poster generating system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of steps of a poster generating method according to an embodiment of the present application;
fig. 3 is a schematic diagram of an application scenario of a poster generating method according to an embodiment of the present application;
fig. 4 is a schematic block diagram of a poster generating apparatus according to an embodiment of the present application;
fig. 5 is a schematic block diagram of a server according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
It is to be understood that the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The embodiment of the application provides a poster generation method, a device, a server and a storage medium, aiming at efficiently generating a poster meeting the requirements of users, wherein the poster generation method is applied to the server.
Some embodiments of the application are described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic system architecture diagram of a poster generating system according to an embodiment of the present application.
As shown in fig. 1, the poster generation system 100 includes a terminal device 10 and a server 20, wherein the terminal device 10 is installed with a poster generation client, and the server 20 is installed with a poster generation server. When a user has a poster demand, the terminal device 10 can be operated to send the poster demand information to the server 20, so that the server 20 can analyze the poster background information and the poster case information corresponding to the poster required by the user according to the poster demand information sent by the terminal device 10, then generate a poster background picture set according to the poster background information, and generate a poster case set according to the poster case information, thereby generating the poster according to the poster background picture set and the poster case set and obtaining the poster set. That is, a plurality of poster schemes are output according to the user demands, so that the user can conveniently screen from the plurality of poster schemes, and further the poster schemes can be output efficiently according to the user demands.
For example, when a certain financial and technological enterprise wants to share the newly released A-type insurance business with a user in the form of a poster, the poster generation system can be used for generating a propaganda poster related to the A-type insurance business, so that the user can know part of key information of the A-type insurance business through the poster conveniently, and popularization of the A-type insurance business is realized.
Referring to fig. 2, fig. 2 is a schematic flow chart of steps of a method for generating a poster according to an embodiment of the present application.
As shown in fig. 2, the poster generation method is applied to the poster generation system 100, and includes steps S1 to S4.
Step S1: and receiving the poster demand information of the terminal equipment, wherein the poster demand information at least comprises poster background information and poster file information.
The terminal device 10 is provided with a display screen, and an information input window of the poster demand information is displayed on a preset display interface of the display screen, when a user designs a poster, the user can input corresponding poster demand information in the information input window by controlling the terminal device 10, after the terminal device 10 receives the poster demand information input by the user in the information input window, the poster demand information is marked and packaged and sent to the server 20, wherein the poster demand information input by the user through the information input window can be text information, voice information or a combination of the text information and the voice information, and the poster demand information is not limited herein.
Or, the terminal device 10 is provided with a display screen, an information input window of the poster demand information is displayed on a preset display interface of the display screen, a plurality of poster demand options are arranged in the information input window, and the user triggers the corresponding poster demand options to enable the terminal device 10 to send the corresponding poster demand information to the server 20.
The poster demand information at least comprises poster background information for describing the poster background demand and poster document information for describing the poster document demand.
As shown in fig. 3, for example, the terminal device 10 is provided with a poster application program for generating a poster, when a user has a requirement for generating the poster, by opening the poster application program, after the poster application program is opened, the display screen 101 of the terminal device 10 displays a first information input window 102 and a second information input window 103 for inputting information, wherein the first information input window 102 is used for providing relevant information input for describing the background requirement of the poster for the user, the second information input window 103 is used for providing relevant information input for describing the requirement of the poster for the user, and the first information input window 102 and the second information input window 103 support voice input, text input or mixed input of voice and text.
For example, when a financial science and technology enterprise promotes a money a insurance business to a user, a propaganda department of the enterprise can generate a propaganda poster of the corresponding money a insurance business by utilizing the poster generation system. Propaganda staff inputs the voice or text information of the insurance request and the insurance introduction of the A type insurance service through the first information input column of the first information input window 102, inputs the voice or text information of the specific name of the insurance service through the second information input column of the second information input window 103, clicks a sending button after the corresponding content is input, and after detecting the triggering operation of clicking the sending button by the user, the terminal device 10 generates corresponding poster demand information according to the poster demand input by the user and sends the poster demand information to the server 20.
After receiving the poster demand information sent by the terminal device 10, the server 20 analyzes the poster demand information according to a preset protocol, thereby obtaining the poster background information and the poster document information required for generating the poster.
Step S2: and determining a background generation model according to the poster background information, obtaining an initial background picture set according to the poster background information and the background generation model, and carrying out at least image pixel enhancement processing on pictures in the initial background picture set to obtain a poster background picture set.
For example, after parsing to obtain the poster background information and the poster document information, the server 20 obtains key information required for generating the poster background according to the poster background information, and determines a background generation model according to the key information, where the background generation model is used for generating a corresponding picture according to the text description, that is, the background generation model is a text-to-image conversion model, and further the server 20 may generate an initial poster background image set by using the background generation model and the corresponding key information, and perform preprocessing on the picture in the initial poster background image set to obtain a poster background image set, where the preprocessing includes but is not limited to image pixel enhancement processing. The key information required for generating the poster background includes, but is not limited to, a poster background style and target objects in the poster background.
In some embodiments, the determining a background generation model according to the poster background information includes:
extracting keywords from the poster background information to obtain initial model keywords;
performing word sense amplification on the initial model keywords to obtain extended model keywords;
and carrying out model searching according to the extended model keywords to obtain a background generation model.
The poster background information can be text information or voice information, and after the poster background information is obtained, if the information type of the current poster background information is text information, the poster background information is subjected to text splitting, keywords are extracted from the split text, and therefore initial model keywords are obtained. If the information type of the current poster background information is voice information, voice conversion is carried out on the poster background information to obtain a corresponding voice text, the voice text is split, keywords are extracted from the split text, and therefore initial model keywords are obtained.
After the initial model keywords are obtained, the initial model keywords are subjected to the expansion of the near-meaning words or the synonyms to obtain the expanded model keywords, the semantics are more accurate and the coverage range is wider after the current obtained expanded model keywords are expanded, and then the matched background generation models are searched in the corresponding model databases through the expanded model keywords obtained after the keyword expansion, the background generation models are used for outputting pictures matched with the texts according to the texts, and the model search is performed through the expanded model keywords obtained after the expansion, so that the obtained background generation models are more accurate and comprehensive, and the probability of matching the background pictures output through the background generation models with the poster demand information of the users is higher.
For example, the server 20 analyzes the poster requirement information sent by the terminal device 10 to obtain the poster background information as the text information of the related description such as the insurance requirement and the insurance introduction of the a type insurance service, then performs word segmentation on the text information of the related description such as the insurance requirement and the insurance introduction of the a type insurance service, extracts keywords from the words after word segmentation, obtains initial model keywords which can be used for performing model search, and performs word sense expansion on the initial model keywords, for example, performs word sense expansion or synonym expansion, thereby obtaining expanded model keywords, performs model search by using the expanded model keywords, so that the searched model is more comprehensive, and further screens out a corresponding background generation model from a more comprehensive model set, so that the poster background picture generated by the background generation model is more likely to meet the user poster requirement. Among them, the type a insurance business includes, but is not limited to, car insurance, health insurance, property insurance, medical insurance, etc.
In some embodiments, the poster background information is voice information, and the keyword extraction is performed on the poster background information to obtain an initial model keyword, including:
Performing text conversion on the voice information to obtain an initial text;
traversing the initial text to determine whether the initial text has misinterpreted words with speech conversion errors;
when the misinterpreted word appears in the initial text, correcting the misinterpreted word according to the context of the misinterpreted word to obtain a corrected text;
and extracting keywords from the corrected text to obtain initial model keywords.
For example, when the poster background information is voice information, the server 20 needs to convert the voice information to obtain an initial text corresponding to the voice information, after obtaining the initial text, traverse the initial text, split the words of the initial text, compare the split words with the error words in the error word library, determine whether the initial text contains the error word with the translation error, when determining that the error word occurs in the initial text, correct the error word according to the context of the position of the error word to obtain a corrected text, and then extract the keywords of the corrected text to obtain the initial model keywords. The text content translation accuracy of the corrected text is higher than that of the initial text, so that the reliability of the initial model keywords extracted by the corrected text is higher, and the probability of obtaining a better model by using the corrected text for model search is higher.
In some embodiments, the performing a model search according to the extended model keyword to obtain a background generation model includes:
searching from a third party platform according to the expansion model keywords to obtain a plurality of initial network models matched with the expansion model keywords and used for generating a poster background, and acquiring evaluation information of each initial network model;
generating a model from the filtered background from the plurality of initial network models according to the evaluation information.
After the extended model keywords are obtained, model searching is carried out on a third-party platform by utilizing the extended model keywords, in the process of carrying out model searching, the third-party platform displays matching degree data of the current search keywords and corresponding search results, screens out the search results with the matching degree value exceeding a preset value, downloads corresponding initial network models according to the search results, records evaluation information corresponding to each initial network model, and provides reference information for evaluating image output performance of the corresponding initial network model.
The server is internally preset with a scoring rule, the scoring rule can score the image output performance of the initial network model by using the evaluation information and the poster demand information of the user, and after the initial network model and the evaluation information corresponding to the initial network model are obtained, the image output performance of each initial network model can be comprehensively scored according to the evaluation information, wherein the higher the comprehensive score is, the higher the matching degree between the surface image output performance and the poster demand information of the user is, so that the model can be generated from the screening of the plurality of initial network models through the comprehensive score. Optionally, the initial network model N before the composite score is used as a background generation model, and N is greater than or equal to 5.
In some embodiments, the evaluation information includes a composite score of the model, an image output efficiency of the model, an image output pixel of the model, the generating a model from a filtered background from the plurality of initial network models according to the evaluation information includes:
screening a first set of models from the plurality of initial network models according to the composite scores of the models;
screening a second model set from the plurality of initial network models according to the image output efficiency of the models;
screening a third model set from the plurality of initial network models according to image output pixels of the model;
and screening a background generation model from the first model set, the second model set and the third model set.
Illustratively, the evaluation information of the initial model includes at least three dimensions of a composite score of the model, an image output efficiency of the model, an image output pixel of the model, and the like. And respectively screening a first model set, a second model set and a third model set from the initial network models according to three different dimensions of the comprehensive score of the models, the image output efficiency of the models, the image output pixels of the models and the like, wherein the comprehensive score of the initial models in the first model set exceeds a preset score, for example, the highest score is 10 points, and the comprehensive score of the initial models in the first model set exceeds 8 points. The image output efficiency of the model corresponding to the initial model in the second model set exceeds the preset image output efficiency, for example, the image output efficiency of the model corresponding to the initial model in the second model set exceeds 10 sheets/min. Similarly, the model image output pixels corresponding to the initial model in the third model set exceed the preset pixels.
Weighting and scoring each initial model in the first model set, the second model set and the third model set according to the poster demand information of the user, and calculating the final score of each initial model, so that M initial models with the highest final score and a preset number are selected as background generation models, and optionally, 3 is more than or equal to M is more than or equal to 1.
For example, the initial model with the highest score in the first model set is assigned a score, the second score in the first model set is assigned 80% of the score of the first name, i.e., a×80%, and the third score in the first model set is assigned 80% of the score of the second name, i.e., a×80% of the score of the second name, so that the initial model in the first model set is assigned a score in turn until all the initial models in the first model set are assigned a score.
Similarly, the initial model with the highest score in the second model set is assigned a score B, the score second in the second model set is assigned 80% of the score of the first name, namely b×80%, and the score third in the second model set is assigned 80% of the score of the second name, namely b×80% ×80%, so that the initial model in the second model set is assigned sequentially until all the initial model in the second model set is assigned.
Similarly, the initial model with the highest score in the third model set is assigned a score C, the score second in the third model set is assigned 80% of the score of the first name, namely, 80% of C, and the score third in the third model set is assigned 80% of the score of the second name, namely, 80% of C, so that the initial model in the third model set is assigned in turn until all the initial model in the third model set is assigned.
Step S3: and determining a file generation model according to the file information, and generating a file set according to the file generation model and the file information.
After obtaining the poster document information, determining a document style according to the poster document information, determining a corresponding document generation model according to the document style, and inputting a text corresponding to the poster document information into the document generation model, thereby obtaining a plurality of poster documents matched with the poster document information, namely obtaining a poster document set, wherein the document style comprises, but is not limited to, a document type and a document layout, the type of the document is used for representing the font type and the display style of the document, and the layout of the document is used for representing the distribution position of the document in a background picture.
In some embodiments, the poster document information includes document content, document type, and document layout, the determining a document generation model from the poster document information, and generating a poster document set from the document generation model and the poster document information, comprising:
screening from a model database according to the document type and the document layout to obtain a document generation model;
And inputting the content of the file as input information into the file generation model to obtain a poster file set, wherein at least one of the file layout and the file type corresponding to each poster file in the poster file set is different.
The method comprises the steps of determining the type of the file and the layout of the file required by outputting the file according to the information of the file before outputting the file, screening the file from a model database according to the type of the file and the layout of the file to obtain a file generation model, and inputting the content of the file into the file generation model after the determination of the file generation model, thereby obtaining a file set formed by a plurality of types of the file matched with the content of the file.
Step S4: and generating the poster according to the poster background picture set and the poster case set to obtain a poster set.
After the poster background picture set and the poster background picture set are obtained, combining each poster in the poster background picture set with each poster background picture in the poster background picture set, and recombining and fusing the poster background picture set and the poster background picture set in a permutation and combination mode so as to generate a corresponding poster set.
For example, there are 4 poster background pictures in the poster background picture set, and 4 poster cases in the poster case set, the combination modes of the poster background picture set and the poster case set are all arranged, and there are 4×3×2×1, that is, 24 combination modes, so the probability that the output poster set contains the poster meeting the user requirement is higher.
In some embodiments, after obtaining the collection of posters, the method further comprises:
generating a poster thumbnail corresponding to each poster in the poster set according to the poster set, and sending the poster thumbnail to the terminal equipment so that the terminal equipment displays the poster thumbnail on a preset display interface;
and receiving feedback information of the terminal equipment, determining a target poster from the poster set according to the feedback information, and sending the target poster to the terminal equipment, wherein the feedback information is information generated by the terminal equipment responding to the triggering of an external object after the poster thumbnail displayed on the display interface is triggered by the external object.
Illustratively, after the server 20 obtains the poster set, a corresponding poster thumbnail is generated according to the poster in the poster set, and the poster thumbnail is sent to the terminal device 10, so that the terminal device 10 displays the poster thumbnail on a preset display interface, and selects a target poster required by itself by using the poster thumbnail.
And after the user selects a desired target poster through the poster thumbnail, the terminal device 10 generates corresponding feedback information and transmits the feedback information to the server 20, so that the server 20 packages and transmits the target poster to the terminal device 10.
In some embodiments, after obtaining the collection of posters, the method further comprises:
and sending the poster set to a preset data storage server, and sending the data storage information of the poster set to the terminal equipment.
Illustratively, after obtaining the poster set, storing the poster in the poster set to a preset data storage server, and sending the storage information of the poster set to a terminal device, so that a user can access or download the poster set in the storage and data storage server through the storage information.
In summary, the poster generation method is applied to the field of financial science and technology, including but not limited to insurance service propaganda poster generation.
Taking the generation of the insurance service propaganda poster as an example, a user sends poster demand information for generating the insurance service propaganda poster to a server through a terminal device, and the server determines the poster demand of the user according to the poster demand information after acquiring the poster demand information, such as the background and the document of the poster, the style of the poster and the information required to be analyzed, which are highlighted through the background and the document of the poster.
Therefore, after determining the poster demand, the server respectively acquires a background generation model for generating a poster background and a document generation model for generating a document according to the user's poster demand, respectively utilizes the background generation model to accurately output a poster background picture conforming to the user's demand and utilizes the document generation model to accurately output the document, and after obtaining the poster background picture and the document, combines the obtained poster background picture and the obtained document to obtain a plurality of poster sets, so that a plurality of poster schemes are output according to the user's demand, the user can conveniently screen from a plurality of poster schemes, and further, the insurance service propaganda scheme conforming to the user's demand can be efficiently and high-quality output according to the user's demand. Referring to fig. 4, fig. 4 is a schematic block diagram of a poster generating apparatus according to an embodiment of the present application.
As shown in fig. 4, the poster generating apparatus 200 includes an information receiving module 201, a background generating module 202, a document generating module 203, and a poster generating module 204. The information receiving module 201 is configured to receive poster demand information of a terminal device, where the poster demand information at least includes poster background information and poster document information; the background generation module 202 is configured to determine a background generation model according to the poster background information, obtain an initial background picture set according to the poster background information and the background generation model, and perform at least image pixel enhancement processing on pictures in the initial background picture set to obtain a poster background picture set; the document generation module 203 is configured to determine a document generation model according to the poster document information, and generate a poster document set according to the document generation model and the poster document information; and the poster generating module 204 is configured to generate a poster according to the poster background picture set and the poster case set, so as to obtain a poster set.
In some embodiments, the determining a background generation model according to the poster background information includes:
extracting keywords from the poster background information to obtain initial model keywords;
performing word sense amplification on the initial model keywords to obtain extended model keywords;
and carrying out model searching according to the extended model keywords to obtain a background generation model.
In some embodiments, the poster background information is voice information, and the keyword extraction is performed on the poster background information to obtain an initial model keyword, including:
performing text conversion on the voice information to obtain an initial text;
traversing the initial text to determine whether the initial text has misinterpreted words with speech conversion errors;
when the misinterpreted word appears in the initial text, correcting the misinterpreted word according to the context of the misinterpreted word to obtain a corrected text;
and extracting keywords from the corrected text to obtain initial model keywords.
In some embodiments, the performing a model search according to the extended model keyword to obtain a background generation model includes:
searching from a third party platform according to the expansion model keywords to obtain a plurality of initial network models matched with the expansion model keywords and used for generating a poster background, and acquiring evaluation information of each initial network model;
Generating a model from the filtered background from the plurality of initial network models according to the evaluation information.
In some embodiments, the evaluation information includes a composite score of the model, an image output efficiency of the model, an image output pixel of the model, the generating a model from a filtered background from the plurality of initial network models according to the evaluation information includes:
screening a first set of models from the plurality of initial network models according to the composite scores of the models;
screening a second model set from the plurality of initial network models according to the image output efficiency of the models;
screening a third model set from the plurality of initial network models according to image output pixels of the model;
and screening a background generation model from the first model set, the second model set and the third model set.
In some embodiments, the poster document information includes document content, document type, and document layout, the determining a document generation model from the poster document information, and generating a poster document set from the document generation model and the poster document information, comprising:
screening from a model database according to the document type and the document layout to obtain a document generation model;
And inputting the content of the file as input information into the file generation model to obtain a poster file set, wherein at least one of the file layout and the file type corresponding to each poster file in the poster file set is different.
In some embodiments, the poster generating apparatus 200 further includes an information sending module, configured to generate, after obtaining a poster set, a poster thumbnail corresponding to each poster in the poster set according to the poster set, and send the poster thumbnail to the terminal device, so that the terminal device displays the poster thumbnail on a preset display interface; and receiving feedback information of the terminal equipment, determining a target poster from the poster set according to the feedback information, and sending the target poster to the terminal equipment, wherein the feedback information is information generated by the terminal equipment responding to the triggering of an external object after the poster thumbnail displayed on the display interface is triggered by the external object.
Or the information sending module is used for sending the poster set to a preset data storage server after the poster set is obtained, and sending the data storage information of the poster set to the terminal equipment.
It will be appreciated that the poster generation apparatus 200 may be applied to a server and used to perform the method steps of the poster generation method provided by any of the embodiments of the present application.
Referring to fig. 5, fig. 5 is a schematic block diagram of a server according to an embodiment of the present application.
As shown in fig. 5, the server 20 includes a processor 21 and a memory 22, and the processor 21 and the memory 22 are connected by a bus 23, such as an I2C (Inter-integrated Circuit) bus.
In particular, the processor 21 is used to provide computing and control capabilities, supporting the operation of the entire server. The processor 21 may be a central processing unit (Central Processing Unit, CPU), the processor 21 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Specifically, the Memory 22 may be a Flash chip, a Read-Only Memory (ROM) disk, an optical disk, a U-disk, a removable hard disk, or the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 5 is merely a block diagram of a portion of the structure associated with an embodiment of the present application and is not limiting of the server to which an embodiment of the present application applies, and that a particular server may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
The processor 21 is configured to run a computer program stored in the memory, and implement any one of the poster generation methods provided by the embodiments of the present application when the computer program is executed.
In some embodiments, the processor 21 is configured to run a computer program stored in the memory and to implement the following steps when the computer program is executed:
receiving poster demand information of terminal equipment, wherein the poster demand information at least comprises poster background information and poster file information;
determining a background generation model according to the poster background information, obtaining an initial background picture set according to the poster background information and the background generation model, and performing at least image pixel enhancement processing on pictures in the initial background picture set to obtain a poster background picture set;
Determining a file generation model according to the file information, and generating a file set according to the file generation model and the file information;
and generating the poster according to the poster background picture set and the poster case set to obtain a poster set.
In some embodiments, the processor 21 performs, in determining a context generation model from the poster context information:
extracting keywords from the poster background information to obtain initial model keywords;
performing word sense amplification on the initial model keywords to obtain extended model keywords;
and carrying out model searching according to the extended model keywords to obtain a background generation model.
In some embodiments, the poster background information is voice information, and the processor 21 performs, in extracting keywords from the poster background information to obtain initial model keywords:
performing text conversion on the voice information to obtain an initial text;
traversing the initial text to determine whether the initial text has misinterpreted words with speech conversion errors;
when the misinterpreted word appears in the initial text, correcting the misinterpreted word according to the context of the misinterpreted word to obtain a corrected text;
And extracting keywords from the corrected text to obtain initial model keywords.
In some embodiments, the processor 21 performs, in performing a model search according to the extended model keyword to obtain a background generation model:
searching from a third party platform according to the expansion model keywords to obtain a plurality of initial network models matched with the expansion model keywords and used for generating a poster background, and acquiring evaluation information of each initial network model;
generating a model from the filtered background from the plurality of initial network models according to the evaluation information.
In some embodiments, the evaluation information includes a composite score of the model, an image output efficiency of the model, an image output pixel of the model, and the processor 21 performs, in generating the model from the filtered background from the plurality of initial network models according to the evaluation information:
screening a first set of models from the plurality of initial network models according to the composite scores of the models;
screening a second model set from the plurality of initial network models according to the image output efficiency of the models;
screening a third model set from the plurality of initial network models according to image output pixels of the model;
And screening a background generation model from the first model set, the second model set and the third model set.
In some embodiments, the poster document information includes document content, document type, and document layout, and the processor 21 performs, in determining a document generation model from the poster document information, and generating a poster document set from the document generation model and the poster document information:
screening from a model database according to the document type and the document layout to obtain a document generation model;
and inputting the content of the file as input information into the file generation model to obtain a poster file set, wherein at least one of the file layout and the file type corresponding to each poster file in the poster file set is different.
In some embodiments, the processor 21, after obtaining the collection of posters, is further configured to perform:
generating a poster thumbnail corresponding to each poster in the poster set according to the poster set, and sending the poster thumbnail to the terminal equipment so that the terminal equipment displays the poster thumbnail on a preset display interface;
and receiving feedback information of the terminal equipment, determining a target poster from the poster set according to the feedback information, and sending the target poster to the terminal equipment, wherein the feedback information is information generated by the terminal equipment responding to the triggering of an external object after the poster thumbnail displayed on the display interface is triggered by the external object.
It should be noted that, for convenience and brevity of description, a person skilled in the art may clearly understand that, for a specific working process of the above-described poster generating apparatus, reference may be made to a corresponding process in the foregoing poster generating method embodiment, which is not described herein again.
The embodiment of the application also provides a storage medium for computer readable storage, the storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the poster generation method as provided in any of the embodiments of the application.
The storage medium may be an internal storage unit of the server of the foregoing embodiment, for example, a hard disk or a memory of the server. The storage medium may also be an external storage device of the server, such as a plug-in hard disk provided on the server, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware embodiment, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
It should be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments. The present application is not limited to the above embodiments, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the scope of the present application, and these modifications and substitutions are intended to be included in the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (10)

1. A poster generation method applied to a server, comprising:
receiving poster demand information of terminal equipment, wherein the poster demand information at least comprises poster background information and poster file information;
determining a background generation model according to the poster background information, obtaining an initial background picture set according to the poster background information and the background generation model, and performing at least image pixel enhancement processing on pictures in the initial background picture set to obtain a poster background picture set;
determining a file generation model according to the file information, and generating a file set according to the file generation model and the file information;
and generating the poster according to the poster background picture set and the poster case set to obtain a poster set.
2. The method of claim 1, wherein the determining a context generation model from the poster context information comprises:
extracting keywords from the poster background information to obtain initial model keywords;
performing word sense amplification on the initial model keywords to obtain extended model keywords;
and carrying out model searching according to the extended model keywords to obtain a background generation model.
3. The method of claim 2, wherein the poster background information is voice information, and the extracting keywords from the poster background information to obtain initial model keywords comprises:
performing text conversion on the voice information to obtain an initial text;
traversing the initial text to determine whether the initial text has misinterpreted words with speech conversion errors;
when the misinterpreted word appears in the initial text, correcting the misinterpreted word according to the context of the misinterpreted word to obtain a corrected text;
and extracting keywords from the corrected text to obtain initial model keywords.
4. The method of claim 2, wherein the performing a model search based on the extended model keywords to obtain a background generation model comprises:
searching from a third party platform according to the expansion model keywords to obtain a plurality of initial network models matched with the expansion model keywords and used for generating a poster background, and acquiring evaluation information of each initial network model;
generating a model from the filtered background from the plurality of initial network models according to the evaluation information.
5. The method of claim 4, wherein the evaluation information includes a composite score of the model, an image output efficiency of the model, an image output pixel of the model, the generating a model from the filtered out background from the plurality of initial network models based on the evaluation information comprising:
screening a first set of models from the plurality of initial network models according to the composite scores of the models;
screening a second model set from the plurality of initial network models according to the image output efficiency of the models;
screening a third model set from the plurality of initial network models according to image output pixels of the model;
and screening a background generation model from the first model set, the second model set and the third model set.
6. The method of claim 1, wherein the poster message information includes a message content, a message type, and a message layout, wherein the determining a message generation model from the poster message information and generating a poster message set from the message generation model and the poster message information comprises:
screening from a model database according to the document type and the document layout to obtain a document generation model;
And inputting the content of the file as input information into the file generation model to obtain a poster file set, wherein at least one of the file layout and the file type corresponding to each poster file in the poster file set is different.
7. The method of any one of claims 1-6, wherein after obtaining the collection of posters, the method further comprises:
generating a poster thumbnail corresponding to each poster in the poster set according to the poster set, and sending the poster thumbnail to the terminal equipment so that the terminal equipment displays the poster thumbnail on a preset display interface;
and receiving feedback information of the terminal equipment, determining a target poster from the poster set according to the feedback information, and sending the target poster to the terminal equipment, wherein the feedback information is information generated by the terminal equipment responding to the triggering of an external object after the poster thumbnail displayed on the display interface is triggered by the external object.
8. A poster generation apparatus, comprising:
the information receiving module is used for receiving the poster demand information of the terminal equipment, wherein the poster demand information at least comprises poster background information and poster file information;
The background generation module is used for determining a background generation model according to the poster background information, obtaining an initial background picture set according to the poster background information and the background generation model, and carrying out at least image pixel enhancement processing on pictures in the initial background picture set to obtain a poster background picture set;
the file generation module is used for determining a file generation model according to the file information and generating a file set according to the file generation model and the file information;
and the poster generating module is used for generating the poster according to the poster background picture set and the poster case set to obtain a poster set.
9. A server comprising a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for enabling a connection communication between the processor and the memory, wherein the computer program, when executed by the processor, implements the steps of poster generation according to any of claims 1-7.
10. A storage medium for computer readable storage, wherein the storage medium stores one or more programs executable by one or more processors to implement the steps of poster generation of any of claims 1-7.
CN202310718143.5A 2023-06-16 2023-06-16 Poster generation method, poster generation device, server and storage medium Pending CN116681801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310718143.5A CN116681801A (en) 2023-06-16 2023-06-16 Poster generation method, poster generation device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310718143.5A CN116681801A (en) 2023-06-16 2023-06-16 Poster generation method, poster generation device, server and storage medium

Publications (1)

Publication Number Publication Date
CN116681801A true CN116681801A (en) 2023-09-01

Family

ID=87778988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310718143.5A Pending CN116681801A (en) 2023-06-16 2023-06-16 Poster generation method, poster generation device, server and storage medium

Country Status (1)

Country Link
CN (1) CN116681801A (en)

Similar Documents

Publication Publication Date Title
US20210081611A1 (en) Methods and systems for language-agnostic machine learning in natural language processing using feature extraction
US9411790B2 (en) Systems, methods, and media for generating structured documents
US9299041B2 (en) Obtaining data from unstructured data for a structured data collection
US10552539B2 (en) Dynamic highlighting of text in electronic documents
US9218568B2 (en) Disambiguating data using contextual and historical information
CN108399150B (en) Text processing method and device, computer equipment and storage medium
US8874590B2 (en) Apparatus and method for supporting keyword input
WO2015047920A1 (en) Title and body extraction from web page
US9256687B2 (en) Augmenting search results with interactive search matrix
US10242033B2 (en) Extrapolative search techniques
CN113204621B (en) Document warehouse-in and document retrieval method, device, equipment and storage medium
US11651015B2 (en) Method and apparatus for presenting information
US10713425B2 (en) System and method for generating a proposal based on a request for proposal (RFP)
US20080005080A1 (en) Interactive facsimile directory
US20170286970A1 (en) Answer-suggestion system for automatically resolving customer requests
CN115982376A (en) Method and apparatus for training models based on text, multimodal data and knowledge
CN110209780B (en) Question template generation method and device, server and storage medium
US20120059786A1 (en) Method and an apparatus for matching data network resources
US11803796B2 (en) System, method, electronic device, and storage medium for identifying risk event based on social information
CN108363707B (en) Method and device for generating webpage
CN113221572B (en) Information processing method, device, equipment and medium
US11687574B2 (en) Record matching in a database system
US11593417B2 (en) Assigning documents to entities of a database
CN116681801A (en) Poster generation method, poster generation device, server and storage medium
CN111737288B (en) Search control method, device, terminal equipment, server and storage medium

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