WO2022028241A1 - Procédé de génération de couverture de prévisualisation et dispositif électronique - Google Patents

Procédé de génération de couverture de prévisualisation et dispositif électronique Download PDF

Info

Publication number
WO2022028241A1
WO2022028241A1 PCT/CN2021/107089 CN2021107089W WO2022028241A1 WO 2022028241 A1 WO2022028241 A1 WO 2022028241A1 CN 2021107089 W CN2021107089 W CN 2021107089W WO 2022028241 A1 WO2022028241 A1 WO 2022028241A1
Authority
WO
WIPO (PCT)
Prior art keywords
cover
virtual element
preview
target
text
Prior art date
Application number
PCT/CN2021/107089
Other languages
English (en)
Chinese (zh)
Inventor
李银辉
刘旭东
Original Assignee
北京达佳互联信息技术有限公司
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 北京达佳互联信息技术有限公司 filed Critical 北京达佳互联信息技术有限公司
Publication of WO2022028241A1 publication Critical patent/WO2022028241A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/44Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements

Definitions

  • the present disclosure relates to the field of Internet technologies, and in particular, to a method for generating a preview cover and an electronic device.
  • the user manually sets a background image and a virtual element to be displayed on the background image for the multimedia resource according to the content of the multimedia resource, and adds the virtual element to the background image to obtain a multimedia resource. Cover of the resource.
  • the present disclosure provides a method, device, electronic device and storage medium for generating a preview cover.
  • a method for generating a preview cover comprising:
  • the preview cover is displayed.
  • the method further includes: identifying a target position in the background image; adding the target virtual element to the background image to obtain a preview cover of the multimedia resource, including: adding the target virtual element to the background image The target virtual element is added to the target position to obtain the preview cover of the multimedia resource.
  • the identifying the target position in the background image includes: identifying the position of the target object in the background image, where the target object includes text content, a human face, or an object belonging to a target type At least one of; determining the target position, and the target position and the position of the target object do not overlap.
  • the method further includes: in response to the preview cover generation instruction, acquiring cover text corresponding to the multimedia resource, where the cover text is used to describe the content of the multimedia resource; Adding the target virtual element to the background image to obtain the preview cover of the multimedia resource includes: adding the cover text and the target virtual element to the background image to obtain the preview cover of the multimedia resource.
  • the obtaining the cover text corresponding to the multimedia resource includes: obtaining the cover text input in the preview cover generation interface; or, identifying the cover text corresponding to each image in the multimedia resource Image content, and the cover text is generated based on the identified image content.
  • the adding the cover text and the target virtual element to the background image to obtain the preview cover of the multimedia resource includes: adding the target virtual element to the background image to obtain a first image; add the cover text to the upper layer of the target virtual element in the first image to obtain the preview cover.
  • the acquiring a target virtual element includes: acquiring a virtual element type, where the virtual element type matches the resource tag, and determining any virtual element belonging to the virtual element type as the target virtual element element.
  • the acquiring a virtual element type includes: acquiring a virtual element type matching the resource tag based on a target correspondence relationship, where the target correspondence relationship includes a resource tag and a corresponding virtual element type.
  • determining any virtual element that belongs to the virtual element type as the target virtual element includes: identifying the target color of the background image; Any virtual element with different target colors is determined as the target virtual element.
  • identifying the background image of the multimedia resource includes: acquiring a plurality of images in the multimedia resource; and selecting an image that meets a target condition from the plurality of images as the background of the multimedia resource image.
  • the method further includes: receiving a resource acquisition instruction through a preview cover setting interface; and selecting the multimedia resource from a resource library in response to the resource acquisition instruction.
  • the preview interface includes an element adjustment area, the element adjustment area includes the target virtual element and at least one candidate virtual element, the at least one candidate virtual element is different from the target virtual element;
  • the method further includes: in response to a selection operation of any candidate virtual element in the element adjustment area of the preview interface, determining the selected candidate virtual element as the adjusted target virtual element.
  • the method further includes: in response to a moving operation on the target virtual element in the preview interface, changing the moved target virtual element The position is determined as the adjusted target position.
  • the preview interface includes a text adjustment area
  • the text adjustment area includes the cover text and at least one alternative cover text
  • the at least one alternative cover text is different from the cover text
  • the The method further includes: in response to a selection operation of any candidate cover text in the text adjustment area of the preview interface, determining the selected candidate cover text as the adjusted cover text.
  • the method further includes: in response to a selection operation of any animation effect in the animation effect setting area of the preview interface, determining the selected animation effect as the target animation effect of the preview cover; In the preview interface, the preview cover is displayed based on the target dynamic effect.
  • the background image includes multiple
  • the target virtual element includes multiple
  • the adding the target virtual element to the background image to obtain the preview cover of the multimedia resource includes: for For each target virtual element, the target virtual element is respectively added to at least one background image among the plurality of background images to obtain the preview cover of the multimedia resource.
  • an apparatus for generating a preview cover comprising:
  • a generation instruction receiving unit configured to receive the preview cover generation instruction of the multimedia resource through the preview cover generation interface of the multimedia resource
  • an identification processing unit configured to identify the background image and the resource label of the multimedia resource in response to the preview cover generation instruction
  • a preview cover acquiring unit configured to acquire a target virtual element matching the resource tag, and adding the target virtual element to the background image to obtain a preview cover of the multimedia resource
  • the preview cover display unit is configured to display the preview cover in the preview interface.
  • an electronic device comprising:
  • processors one or more processors
  • volatile or nonvolatile memory for storing the one or more processor-executable instructions
  • processors are configured to execute the instructions to implement the following steps:
  • the preview cover is displayed.
  • a non-transitory computer-readable storage medium when instructions in the storage medium are executed by a processor of an electronic device, the electronic device can perform the following steps:
  • the preview cover is displayed.
  • a computer program product when instructions in the computer program product are executed by a processor of an electronic device, the electronic device can perform the following steps:
  • the preview cover is displayed.
  • FIG. 1 is a flowchart of a method for generating a preview cover according to an exemplary embodiment
  • FIG. 2 is a flowchart of another method for generating a preview cover according to an exemplary embodiment
  • FIG. 3 is a schematic diagram of generating a preview cover according to an exemplary embodiment
  • Fig. 4 is another schematic diagram of generating a preview cover according to an exemplary embodiment
  • FIG. 5 is another schematic diagram of generating a preview cover according to an exemplary embodiment
  • FIG. 6 is a schematic diagram of another generation of a preview cover according to an exemplary embodiment
  • FIG. 7 is a block diagram of an apparatus for generating a preview cover according to an exemplary embodiment
  • FIG. 8 is a block diagram of another preview cover generation apparatus according to an exemplary embodiment
  • FIG. 9 is a block diagram of a terminal for generating a preview cover according to an exemplary embodiment
  • Fig. 10 is a block diagram of a server according to an exemplary embodiment.
  • FIG. 1 is a flowchart of a method for generating a preview cover according to an exemplary embodiment. Referring to FIG. 1 , the method is applied to a terminal and includes the following steps:
  • step 101 a preview cover generation instruction of the multimedia resource is received through a preview cover generation interface of the multimedia resource.
  • step 102 in response to the preview cover generation instruction, the background image and the resource label of the multimedia resource are identified.
  • step 103 the target virtual element is acquired, the target virtual element matches the resource tag, the target virtual element is added to the background image, and the preview cover of the multimedia resource is obtained.
  • step 104 in the preview interface, the preview cover is displayed.
  • the method provided by the embodiments of the present disclosure only needs to trigger the preview cover generation instruction on the preview cover generation interface of the multimedia resource, and the preview cover of the multimedia resource can be automatically generated.
  • the user does not need to perform other operations, which is more convenient and intelligent, and is compatible with the Compared with the manual production of the preview cover by the user, the above-mentioned automatic generation method generates the preview cover faster, improves the efficiency of generating the preview cover, and reduces the cost.
  • the method further includes: identifying the target position in the background image; adding the target virtual element to the background image to obtain a preview cover of the multimedia resource, including: adding the target virtual element to the target position to obtain the multimedia resource preview cover.
  • recognizing the target location in the background image includes: recognizing the location of the target object in the background image, where the target object includes at least one of text content, human face, or objects belonging to the target type; determining the target position, there is no overlap between the target position and the position of the target object.
  • the method further includes: in response to the preview cover generation instruction, obtaining cover text corresponding to the multimedia resource, where the cover text is used to describe the content of the multimedia resource; adding the target virtual element to the background image to obtain a preview of the multimedia resource
  • the cover includes: adding the cover text and target virtual elements to the background image to obtain the preview cover of the multimedia resource.
  • acquiring the cover text corresponding to the multimedia resource includes: acquiring the cover text input in the preview cover generation interface; or, recognizing the image content corresponding to each image in the multimedia resource, and generating the cover based on the recognized image content text.
  • adding the cover text and the target virtual element to the background image to obtain the preview cover of the multimedia resource includes: adding the target virtual element to the background image to obtain the first image; adding the cover text to the first image In the upper layer of the target virtual element, get the preview cover.
  • obtaining the target virtual element includes: obtaining a virtual element type, where the virtual element type matches a resource tag, and determining the target virtual element based on at least one virtual element belonging to the virtual element type.
  • acquiring a virtual element type includes: acquiring a virtual element type matching a resource tag based on a target correspondence relationship, where the target correspondence relationship includes a resource tag and a corresponding virtual element type.
  • determining the target virtual element based on at least one virtual element belonging to the virtual element type includes: identifying a target color of the background image; determining the target based on at least one virtual element belonging to the virtual element type and having a color different from the target color virtual elements.
  • identifying the background image of the multimedia resource includes: acquiring multiple images in the multimedia resource; and selecting an image that satisfies the target condition from the multiple images as the background image of the multimedia resource.
  • the method further includes: receiving a resource acquisition instruction through the preview cover setting interface; and selecting a multimedia resource from a resource library in response to the resource acquisition instruction.
  • the preview interface includes an element adjustment area
  • the element adjustment area includes a target virtual element and at least one candidate virtual element, the at least one candidate virtual element is different from the target virtual element; the method further includes: in response to adjusting the element The selection operation of any candidate virtual element in the adjustment area is to determine the selected candidate virtual element as the adjusted target virtual element.
  • the method further includes: in response to the moving operation on the target virtual element of the preview interface, determining the position of the moved target virtual element as the adjusted target position.
  • the preview interface includes a text adjustment area, and the text adjustment area includes cover text and at least one candidate cover text; the method further includes: in response to a selection operation on any candidate cover text in the text adjustment area, adjusting The selected alternative cover text is determined as the adjusted cover text.
  • the background image includes multiple
  • the target virtual element includes multiple
  • adding the target virtual element to the background image to obtain the preview cover of the multimedia resource includes: for each target virtual element, adding the target virtual element at most At least one background image among the background images is obtained to obtain the preview cover of the multimedia resource.
  • Fig. 2 is a flow chart of another method for generating a preview cover according to an exemplary embodiment. Referring to Fig. 2, the method is applied in a terminal, and includes the following steps:
  • the terminal receives a preview cover generation instruction of the multimedia resource through a preview cover generation interface of the multimedia resource.
  • the terminal acquires the multimedia resource input by the user, and after receiving the preview cover generation instruction of the multimedia resource, identifies the background image, virtual element and cover text of the multimedia resource, and then combines the background image, virtual element and cover Text to generate a preview cover for this multimedia resource.
  • a cover generation application is installed on the terminal, and the cover generation application acquires a multimedia resource uploaded by a user, identifies the multimedia resource, and generates a preview cover for the multimedia resource.
  • the terminal is installed with a video application
  • the video application acquires the multimedia resource uploaded by the user, generates a preview cover for the multimedia resource, and subsequently displays the preview cover to the user through the video application, in response to the user triggering the preview cover operation to play the multimedia resource corresponding to the preview cover.
  • the preview cover generation interface includes multimedia resources.
  • Multimedia resources are video, audio or other types of resources.
  • Multimedia resources can be of any size.
  • Multimedia resources are MPEG (Moving Picture Experts Group, Moving Picture Experts Group), AVI (Audio Video Interleaved, audio and video interleaved), WMV (Windows Media Video) , a streaming media format) or resources in other formats, which are not limited in this disclosure.
  • the preview cover generation instruction is used to instruct to generate a corresponding preview cover for the multimedia resource.
  • the preview cover generation interface includes a preview cover generation button
  • the terminal generates a preview cover generation instruction in response to a user triggering the preview cover generation button
  • the terminal receives the preview cover generation instruction through the preview cover generation interface.
  • the trigger operation is a click operation, a sliding operation or other operations.
  • the terminal before displaying the preview cover generation interface of the multimedia resource, displays the preview cover setting interface, and receives a resource acquisition instruction through the preview cover setting interface, where the resource acquisition instruction is used to instruct acquisition of the multimedia resource; in response to the resource Get instructions to select multimedia resources from the resource library.
  • the resource library stores multiple multimedia resources, and the resource library is a resource library in the terminal or a resource library in the server.
  • the terminal displays a plurality of multimedia resources stored in the resource library of the terminal, and the user selects the multimedia resources for which a preview cover needs to be generated from the plurality of multimedia resources.
  • the terminal sends a resource acquisition request to the server in response to the resource acquisition instruction, and the server acquires multiple multimedia resources from the resource library in response to the resource acquisition request, sends the multimedia resources to the terminal, and the terminal displays the received multiple multimedia resources, It is used to select the multimedia resource that needs to generate a preview cover from multiple multimedia resources.
  • the preview cover setting interface includes a resource acquisition button, and the terminal generates a resource acquisition instruction in response to a user's triggering operation on the resource acquisition button.
  • the trigger operation is a click operation, a sliding operation or other operations.
  • the resource acquisition instruction includes a first resource acquisition instruction and a second resource acquisition instruction
  • the first resource acquisition instruction is used to instruct to select multimedia resources from a resource library of the terminal
  • the second resource acquisition instruction is used to instruct the server Select multimedia resources from the resource library.
  • the preview cover setting interface includes a first resource acquisition button and a second resource acquisition button, and the terminal generates a first resource acquisition instruction in response to the triggering operation of the first resource acquisition button, and responds to the triggering of the second resource acquisition button. operation to generate a second resource acquisition instruction.
  • the preview cover setting interface includes a size setting option
  • the size setting option is used to set the size of the multimedia resource when displayed
  • the terminal sets the acquired multimedia resource to the corresponding size in response to the setting operation of the option.
  • the size setting options include two options: 9:16 and 16:9. In response to the selection operation for 9:16, the size of the acquired multimedia resource is converted to 9:16.
  • the terminal acquires the cover text corresponding to the multimedia resource in response to the preview cover generation instruction.
  • the terminal in response to the received preview cover generation instruction, obtains the resource label, cover text, background image and virtual element corresponding to the multimedia resource, so as to generate the preview cover. During this process, the terminal can automatically generate a preview cover for the multimedia resource without the need for the user to perform other operations.
  • the preview cover generation interface includes a cover text setting area
  • the user can input one or more cover texts in the cover text setting area
  • the terminal responds to the preview cover generation instruction to obtain the information entered by the user in the preview cover generation interface. Cover text.
  • the terminal in response to the preview cover generation instruction, identifies image content corresponding to each image in the multimedia resource, and generates cover text based on the identified image content.
  • the image content includes text content, characters, items and other content.
  • the terminal acquires multiple images in the multimedia resource, identifies the text content, characters, items and other information in each image, obtains the image content, further identifies the image content corresponding to the multiple images, determines the core content of the image content, and processes the core content Get cover text.
  • the core content refers to at least one of the text content, characters or items that appear most frequently in the multiple images, or the core content is obtained by combining the text content, characters or items that appear the most frequently. For example, if diapers appear in multiple images, diapers are considered to be the core content; or, if diapers and babies appear in multiple images, babies and diapers are considered as the core content.
  • the multimedia resource is a video related to diapers, identify multiple images in the video, obtain images of the baby, images of diapers, text descriptions about diapers, etc., and determine that the core content of the image content is the baby's diapers, so as to obtain the cover text , the cover text is "Xiaobao Diapers", "Baby's Diapers", etc.
  • the terminal performs face recognition on the image to obtain the face in the image; performs still life recognition on the image to obtain the item in the image; performs scene recognition on the image to determine the scene in the current image; performs copywriting on the image Recognition, to determine the text content in the image.
  • the terminal generates one or more cover texts based on the image content corresponding to the multiple images.
  • the core contents corresponding to the multiple cover texts are the same, and only different texts are used to describe the core content. content.
  • the terminal invokes the cover text generation model, identifies the multimedia resource, and obtains the cover text corresponding to the multimedia resource.
  • the cover text generation model is a trained model for generating cover text for multimedia resources. This embodiment of the present disclosure does not limit the training process of the cover text generation model.
  • the embodiments of the present disclosure do not limit the manner of recognizing images.
  • the terminal recognizes faces in images based on a face recognition model, and recognizes text content in images based on a text recognition model.
  • the terminal identifies the background image and the resource label of the multimedia resource in response to the preview cover generation instruction.
  • the terminal recognizes the background image and the resource tag of the multimedia resource in response to the instruction for generating the preview cover of the multimedia resource, so as to obtain the background image, the cover text and the target virtual element, and combine the background image, the cover text and the target virtual element. element, so as to generate a preview cover of multimedia resources with one click.
  • the background image is an image reflecting the content of the multimedia resource
  • the resource tag is used to represent the resource content of the multimedia resource
  • the resource tag includes a video tag or other tags
  • the video tag is used to indicate the tag to which the video content belongs.
  • the video tag includes Game videos, e-commerce videos, food videos, etc.
  • the terminal acquires multiple images in the multimedia resource; from the multiple images, an image that satisfies a preset condition is selected as the background image of the multimedia resource.
  • the preset conditions include at least one condition, such as clear image, the person or item in the image has a complete and clear outline, the text in the image is displayed completely, the person in the image cannot close their eyes, and the image does not include a watermark.
  • the at least one condition refers to one or more of the above-mentioned conditions.
  • the preset condition is that the image is clear, or the preset condition is that the image is clear and the image does not contain a watermark.
  • the preset condition may be referred to as the target condition.
  • the terminal selects an image that satisfies the target condition from a plurality of images as the background image of the multimedia resource.
  • the terminal after determining the background image, the terminal identifies the target position in the background image.
  • the target position is the position where the virtual element or cover text is added, and the target position is any position in the background image.
  • the terminal recognizes the position of the target object in the background image, and determines the target position based on the position of the target object, so that there is no overlap between the target position and the position of the target object, that is, the target position and the target object There is no overlapping area between the positions at all, preventing dummy elements or cover text from obscuring the original target object in the background image when adding a dummy element or cover text to the target position.
  • the target object includes at least one of text content, human face, or objects belonging to the target type, and at least one refers to one or more of the above-mentioned multiple objects, for example, the target object is text content, human face or Any of the items belonging to the target type, or the target object is text content, a face, or any two of the items belonging to the target type, or the target object is text content, a face, and an item belonging to the target type.
  • the text content refers to the text in the background image
  • the objects belonging to the target type refer to the objects of the target type in the background image
  • the target type includes at least one type.
  • the target type is determined according to the content of the multimedia resource, and the target type is different when the content of the multimedia resource is different.
  • the multimedia resource is an advertisement about diapers, then “diapers” is the subject in the background image, and the target type is diapers; if the multimedia resource is an advertisement about electronic products, then “electronic products” is the subject in the background image, and the target type is diapers.
  • the multimedia resource is an advertisement about electronic products, then “electronic products” is the subject in the background image, and the target type is diapers.
  • Types of electronic products such as mobile phones and computers.
  • the target location is located next to, adjacent to, eg, above, below, etc. the location of the target object.
  • the target position is determined so that the target position does not overlap with the position of the target object and does not affect the overall display effect of the background image.
  • the terminal identifies information such as text content, characters, items, etc. in the multimedia resource, obtains content for describing the multimedia resource, further analyzes the content, and determines a resource tag representing the resource content of the multimedia resource.
  • the embodiment of the present disclosure only takes the cover text obtained first, and then the background image and the resource label as an example for description.
  • the background image and the resource label are obtained first, and then the cover text is obtained, or
  • the cover text, the background image, and the resource label are obtained at the same time, and the embodiment of the present disclosure does not limit the sequence of obtaining the cover text, the background image, and the resource label.
  • the terminal acquires a virtual element type matching the resource tag, and selects a target virtual element from at least one virtual element belonging to the virtual element type.
  • the terminal determines the target virtual element based on at least one virtual element belonging to the virtual element type. In the case where there is one virtual element belonging to the virtual element type, the one virtual element is determined as the target virtual element; in the case where there are multiple virtual elements belonging to the virtual element type, one virtual element is selected from the multiple virtual elements Determined as the target virtual element.
  • the virtual element types include e-commerce types, game types, financial types, etc., and there is a corresponding relationship between virtual elements and resource tags.
  • the target virtual element is an element used to reflect the content of the multimedia resource, and the virtual element is a sticker, an avatar, a virtual item, and the like.
  • the terminal acquires the virtual element type matching the resource type according to the preset correspondence, so as to ensure that the acquired virtual element matches the multimedia resource.
  • the preset correspondence includes resource tags and corresponding virtual element types. For example, if the resource type is an e-commerce type, the virtual elements of the e-commerce type are obtained by querying the preset corresponding relationship.
  • the preset correspondence may be referred to as target correspondence
  • the resource type may be referred to as resource label
  • the terminal obtains a virtual element type matching the resource label based on the target correspondence.
  • the target correspondence includes resource tags and corresponding virtual element types.
  • the terminal after acquiring the virtual element type matching the resource tag, the terminal identifies the target color of the background image; from at least one virtual element belonging to the virtual element type, selects the target virtual element whose color is different from the target color, and also selects the target virtual element whose color is different from the target color. That is, the terminal determines the target virtual element based on at least one virtual element belonging to the virtual element type and having a color different from the target color.
  • the target color refers to the main color of the background image, and the target virtual element with a different color from the target color is selected to ensure that the color of the target virtual element is different from the main color of the background image, and the target virtual element is clearly displayed in the background image.
  • the main color of the background image is black, and the color of the selected target virtual element can be white.
  • the terminal adds the cover text and the target virtual element to the background image to obtain a preview cover of the multimedia resource.
  • the terminal combines the cover text, the target virtual element and the background image to obtain the preview cover of the multimedia resource.
  • the terminal adds the target virtual element to the target position to obtain the preview cover of the multimedia resource. Or, the terminal adds the cover text and the target virtual element to the target position to obtain a preview cover of the multimedia resource, where the cover text is located on the upper layer of the target virtual element.
  • the terminal adds the target virtual element to the background image to obtain the first image; adds the cover text to the upper layer of the target virtual element in the first image, and determines the obtained image as the preview cover, that is, the preview cover is obtained .
  • the terminal adding the target virtual element to the background image to obtain the first image includes: the terminal adding the target virtual element to the target position to obtain the first image.
  • the terminal displays the preview cover in the preview interface.
  • the terminal displays the preview cover on the preview interface, and the user checks the display effect of the preview cover. If the user is not satisfied with the display effect of the preview cover, the user further adjusts the preview cover.
  • the preview interface includes an element adjustment area
  • the element adjustment area includes a target virtual element and at least one other virtual element except the target virtual element
  • the terminal displays the target virtual element and the target virtual element in the element adjustment area in the preview interface.
  • At least one other virtual element in response to a selection operation on any other virtual element in the element adjustment area, determines the selected virtual element as the adjusted target virtual element.
  • the other virtual elements are other virtual elements except the target virtual element currently displayed in the preview cover. That is, the terminal acquires multiple candidate virtual elements, the target virtual element currently displayed in the preview cover is one of the multiple candidate virtual elements, and the terminal displays the target element and at least one candidate virtual element in the element adjustment area.
  • the user selects any candidate virtual element from at least one candidate virtual element except the target virtual element, and replaces the currently displayed target virtual element with the selected candidate virtual element, and the candidate virtual element to be selected is used. It is determined as the adjusted target virtual element, and the adjustment of the target virtual element is realized, and the position of the adjusted target virtual element does not change.
  • the candidate virtual element may be a preset virtual element, or may be a virtual element determined in the above manner.
  • the terminal in response to a moving operation on the target virtual element of the preview interface, determines the position of the moved target virtual element as the adjusted target position, so that the target virtual element is located at the adjusted target position.
  • the adjusted target position and the target object may not overlap or may overlap.
  • the preview interface further includes a text adjustment area
  • the text adjustment area includes the cover text and at least one other cover text except the cover text
  • the terminal displays the cover text in the current preview cover and at least one other cover text in the text adjustment area.
  • One other cover text in response to a selection operation on any other cover text in the text adjustment area, the selected cover text is determined as the adjusted cover text.
  • the other cover text includes other cover text except the cover text currently displayed in the preview cover.
  • the terminal acquires multiple cover texts, the currently displayed cover text in the preview cover is one of the multiple cover texts, and the user selects one cover text from other cover texts to replace the currently displayed cover text, so as to adjust the cover text, and The position of the adjusted cover text does not change.
  • other cover texts may be referred to as alternative cover texts
  • the text adjustment area includes cover texts and at least one alternative cover text, the at least one alternative cover text being different from the cover text displayed in the currently previewed cover.
  • the terminal determines the selected candidate cover text as the adjusted cover text.
  • the terminal in response to an editing operation on the currently displayed cover text in the preview cover, edits the currently displayed cover text, obtains the edited cover text, and determines the edited cover text as the adjusted cover text.
  • the terminal displays multiple motion effects in the motion effect setting area of the preview interface, and in response to a selection operation on any motion effect in the motion effect setting area of the preview interface, determines the selected motion effect as the preview cover
  • the target animation in the preview interface, the preview cover is displayed according to the target animation.
  • the dynamic effects include fading in and out, corner switching, sliding up, page turning, etc.
  • the target motion effect is sliding up
  • the preview cover is displayed in the preview interface by sliding up.
  • the embodiment of the present disclosure only takes obtaining a preview cover of a multimedia resource as an example for description.
  • the terminal may obtain multiple preview covers of a multimedia resource, and the acquisition method of each preview cover is the same as The acquisition method of the preview cover shown in the embodiment of the present disclosure is the same.
  • the background image acquired by the terminal includes a plurality of target virtual elements
  • the terminal adds the plurality of target virtual elements to at least one background image of the plurality of background images respectively to obtain multiple preview covers of the multimedia resource.
  • the terminal adds the target virtual element to at least one background image among the multiple background images, respectively, to obtain a preview cover of the multimedia resource.
  • a target virtual element is added to each background image, that is, each preview cover includes a target virtual element. For example, if there are 5 target virtual elements and 1 background image, then each target virtual element is added to the background image to obtain 5 preview covers.
  • any target virtual element and any background image are combined to obtain a preview cover, and multiple target virtual elements and multiple background images can be combined in pairs to obtain multiple preview covers. For example, if the terminal obtains 5 background images and 5 target virtual elements, a maximum of 120 preview covers can be obtained.
  • the terminal when there are multiple background images acquired by the terminal and there is one target virtual element, the terminal combines the target virtual element with multiple background images respectively to obtain multiple preview covers.
  • the terminal acquires multiple background images, multiple target virtual elements, and multiple cover texts, and the terminal adds multiple cover texts and multiple target virtual elements to at least one of the multiple background images, respectively. Background images to get multiple preview covers of multimedia resources.
  • each obtained preview cover includes a target virtual element and a cover text.
  • two background images, two target virtual elements, and two cover texts are obtained, and combined with each other, a maximum of eight preview covers are obtained.
  • the terminal may add multiple target virtual elements and multiple cover texts to the target position of at least one background image among the multiple background images, so as to obtain multiple preview covers of the multimedia resource.
  • the preview cover generation interface includes a preview cover quantity setting area
  • the user inputs the number of preview covers to be generated in the preview cover setting area
  • the terminal generates a corresponding number of preview covers for the multimedia resource according to the quantity input by the user
  • the preview The corresponding number of generated preview covers are displayed in the interface at the same time, which realizes batch generation of preview covers, improves the generation efficiency of preview covers, and the user can view multiple generated preview covers at the same time.
  • the multimedia resource is input in the preview cover setting interface 301
  • the cover text is input in the cover text setting area of the preview cover generation interface 302
  • the response The user triggers the preview cover generation button in the preview cover generation interface, and in the preview interface 303, the generated preview cover is displayed.
  • FIG. 3 it is only an example of inputting cover text 1 and cover text 2 in the cover text setting area to generate the corresponding preview cover 1 and preview cover 2.
  • the user can input other quantities in the cover text setting area.
  • the number of cover texts input by the user in the cover text setting area is not limited.
  • a corresponding adjustment button is provided below each preview cover, and in response to the triggering operation of the adjustment button, the generated preview is further adjusted in the preview interface 304 cover.
  • the preview interface 304 displays the animation effect setting area, the cover text adjustment area and the virtual element adjustment area, and based on these areas, the display animation effect, cover text and target virtual element of the preview cover are adjusted respectively.
  • the multimedia resource is input in the preview cover setting interface 501, and in response to the triggering operation of the preview cover generation button in the preview cover generation interface 502 by the user, in the preview cover generation interface 502 In the preview interface 503, the generated preview cover is displayed.
  • the generated preview cover 2 is further adjusted in the preview interface 504 to obtain the adjusted preview cover 2.
  • the terminal displays the preview interface 504
  • the adjusted preview cover 2 is displayed in .
  • the terminal displays the preview cover 2 before adjustment.
  • multiple adjusted preview covers 2 can be obtained, and the terminal can display other preview covers 2 in response to the sliding operation of the currently displayed preview cover 2.
  • the display effects of the multiple preview covers 2 are compared, and the preview cover 2 with the best display effect is determined.
  • the preview interface includes a save button, and in response to a triggering operation of the save button, the terminal stores the generated preview cover corresponding to the multimedia resource.
  • the preview interface includes a release button, and the terminal releases the generated preview cover and multimedia resources in response to a triggering operation of the release button, so that any terminal that logs in to the video application displays multimedia.
  • the multimedia resource corresponding to the preview cover is acquired, and the multimedia resource is played.
  • the terminal displays any one of the multiple preview covers, and the preview covers can be changed at any time.
  • steps 202 to 205 may be applied to a server. That is, the terminal displays a preview generation interface of the multimedia resource, the terminal sends a preview cover generation instruction to the server, the preview cover generation instruction carries the multimedia resource, the server generates a corresponding preview cover according to the multimedia resource, and the server sends the generated preview cover to the terminal.
  • the terminal displays the preview cover in the preview interface.
  • the embodiment of the present disclosure only takes the generation of the preview cover of the multimedia resource according to the acquired background image, virtual element and cover text of the multimedia resource as an example for description.
  • the background images and virtual elements of the acquired multimedia resources are generated, and the preview cover of the multimedia resources is generated without acquiring the cover text.
  • the user manually sets the preview cover, the user needs to select the background image, the target virtual element, set the cover text, and then add the cover text and the target virtual element to the background image, which takes a long time and costs a lot of time. , and if the user does not know what kind of background image, target virtual element and cover text are more attractive to the user, the display effect of the set preview cover will also be poor.
  • the method provided by the embodiments of the present disclosure only needs to trigger the preview cover generation instruction on the preview cover generation interface of the multimedia resource, and the preview cover of the multimedia resource can be automatically generated.
  • the user does not need to perform other operations, which is more convenient and intelligent, and is compatible with the Compared with the manual production of the preview cover by the user, the above-mentioned automatic generation method generates the preview cover faster, improves the efficiency of generating the preview cover, and reduces the cost.
  • the cover text in response to the preview cover generation instruction, can be obtained, the cover text and the target virtual element can be added to the background image, and the preview cover can be obtained.
  • the user does not need to manually set the cover text, and is generated according to the background image, the target virtual element and the cover text.
  • the user does not need to perform any operation, and can generate the preview cover of the multimedia resource with one click, which improves the efficiency of generating the preview cover and reduces the cost.
  • multiple preview covers of multimedia resources can be obtained at the same time, and batch generation of preview covers can be realized, which further improves the efficiency of obtaining preview covers and reduces costs.
  • the generated preview cover can be further adjusted, which improves flexibility.
  • Fig. 7 is a block diagram of an apparatus for generating a preview cover according to an exemplary embodiment.
  • the device includes:
  • the generation instruction receiving unit 701 is configured to receive the preview cover generation instruction of the multimedia resource through the preview cover generation interface of the multimedia resource;
  • the identification processing unit 702 is configured to identify the background image and the resource label of the multimedia resource in response to the preview cover generation instruction;
  • the preview cover obtaining unit 703 is configured to obtain the target virtual element, the target virtual element matches the resource tag, and the target virtual element is added to the background image to obtain the preview cover of the multimedia resource;
  • the preview cover display unit 704 is configured to display the preview cover in the preview interface.
  • the device provided by the embodiment of the present disclosure can automatically generate the preview cover of the multimedia resource only by triggering the preview cover generation instruction on the preview cover generation interface of the multimedia resource.
  • the user does not need to perform other operations, which is more convenient and intelligent, and is compatible with the Compared with the manual production of the preview cover by the user, the above-mentioned automatic generation method generates the preview cover faster, improves the efficiency of generating the preview cover, and reduces the cost.
  • the apparatus further includes:
  • a target position determination unit 705, configured to identify the target position in the background image
  • the preview cover obtaining unit 703 is configured to add the target virtual element to the target position to obtain the preview cover of the multimedia resource.
  • the target position determination unit 705 is configured to:
  • the target object includes at least one of text content, human face or objects belonging to the target type;
  • the target position is determined, and there is no overlap between the target position and the position of the target object.
  • the apparatus further includes:
  • the cover text obtaining unit 706 is configured to, in response to the preview cover generation instruction, obtain cover text corresponding to the multimedia resource, where the cover text is used to describe the content of the multimedia resource;
  • the preview cover obtaining unit 703 is configured to add the cover text and the target virtual element to the background image to obtain the preview cover of the multimedia resource.
  • the cover text obtaining unit 706 includes:
  • the first obtaining subunit 7061 is configured to obtain the cover text input in the preview cover generation interface; or,
  • the second obtaining subunit 7062 is configured to identify image content corresponding to each image in the multimedia resource, and generate cover text based on the identified image content.
  • the preview cover obtaining unit 703 is configured to:
  • the cover text is added to the upper layer of the target virtual element in the first image to obtain a preview cover.
  • the preview cover obtaining unit 703 includes:
  • the virtual element acquiring subunit 7031 is configured to acquire a virtual element type, which matches the resource tag; and determine a target virtual element based on at least one virtual element belonging to the virtual element type.
  • the virtual element obtaining subunit 7031 is configured to obtain the virtual element type matching the resource tag based on the target correspondence relationship, and the target correspondence relationship includes the resource type and the corresponding virtual element label.
  • the virtual element acquisition subunit 7031 is configured to:
  • a target virtual element is determined based on at least one virtual element of a virtual element type and having a color different from the target color.
  • the identification processing unit 702 is configured to:
  • an image that satisfies the target condition is selected as the background image of the multimedia resource.
  • the apparatus further includes:
  • the acquisition instruction receiving unit 707 is configured to receive the resource acquisition instruction through the preview cover setting interface
  • the resource obtaining unit 708 is configured to select the multimedia resource from the resource library in response to the resource obtaining instruction.
  • the preview interface includes an element adjustment area
  • the element adjustment area includes a target virtual element and at least one candidate virtual element
  • the at least one candidate virtual element is different from the target virtual element
  • the apparatus further includes:
  • the virtual element adjustment unit 709 is configured to, in response to a selection operation of any candidate virtual element in the element adjustment area of the preview interface, determine the selected candidate virtual element as the adjusted target virtual element.
  • the apparatus further includes:
  • the target position adjustment unit 710 is configured to, in response to the moving operation on the target virtual element of the preview interface, determine the position of the moved target virtual element as the adjusted target position.
  • the preview interface includes a text adjustment area
  • the text adjustment area includes cover text and at least one alternative cover text
  • the at least one alternative cover text is different from the cover text
  • the apparatus further includes:
  • the cover text adjustment unit 711 is configured to, in response to a selection operation of any candidate cover text in the text adjustment area of the preview interface, determine the selected candidate cover text as the adjusted cover text.
  • the background image includes multiple
  • the target virtual element includes multiple
  • the preview cover obtaining unit 703 is configured to, for each target virtual element, add the target virtual element to at least one background of the multiple background images, respectively. image to get the preview cover of the multimedia resource.
  • FIG. 9 is a block diagram of a terminal 900 for generating a preview cover according to an exemplary embodiment.
  • the terminal 900 is used to perform the steps performed by the terminal in the above-mentioned preview cover generation method, and may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, a moving picture expert compressed standard audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4) player, laptop or desktop computer.
  • Terminal 900 may also be called user equipment, portable terminal, laptop terminal, desktop terminal, and the like by other names.
  • the terminal 900 includes: one or more processors 901 and one or more memories 902 .
  • the processor 901 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like.
  • the processor 901 can use at least one hardware form among DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, programmable logic array) accomplish.
  • the processor 901 may also include a main processor and a co-processor.
  • the main processor is a processor used to process data in the wake-up state, also called CPU (Central Processing Unit, central processing unit); the co-processor is A low-power processor for processing data in a standby state.
  • the processor 901 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen.
  • the processor 901 may further include an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is used to process computing operations related to machine learning.
  • AI Artificial Intelligence, artificial intelligence
  • Memory 902 may include one or more computer-readable storage media, which may be non-transitory.
  • the memory 902 may also include volatile memory or non-volatile memory, such as one or more disk storage devices, flash memory storage devices.
  • a non-transitory computer-readable storage medium in the memory 902 is used to store at least one instruction for being possessed by the processor 901 to implement the preview cover provided by the method embodiments of the present application Generate method.
  • the terminal 900 may optionally further include: a peripheral device interface 903 and at least one peripheral device.
  • the processor 901, the memory 902 and the peripheral device interface 903 may be connected through a bus or a signal line.
  • Each peripheral device can be connected to the peripheral device interface 903 through a bus, a signal line or a circuit board.
  • the peripheral device includes: at least one of a radio frequency circuit 904 , a display screen 905 , a camera 906 , an audio circuit 907 , a positioning component 908 and a power supply 909 .
  • the peripheral device interface 903 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 901 and the memory 902 .
  • processor 901, memory 902, and peripherals interface 903 are integrated on the same chip or circuit board; in some other embodiments, any one of processor 901, memory 902, and peripherals interface 903 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
  • the radio frequency circuit 904 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals.
  • the radio frequency circuit 904 communicates with the communication network and other communication devices through electromagnetic signals.
  • the radio frequency circuit 904 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
  • radio frequency circuitry 904 includes an antenna system, an RF transceiver, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and the like.
  • the radio frequency circuit 904 may communicate with other terminals through at least one wireless communication protocol.
  • the wireless communication protocols include, but are not limited to, metropolitan area networks, mobile communication networks of various generations (2G, 3G, 4G and 5G), wireless local area networks and/or WiFi (Wireless Fidelity, wireless fidelity) networks.
  • the radio frequency circuit 904 may further include a circuit related to NFC (Near Field Communication, short-range wireless communication), which is not limited in this application.
  • the display screen 905 is used to display a UI (User Interface).
  • the UI can include graphics, text, icons, video, and any combination thereof.
  • the display screen 905 also has the ability to acquire touch signals on or above the surface of the display screen 905 .
  • the touch signal may be input to the processor 901 as a control signal for processing.
  • the display screen 905 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards.
  • the display screen 905 may be a flexible display screen, disposed on a curved surface or a folding surface of the terminal 900 . Even, the display screen 905 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen.
  • the display screen 905 can be prepared by using materials such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light emitting diode).
  • the camera assembly 906 is used to capture images or video.
  • the camera assembly 906 includes a front camera and a rear camera.
  • the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal.
  • there are at least two rear cameras which are any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth-of-field camera to realize the background blur function, the main camera It is integrated with the wide-angle camera to achieve panoramic shooting and VR (Virtual Reality, virtual reality) shooting functions or other integrated shooting functions.
  • camera assembly 906 may also include a flash.
  • the flash can be a single color temperature flash or a dual color temperature flash. Dual color temperature flash refers to the combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.
  • Audio circuitry 907 may include a microphone and speakers.
  • the microphone is used to collect the sound waves of the user and the environment, convert the sound waves into electrical signals, and input them to the processor 901 for processing, or to the radio frequency circuit 904 to realize voice communication.
  • the microphone may also be an array microphone or an omnidirectional collection microphone.
  • the speaker is used to convert the electrical signal from the processor 901 or the radio frequency circuit 904 into sound waves.
  • the loudspeaker can be a traditional thin-film loudspeaker or a piezoelectric ceramic loudspeaker.
  • the speaker When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for distance measurement and other purposes.
  • the audio circuit 907 may also include a headphone jack.
  • the positioning component 908 is used to locate the current geographic location of the terminal 900 to implement navigation or LBS (Location Based Service, location-based service).
  • the positioning component 908 may be a positioning component based on the GPS (Global Positioning System, global positioning system) of the United States, the Beidou system of China, the Grenas system of Russia, or the Galileo system of the European Union.
  • GPS Global Positioning System, global positioning system
  • the power supply 909 is used to power various components in the terminal 900 .
  • the power source 909 may be alternating current, direct current, primary batteries, or rechargeable batteries.
  • the rechargeable battery can support wired charging or wireless charging.
  • the rechargeable battery can also be used to support fast charging technology.
  • terminal 900 also includes one or more sensors 910 .
  • the one or more sensors 910 include, but are not limited to, an acceleration sensor 911 , a gyro sensor 912 , a pressure sensor 913 , a fingerprint sensor 914 , an optical sensor 915 , and a proximity sensor 916 .
  • the acceleration sensor 911 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 900 .
  • the acceleration sensor 911 can be used to detect the components of the gravitational acceleration on the three coordinate axes.
  • the processor 901 may control the display screen 905 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 911 .
  • the acceleration sensor 911 can also be used for game or user movement data collection.
  • the gyroscope sensor 912 can detect the body direction and rotation angle of the terminal 900 , and the gyroscope sensor 912 can cooperate with the acceleration sensor 911 to collect 3D actions of the user on the terminal 900 .
  • the processor 901 can implement the following functions according to the data collected by the gyro sensor 912 : motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
  • the pressure sensor 913 may be disposed on the side frame of the terminal 900 and/or the lower layer of the display screen 905 .
  • the processor 901 can perform left and right hand identification or shortcut operations according to the holding signal collected by the pressure sensor 913.
  • the processor 901 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 905.
  • the operability controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
  • the fingerprint sensor 914 is used to collect the user's fingerprint, and the processor 901 identifies the user's identity according to the fingerprint collected by the fingerprint sensor 914, or the fingerprint sensor 914 identifies the user's identity according to the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 901 authorizes the user to perform relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings.
  • the fingerprint sensor 914 may be provided on the front, back or side of the terminal 900 . When the terminal 900 is provided with a physical button or a manufacturer's logo, the fingerprint sensor 914 can be integrated with the physical button or the manufacturer's logo.
  • Optical sensor 915 is used to collect ambient light intensity.
  • the processor 901 may control the display brightness of the display screen 905 according to the ambient light intensity collected by the optical sensor 915 . Specifically, when the ambient light intensity is high, the display brightness of the display screen 905 is increased; when the ambient light intensity is low, the display brightness of the display screen 905 is decreased.
  • the processor 901 may also dynamically adjust the shooting parameters of the camera assembly 906 according to the ambient light intensity collected by the optical sensor 915 .
  • a proximity sensor 916 also called a distance sensor, is usually provided on the front panel of the terminal 900 .
  • the proximity sensor 916 is used to collect the distance between the user and the front of the terminal 900 .
  • the processor 901 controls the display screen 905 to switch from the bright screen state to the off screen state; when the proximity sensor 916 detects When the distance between the user and the front of the terminal 900 gradually increases, the processor 901 controls the display screen 905 to switch from the closed screen state to the bright screen state.
  • FIG. 9 does not constitute a limitation on the terminal 900, and may include more or less components than shown, or combine some components, or adopt different component arrangements.
  • FIG. 10 is a schematic structural diagram of a server according to an exemplary embodiment.
  • the server 1000 may vary greatly due to different configurations or performance, and may include one or more processors (Central Processing Units, CPU) 1001 and one or more memories 1002, wherein at least one instruction is stored in the memory 1002, and the at least one instruction is loaded and executed by the processor 1001 to implement the methods provided by the foregoing method embodiments.
  • the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface for input and output, and the server may also include other components for implementing device functions, which will not be described here.
  • the server 1000 may be configured to perform the steps performed by the server in the above-mentioned method for generating a preview cover page.
  • an electronic device comprising: one or more processors; volatile or non-volatile memory for storing one or more processor-executable instructions; Wherein, one or more processors are configured to execute the instruction, and realize the following steps: receiving a preview cover generation instruction of the multimedia resource through the preview cover generation interface of the multimedia resource; in response to the preview cover generation instruction, identifying the background image of the multimedia resource and resource label; obtain the target virtual element, match the target virtual element with the resource label, add the target virtual element to the background image, and obtain the preview cover of the multimedia resource; in the preview interface, display the preview cover.
  • the one or more processors are configured to execute instructions to implement the steps of: identifying a target location in the background image; adding the target virtual element to the target location to obtain a preview cover of the multimedia resource.
  • the one or more processors are configured to execute instructions for identifying the location of a target object in the background image, the target object comprising at least one of textual content, a human face, or an item of the target type One; the target position is determined based on the position of the target object, and the target position and the position of the target object do not overlap.
  • one or more processors are configured to execute instructions to implement the following steps: in response to the preview cover generation instruction, obtain cover text corresponding to the multimedia resource, where the cover text is used to describe the content of the multimedia resource; Add the target dummy element to the background image to get the preview cover of the multimedia resource.
  • one or more processors are configured to execute the instructions to implement the following steps: obtain the cover text input in the preview cover generation interface; or, identify the image content corresponding to each image in the multimedia resource, based on The recognized image content generates cover text.
  • the one or more processors are configured to execute instructions to implement the steps of: adding a target virtual element to a background image to obtain a first image; adding cover text to the first image within the target virtual element On the upper layer, the resulting image is determined as the preview cover.
  • the one or more processors are configured to execute instructions to implement the steps of: obtaining a virtual element type that matches a resource tag; and determining a target virtual element based on at least one virtual element belonging to the virtual element type .
  • the one or more processors are configured to execute instructions to implement the steps of: obtaining a virtual element type matching the resource tag based on the target correspondence relationship, the target correspondence relationship including the resource tag and the corresponding virtual element type.
  • the one or more processors are configured to execute instructions to perform the steps of: identifying a target color of the background image; determining the target virtual element based on at least one virtual element of a virtual element type and having a color different from the target color element.
  • the one or more processors are configured to execute instructions to implement the following steps: acquiring multiple images in the multimedia resource; and selecting an image that satisfies the target condition from the multiple images as the background image of the multimedia resource.
  • the one or more processors are configured to execute instructions to implement the steps of: receiving a resource acquisition instruction through a preview cover setting interface; and selecting a multimedia resource from a resource library in response to the resource acquisition instruction.
  • the preview interface includes an element adjustment area
  • the element adjustment area includes a target virtual element and at least one candidate virtual element
  • the at least one candidate virtual element is different from the target virtual element
  • the one or more processors are configured to execute The instruction implements the following steps: in response to a selection operation on any candidate virtual element in the element adjustment area, determining the selected candidate virtual element as the adjusted target virtual element.
  • the one or more processors are configured to execute instructions to implement the steps of: in response to a moving operation on the target virtual element of the preview interface, determining the position of the moved target virtual element as the adjusted target position .
  • the preview interface includes a text adjustment area
  • the text adjustment area includes cover text and at least one alternative cover text
  • the at least one alternative cover text is different from the cover text
  • the one or more processors are configured to execute the instructions, The following steps are implemented: in response to a selection operation on any candidate cover text in the text adjustment area, determining the selected candidate cover text as the adjusted cover text.
  • the background image includes a plurality
  • the target virtual element includes a plurality
  • the one or more processors are configured to execute instructions to implement the steps of: for each target virtual element, adding the target virtual element to the plurality of At least one background image in the background images obtains the preview cover of the multimedia resource.
  • a non-transitory computer-readable storage medium when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can perform the following steps: previewing the cover through the multimedia resource Generate an interface, receive the preview cover generation instruction of the multimedia resource; identify the background image and resource label of the multimedia resource in response to the preview cover generation instruction; acquire the target virtual element, match the target virtual element with the resource label, and add the target virtual element to the background image to get the preview cover of the multimedia resource; in the preview interface, the preview cover is displayed.
  • the electronic device when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can perform the following steps: identifying the target position in the background image; adding the target virtual element to the target position to obtain the multimedia resource preview cover.
  • the instructions in the storage medium when executed by the processor of the electronic device, enable the electronic device to perform the following steps: identify the location of the target object in the background image, the target object includes text content, a human face, or belongs to At least one of the objects of the target type; the target position is determined, and there is no overlap between the target position and the position of the target object.
  • the electronic device when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is enabled to perform the following steps: in response to the preview cover generation instruction, obtain the cover text corresponding to the multimedia resource, where the cover text is used to describe the multimedia The content of the resource; add the cover text and target virtual elements to the background image to get the preview cover of the multimedia resource.
  • the electronic device when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is enabled to perform the following steps: obtain the cover text entered in the preview cover generation interface; or, identify each of the multimedia resources The image content corresponding to the image, and the cover text is generated based on the recognized image content.
  • the electronic device when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can perform the following steps: adding the target virtual element to the background image to obtain the first image; adding the cover text to the first image The upper layer of the target virtual element in an image, and the obtained image is determined as the preview cover.
  • the instructions in the storage medium when executed by the processor of the electronic device, enable the electronic device to perform the steps of: obtaining a virtual element type that matches the resource tag, based on at least one belonging to the virtual element type Dummy element, which determines the target dummy element.
  • the electronic device when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is enabled to perform the following steps: acquiring the virtual element type matching the resource tag based on the target correspondence, where the target correspondence includes the resource tag and the corresponding virtual element type.
  • the instructions in the storage medium when executed by the processor of the electronic device, enable the electronic device to perform the steps of: identifying a target color of the background image; A dummy element that identifies the target dummy element.
  • the electronic device when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is enabled to perform the following steps: acquiring multiple images in the multimedia resource; selecting an image that satisfies the target condition from the multiple images As a background image for multimedia resources.
  • the electronic device when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is enabled to perform the following steps: receiving a resource acquisition instruction through the preview cover setting interface; responding to the resource acquisition instruction, from the resource library Select multimedia resources.
  • the preview interface includes an element adjustment area
  • the element adjustment area includes a target virtual element and at least one candidate virtual element
  • the at least one candidate virtual element is different from the target virtual element.
  • the electronic device can perform the following steps: in response to a selection operation on any candidate virtual element in the element adjustment area, determining the selected candidate virtual element as the adjusted target virtual element.
  • the electronic device when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is enabled to perform the following steps: in response to the moving operation on the target virtual element of the preview interface, change the position of the moved target virtual element Determined as the adjusted target position.
  • the preview interface includes a text adjustment area
  • the text adjustment area includes cover text and at least one alternative cover text
  • the at least one alternative cover text is different from the cover text.
  • the background image includes multiple and the target virtual element includes multiple.
  • the electronic device can perform the following steps:
  • the target virtual element is respectively added to at least one background image among the plurality of background images to obtain the preview cover of the multimedia resource.
  • a computer program product is also provided, when the instructions in the computer program product are executed by the processor of the electronic device, the electronic device can perform the steps performed by the terminal or the server in the above-mentioned preview cover generation method .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Abstract

Procédé de génération de couverture de prévisualisation et dispositif électronique, appartenant au domaine technique de l'Internet. Le procédé comprend : la réception d'une instruction de génération de couverture de prévisualisation d'une ressource multimédia au moyen d'une interface de génération de couverture de prévisualisation de la ressource multimédia (101) ; en réponse à l'instruction de génération de couverture de prévisualisation, l'identification d'une image d'arrière-plan et d'une étiquette de ressource de la ressource multimédia (102) ; l'obtention d'un élément virtuel cible correspondant à l'étiquette de ressource, et l'ajout de l'élément virtuel cible à l'image d'arrière-plan pour obtenir une couverture de prévisualisation de la ressource multimédia (103) ; et affichage de la couverture de prévisualisation dans l'interface de prévisualisation (104).
PCT/CN2021/107089 2020-08-07 2021-07-19 Procédé de génération de couverture de prévisualisation et dispositif électronique WO2022028241A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010789072.4 2020-08-07
CN202010789072.4A CN111880888B (zh) 2020-08-07 2020-08-07 预览封面生成方法、装置、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2022028241A1 true WO2022028241A1 (fr) 2022-02-10

Family

ID=73211089

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/107089 WO2022028241A1 (fr) 2020-08-07 2021-07-19 Procédé de génération de couverture de prévisualisation et dispositif électronique

Country Status (2)

Country Link
CN (1) CN111880888B (fr)
WO (1) WO2022028241A1 (fr)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110490954B (zh) * 2019-08-07 2024-01-02 北京达佳互联信息技术有限公司 一种封面生成方法、装置、电子设备及存储介质
CN111880888B (zh) * 2020-08-07 2022-12-27 北京达佳互联信息技术有限公司 预览封面生成方法、装置、电子设备及存储介质
CN112363660B (zh) * 2020-11-09 2023-03-24 北京达佳互联信息技术有限公司 封面图像的确定方法、装置、电子设备及存储介质
CN114779999A (zh) * 2022-04-27 2022-07-22 北京达佳互联信息技术有限公司 信息显示方法、装置、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160345052A1 (en) * 2015-05-19 2016-11-24 Lemobile Information Technology (Beijing) Co., Ltd. Method and device for previewing video files
CN108009147A (zh) * 2017-12-26 2018-05-08 掌阅科技股份有限公司 电子书封面生成方法、电子设备及计算机存储介质
CN108597003A (zh) * 2018-04-20 2018-09-28 腾讯科技(深圳)有限公司 一种文章封面生成方法、装置、处理服务器及存储介质
CN110390025A (zh) * 2019-07-24 2019-10-29 百度在线网络技术(北京)有限公司 封面配图确定方法、装置、设备及计算机可读存储介质
CN111880888A (zh) * 2020-08-07 2020-11-03 北京达佳互联信息技术有限公司 预览封面生成方法、装置、电子设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160345052A1 (en) * 2015-05-19 2016-11-24 Lemobile Information Technology (Beijing) Co., Ltd. Method and device for previewing video files
CN108009147A (zh) * 2017-12-26 2018-05-08 掌阅科技股份有限公司 电子书封面生成方法、电子设备及计算机存储介质
CN108597003A (zh) * 2018-04-20 2018-09-28 腾讯科技(深圳)有限公司 一种文章封面生成方法、装置、处理服务器及存储介质
CN110390025A (zh) * 2019-07-24 2019-10-29 百度在线网络技术(北京)有限公司 封面配图确定方法、装置、设备及计算机可读存储介质
CN111880888A (zh) * 2020-08-07 2020-11-03 北京达佳互联信息技术有限公司 预览封面生成方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN111880888A (zh) 2020-11-03
CN111880888B (zh) 2022-12-27

Similar Documents

Publication Publication Date Title
CN112162671B (zh) 直播数据处理方法、装置、电子设备及存储介质
CN109982102B (zh) 直播间的界面显示方法和系统、以及直播服务器和主播端
WO2022028241A1 (fr) Procédé de génération de couverture de prévisualisation et dispositif électronique
CN110865754B (zh) 信息展示方法、装置及终端
WO2022121358A1 (fr) Procédé et appareil d'affichage d'information
CN109874312B (zh) 播放音频数据的方法和装置
CN108737897B (zh) 视频播放方法、装置、设备及存储介质
CN109327608B (zh) 歌曲分享的方法、终端、服务器和系统
CN112492097B (zh) 音频播放方法、装置、终端及计算机可读存储介质
WO2022134632A1 (fr) Procédé et appareil de traitement de travail
CN109922356B (zh) 视频推荐方法、装置和计算机可读存储介质
WO2022048398A1 (fr) Procédé et terminal de photographie de données multimédias
CN109144346B (zh) 歌曲分享方法、装置及存储介质
WO2023000677A1 (fr) Procédé et appareil d'affichage d'élément de contenu
CN110139143B (zh) 虚拟物品显示方法、装置、计算机设备以及存储介质
WO2020253295A1 (fr) Procédé et appareil de commande, et dispositif terminal
CN114115769A (zh) 一种显示方法及电子设备
WO2022088765A1 (fr) Procédé de traitement d'interaction et dispositif informatique
CN113411680A (zh) 多媒体资源播放方法、装置、终端及存储介质
CN111083526B (zh) 视频转场方法、装置、计算机设备及存储介质
WO2022252563A1 (fr) Procédé d'affichage d'informations et dispositif électronique
CN110209316B (zh) 类别标签显示方法、装置、终端及存储介质
WO2020168859A1 (fr) Procédé photographique et dispositif terminal
CN111539795A (zh) 图像处理方法、装置、电子设备及计算机可读存储介质
WO2023087703A9 (fr) Procédé et appareil de traitement de fichier multimédia

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21852384

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21852384

Country of ref document: EP

Kind code of ref document: A1