Media content display method and apparatus, electronic device, and storage medium
By automatically matching and displaying the target image material and text on the media content generation page, the problem of cumbersome text input in the media content display in the prior art is solved, and the convenience and efficiency of media content creation are improved.
Patent Information
- Application Number
- PCT/CN2024/097932
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-06-07
- Filing Date
- 2024-06-07
- Publication Date
- 2024-12-12
AI Technical Summary
When generating and publishing media content, existing media content display solutions lack automated text matching and addition functions, resulting in cumbersome operation of user manual text input, affecting creative efficiency.
After obtaining the original image material on the media content generation page, the text that meets the preset matching condition is automatically matched, and the target image material and text are displayed in the preview media content, reducing manual input by users and improving the convenience of media content creation.
Through the automatic matching of text function, the media content generation process is simplified, the user experience and creative efficiency is improved, the operation steps of manually inputting text is reduced, and the convenience and creative efficiency of media content is enhanced.
Smart Images

Figure CN2024097932_12122024_PF_FP_ABST
Abstract
Description
Media content display method, device, electronic device and storage medium
[0001] This application claims priority to Chinese patent application No. 202310673697.8, filed on June 7, 2023, with the invention name “Media content display method, device, equipment and storage medium”. The contents disclosed in the above Chinese patent application are hereby cited in their entirety as part of this application. Technical Field
[0002] Embodiments of the present disclosure relate to the field of computer technology, and in particular to a method, device, electronic device, and storage medium for displaying media content. Background Art
[0003] With the continuous development of Internet technology, users can browse a variety of multimedia content through the Internet, and different users can share their own media content with each other in the form of publishing media content such as videos or pictures.
[0004] Summary of the Invention
[0005] The embodiments of the present disclosure provide a media content display method, apparatus, electronic device, and storage medium, which can optimize existing media content display solutions.
[0006] An embodiment of the present disclosure provides a media content display method, which includes:
[0007] Acquiring original image material on a media content generation page, wherein the media content generation page is used to generate target media content, wherein the target media content is used to be sent to the second user or published as a work of the first user;
[0008] When the target function is turned on, preview media content of the first mode is displayed, wherein the preview media content of the first mode includes a target image material and a target text displayed at a target position, the target image material is determined based on the original image material, and the target text includes text that meets a preset matching condition determined based on the target image material, and the preview media content of the first mode is used to generate the target media content.
[0009] The embodiments of the present disclosure further provide a media content display device, which is configured on a first user side and includes:
[0010] a material acquisition module configured to acquire original image material on a media content generation page, wherein the media content generation page is used to generate target media content, wherein the target media content is used to be sent to a second user or published as a work of the first user; and
[0011] The content display module is configured to display preview media content of a first mode when a target function is turned on, wherein the preview media content of the first mode includes a target image material and a target text displayed at a target position, the target image material is determined based on the original image material, and the target text includes text that meets a preset matching condition determined based on the target image material, and the preview media content of the first mode is used to generate target media content.
[0012] An embodiment of the present disclosure further provides an electronic device, comprising:
[0013] one or more processors;
[0014] a storage device configured to store one or more programs,
[0015] When the one or more programs are executed by the one or more processors, the one or more processors implement the media content display method provided by the embodiment of the present disclosure.
[0016] An embodiment of the present disclosure further provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, executes the media content presentation method provided by the embodiment of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following example embodiments in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the elements and components are not necessarily drawn to scale.
[0018] FIG1 is a flow chart of a method for displaying media content according to an embodiment of the present disclosure;
[0019] FIG2 is a schematic diagram of an interface provided by an embodiment of the present disclosure;
[0020] FIG3 is a flow chart of another method for displaying media content according to an embodiment of the present disclosure;
[0021] FIG4 is a schematic diagram of an interface interaction provided by an embodiment of the present disclosure;
[0022] FIG5 is a schematic structural diagram of a media content display device provided by an embodiment of the present disclosure;
[0023] FIG6 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0024] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0025] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0026] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0027] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0028] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0029] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0030] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0031] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.
[0032] As an optional but non-limiting implementation, in response to receiving a user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0033] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0034] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) must comply with the requirements of relevant laws, regulations and relevant provisions.
[0035] Figure 1 is a flow chart of a media content display method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the situation of media content display. The method can be executed by a media content display device, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, which can be a mobile terminal such as a mobile phone, smart watch, tablet computer, and personal digital assistant, or a personal computer (PC) or server.
[0036] As shown in FIG1 , in one possible implementation, the method, at a first user side, includes:
[0037] Step 101: Acquire original image material on a media content generation page, where the media content generation page is used to generate target media content, which is sent to a second user or published as a work of a first user.
[0038] In embodiments of the present disclosure, the original image material may be determined based on a user operation, such as a capture operation or a material selection operation. The original image material may include at least one original image and / or at least one original video. Accordingly, the target image material described below may include at least one target image and / or at least one target video.
[0039] Optionally, the media content generation page can be a shooting page. For example, the user can trigger a shooting operation on the shooting page, and the image capture device such as the camera of the electronic device will capture images or videos, thereby obtaining the corresponding original image materials. The media content generation page can also be a material selection page. For example, the user can enter a material selection operation on the material selection page, and use the selected images and / or videos as original image materials. The optional materials displayed on the material selection page can come from the draft media content locally on the electronic device or in an application. Optionally, when the media content generation page is a shooting page, it is also possible to jump from the shooting page to the material selection page.
[0040] For example, the first user can be understood as the user currently using the electronic device, and the second user can be any user different from the first user. The first user can trigger the generation of target media content by operating the electronic device and can send the generated target media content to the second user. The sending method is not limited, for example, sending it to the second user participating in the instant messaging through the instant messaging window; the generated target media content can also be published as a media work created by the first user.
[0041] Step 102: When the target function is turned on, preview media content of the first mode is displayed, wherein the preview media content of the first mode includes a target image material and a target text displayed at a target position, the target image material is determined based on the original image material, and the target text includes text that meets a preset matching condition determined based on the target image material, and the preview media content of the first mode is used to generate target media content.
[0042] For example, a target function may be added, which may be implemented to automatically match text to image materials. The target function may be turned on or off according to system configuration or user's own settings.
[0043] For example, after acquiring the original image material, a target image material can be determined based on the original image material. The target image material can be understood as the image material contained in the preview media content. The target image material can be the original image material itself, or it can be an image material obtained by performing preset processing on the original image material. The preset processing can include, for example, resizing, color adjustment, cropping or editing, or adding stylized special effects, sticker materials, etc. to the original image material. It is understood that when the user turns on the target function, the original image material can be automatically processed into the target image material, and the corresponding target text can be added.
[0044] Exemplarily, the preview media content of the first mode can be understood as preview media content that automatically adds text based on the target image material. When the target function is turned on, the text that meets the preset matching conditions with the target image material is automatically determined. The text may include words and / or symbols, and the symbols may include punctuation marks and emoticons, etc. The preset matching conditions can be determined based on the similarity between the image content and the text content. For example, the text that meets the preset matching conditions with the target image material can be screened out from the preset text library based on the target image material; for another example, the image content of the target image material can also be identified, and then the text that meets the preset matching conditions with the image content is generated. It can be understood that the identification of the image content of the target image material is triggered by the user with full authorization by the user.
[0045] Optionally, when determining the degree of matching, the determination can be made based on all or part of the target image material. For example, when there are multiple target images, the text that meets the preset matching conditions with the first target image is automatically determined; for another example, when there are multiple target images, the text that meets the preset matching conditions with each target image is automatically determined. Accordingly, when displaying the preview media content of the first mode, different target images can be displayed in sequence. When displaying each target image, the target text corresponding to the current target image is displayed at the target position corresponding to the current target image. For another example, when the target image material includes at least one target video, the target text includes automatically determined preset text that meets the preset matching conditions with a preset video frame in the at least one target video. The preset video frame can be a video frame with a fixed sequence number, such as the first video frame or the last video frame, or it can be dynamically determined, such as an intermediate video frame or the first video frame where the identified target object appears. The target object can be, for example, a preset entity, such as a preset commodity, etc.
[0046] For example, after determining the target text, preview media content in the first mode is displayed, such as displaying the target image material and displaying the target text at a target location. The target location can be a position within the display screen of the target image material, such as centered at the bottom of the screen. The target location can be pre-set or dynamically determined based on the image content of the target image material and / or the text content of the target text.
[0047] Exemplarily, Figure 2 is an interface diagram provided by an embodiment of the present disclosure. Assuming that the original image material contains a sheep image, the target image material is the original image material itself, and the automatically determined text is "Smiling cute lamb", the preview media content of the first mode can be displayed, that is, the target image material 201 containing the sheep image and the target text 202 displayed at the target position.
[0048] The embodiment of the present disclosure provides a method for displaying media content, which obtains the original image material on the media content generation page. The media content generation page is used to generate target media content for sending to a second user or publishing as a work of the first user. When the target function is turned on, the preview media content of the first mode is displayed. The preview media content of the first mode includes the target image material and the target text displayed at the target position. The target image material is determined based on the original image material. The target text includes text that meets a preset matching condition determined based on the target image material. The preview media content of the first mode is used to generate the target media content. By adopting the above technical solution, after obtaining the original image material, the target text that meets a certain matching condition can be automatically matched to the target image material determined based on the original image material, and the target image material and target text are included in the displayed preview media content to generate the target media content, thereby reducing the user's related operations of manually entering text and improving the convenience of media content creation.
[0049] In some embodiments, after displaying the preview media content in the first mode, the method further includes: generating target media content based on the preview media content in the first mode in response to a preset generation operation. This can help users conveniently generate target media content, and users can know in advance the effect of automatically adding text by viewing the preview media content in the first mode.
[0050] Optionally, a preset generation control may be displayed. When the user triggers the preset generation control, the target media content may be generated. In one example, after the target media content is generated, the user may also trigger the publication of the target media content. Optionally, the preset generation control may be a media content publication control. When the user triggers the media content publication control, the target media content may be generated and published.
[0051] In some embodiments, after displaying the preview media content in the first mode, the method further includes: in response to an edit operation on the target text, updating the target text in the preview media content in the first mode to text corresponding to the edit result of the edit operation. In this way, the user can edit the target text to meet the user's actual text matching needs.
[0052] Optionally, the editing operation includes at least one of modifying text content, adjusting text display position, and adjusting text display style. The text display style may include, for example, font, size, or color.
[0053] For example, the user may trigger the target text through a preset trigger operation such as clicking, enter the editing state of the target text, and then input the editing operation.
[0054] In some embodiments, after displaying the preview media content in the first mode, the method further includes: in response to a switch operation for the target text, updating the target text in the preview media content in the first mode to the next text that satisfies a preset matching condition determined based on the target image material. Thus, if the user is dissatisfied with the current target text, they can conveniently switch to another text that satisfies the preset matching condition by inputting a switch operation, thereby better balancing the user's actual text addition needs and the convenience of text addition.
[0055] For example, a switch control can be displayed at a location associated with the target text, and the user can input a switch operation by triggering the switch control; for another example, the user can input a switch operation by a gesture operation such as a sliding operation on the target text, such as a left sliding operation.
[0056] In some embodiments, displaying preview media content in the first mode includes displaying preview media content in the second mode, wherein the preview media content in the second mode includes the target image material and multiple text candidates, wherein the text candidates include texts that meet a preset matching condition with the target image material; and in response to a selection operation on a target candidate text, determining the target candidate text as the target text and displaying the preview media content in the first mode. In this way, multiple texts that meet the preset matching condition with the target image material can be simultaneously displayed to the user for selection, thereby improving selection efficiency.
[0057] Exemplarily, multiple candidate texts are displayed simultaneously in the form of a list or matrix, and the user can input a selection operation of the target candidate text by inputting a trigger operation such as a click, such as determining the candidate text clicked by the user as the target candidate text selected by the user, and displaying the preview media content of the first mode.
[0058] In some embodiments, the target image material includes the material obtained by performing style conversion processing on the original image material. Therefore, the original image material can be style converted first, and then the text can be added. In other words, the preset processing mentioned above can include style conversion processing, meeting the user's diverse media content generation needs.
[0059] Optionally, the original image material can be converted into an image material of a target style to obtain a target image material. The target style can be, for example, a cute style, a comic style, or a sketch style. The target style can be automatically determined based on the image content of the original image material or can be specified by the user.
[0060] In some embodiments, the generation of the target text is associated with the corresponding scene of the media content generation page, thereby making the generated target text more consistent with the image material and the generation scene of the media content.
[0061] Optionally, there is no limitation on the method of scene division. For example, the division can be based on the application scenario when triggering acquisition, or it can be understood as the division based on the scenario when triggering the entry into the media content generation page, such as triggering the acquisition of original image materials in the instant messaging scenario, triggering the acquisition of original image materials in the work creation scenario, triggering the acquisition of original image materials in the shooting prop viewing scenario, etc.
[0062] In the embodiments of the present disclosure, the manner in which the target text is generated and associated with the scenario is not limited. Optionally, the target text corresponding to different scenarios has different text styles. The difference in text style can be reflected in aspects such as text length, text tone, text tense, text rhetoric, and whether emoticons are added.
[0063] In some embodiments, the target text is determined by: inputting a target material into a preset model, wherein the target material includes all or part of the target image material; the preset model is used to determine the similarity between the target material and texts in a preset text library; and determining the target text from the preset text library based on the output of the preset model. In this way, the model can be used to quickly and accurately select similar text from the preset text library as the target text.
[0064] Exemplarily, the preset model can be a preset multimodal model, which can accept a variety of different input methods. For example, in the embodiments of the present disclosure, the target material and the text in the library can be input into the preset multimodal model to determine the similarity between the two. The output of the preset multimodal model can be the similarity between the target material and each text in the preset text library, and the text in the library with the highest similarity is determined as the target text, or the text in the library with the highest similarity is ranked in descending order according to the similarity, and a preset number of texts in the library with the highest ranking are determined as the target text.
[0065] Exemplarily, the model parameters in the preset model and / or the preset text library are associated with the corresponding scene of the media content generation page. Thus, the preset model can output different results in different scenes, thereby obtaining different target texts. Optionally, because the target texts corresponding to different scenes have different text styles, different model parameters and / or preset text libraries can be set for different text styles.
[0066] In some embodiments, the method further includes: displaying preview media content in a third mode when the target function is turned off, wherein the preview media content in the third mode includes the target image material. The preview media content in the third mode can be understood as preview media content that does not include automatically added text. Thus, the user can flexibly control whether the preview media content includes automatically added text according to their own wishes.
[0067] In some embodiments, displaying preview media content of the first mode when the target function is in an on-state includes: accessing a media content preview page, and displaying preview media content of the first mode on the media content preview page when the target function is in an on-state; wherein a switch control is displayed on the media content generation page and / or the media content preview page, and the switch control corresponds to the target function. By displaying the switch control of the target function on the media content generation page and / or the media content preview page, the user can flexibly control whether the target function is turned on and the timing of turning it on.
[0068] FIG3 is a flow chart of another method for displaying media content provided by an embodiment of the present disclosure. The embodiment of the present disclosure is obtained based on the various optional solutions in the above embodiments. For example, the method includes the following steps:
[0069] Step 301: In response to a triggering operation on a page entry of a media content generation page, enter the media content generation page and obtain original image material on the media content generation page.
[0070] Among them, a switch control is displayed on the media content generation page.
[0071] Exemplarily, the page entry of the media content generation page can be included in the instant messaging scenario page (such as a chat page, etc.), and the page entry can also correspond to the scenario for creating media content works. When the page entry is on different pages, it can correspond to different scenarios for obtaining original image materials.
[0072] FIG4 is a schematic diagram of an interface interaction provided by an embodiment of the present disclosure. As shown in FIG4 , a page entry for a media content generation page, such as "Photograph Works" 402, is displayed in an instant messaging scenario page 401. After a user clicks "Photograph Works" 402, the user enters a media content generation page 403. The media content generation page 403 displays a switch control 404, which is currently turned on, and a capture control 405. Assuming the scene depicts a sheep, an image of the sheep is displayed in the media content generation page 403. When the user clicks the capture control 405, the captured image is obtained as the original image material.
[0073] Step 302 , enter the media content preview page and determine whether the target function is enabled. If so, execute step 303 ; otherwise, execute step 307 .
[0074] An example of a media content preview page 406 is shown in FIG. 4 .
[0075] Step 303: Display the preview media content in the first mode on the media content preview page.
[0076] For example, a style conversion function can be enabled. If this function is enabled, a style conversion process is performed on the original image of a sheep, for example, an animated style conversion is performed to produce an animated sheep image, which serves as the target image. For example, the original image is input into a style conversion model corresponding to the animation style to produce an animated sheep image. The animated sheep image is then input into a preset multimodal model for the instant messaging scenario. Based on the output of the preset multimodal model, multiple target texts with the highest similarity rankings are determined from a preset text library. The animated sheep image and the target text with the highest similarity are displayed on a second preset page, such as "Look at this smiling lamb, so cute (emoji)" 407 in FIG. 4 , where the target text is displayed at the bottom and center of the animated sheep image. It is understood that in the instant messaging scenario of FIG. 4 , the style of the generated target text is more suitable for direct communication and sharing among users, for example, by including more emojis for chatting.
[0077] For the sake of comparison, assuming that the page entry of the media content generation page corresponds to the scenario for creating media content, the model parameters and / or preset text library in the preset multimodal model adopted will change. For example, the target text with the highest similarity may be "smiling cute lamb". Compared with the target text in Figure 4, the text style is more inclined to describe the image.
[0078] Step 304: In response to the switching operation on the target text, the target text in the preview media content of the first mode is updated to the next text that satisfies a preset matching condition and is determined based on the target image material.
[0079] For example, assuming that the user inputs a left swipe operation (switch operation) for the currently displayed target text, the target text ranked second in similarity may be switched to be displayed, such as “Look, I met a lamb, so cute” 408 in FIG. 4 .
[0080] Step 305 : In response to the editing operation on the target text, the target text in the preview media content in the first mode is updated to text corresponding to the editing result of the editing operation.
[0081] As shown in FIG4 , if the user is still not completely satisfied after switching, the user can enter the editing state by clicking the current target text and edit the target text to obtain the edited “Look, I met a little lamb, so cute” 409 . After the editing is completed, the user can click the “Done” button to display the preview media content of the updated first mode.
[0082] Step 306 : In response to the preset generation operation, generate target media content according to the preview media content in the first mode.
[0083] Step 307: Display the preview media content in the third mode on the media content preview page.
[0084] The preview media content in the third mode includes target image material, such as an animated sheep image. If the style conversion function is disabled, the preview media content in the third mode includes a photographed sheep image.
[0085] Step 308 : In response to the preset generating operation, generate target media content according to the preview media content in the third mode.
[0086] Those skilled in the art should understand that, for the contents omitted in the description of steps S301 to S308 in this embodiment, reference can be made to the relevant descriptions of the corresponding steps in the aforementioned method embodiment, and no further details are given here.
[0087] The media content display method provided by the embodiments of the present disclosure can automatically perform style conversion processing on the original image material to obtain the target image material after acquiring the original image material, and select the corresponding preset multimodal model according to the actual acquisition scenario, automatically match the target image material with a target text that meets a certain matching degree, include the target image material and the target text in the displayed preview media content, and support the switching and personalized editing of the target text, taking into account the user's actual text adding needs and the convenience of text adding, thereby improving the convenience and efficiency of media content creation.
[0088] FIG5 is a schematic structural diagram of a media content display device provided by an embodiment of the present disclosure. As shown in FIG5 , in a possible implementation manner, the device includes:
[0089] A material acquisition module 501 is configured to acquire original image material on a media content generation page, wherein the media content generation page is used to generate target media content, wherein the target media content is sent to a second user or published as a work of the first user;
[0090] The content display module 502 is configured to display preview media content of a first mode when the target function is turned on, wherein the preview media content of the first mode includes a target image material and a target text displayed at a target position, the target image material is determined based on the original image material, and the target text includes text that meets a preset matching condition determined based on the target image material, and the preview media content of the first mode is used to generate target media content.
[0091] The media content display device provided by the embodiments of the present disclosure can automatically match the target image material determined based on the original image material with a target text that meets a certain matching degree after obtaining the original image material, and include the target image material and the target text in the displayed preview media content to generate the target media content, thereby reducing the user's related operations of manually entering text and improving the convenience of media content creation.
[0092] Optionally, the apparatus further includes: a content generating module configured to generate target media content according to the preview media content in the first mode in response to a preset generating operation after the preview media content in the first mode is displayed.
[0093] Optionally, the device further includes: an editing module configured to, after displaying the preview media content of the first mode, in response to an editing operation on the target text, update the target text in the preview media content of the first mode to text corresponding to the editing result of the editing operation.
[0094] Optionally, the device also includes: a switching module, configured to, after the preview media content of the first mode is displayed, update the target text in the preview media content of the first mode to the next text that meets the preset matching condition determined based on the target image material in response to a switching operation on the target text.
[0095] Optionally, the content display module includes:
[0096] a first display unit configured to display preview media content in a second mode, wherein the preview media content in the second mode includes the target image material and a plurality of candidate texts, wherein the candidate texts include texts that meet a preset matching condition with the target image material;
[0097] The second display unit is configured to, in response to a selection operation on the target candidate text, determine the target candidate text as the target text and display the preview media content in the first mode.
[0098] Optionally, the target image material includes material obtained by performing style conversion processing on the original image material.
[0099] Optionally, the target image material includes at least one target image and / or at least one target video.
[0100] Optionally, when the target image material includes at least one target video, the target text includes text that meets a preset matching condition with a preset video frame in the at least one target video.
[0101] Optionally, the generation of the target text is associated with a corresponding scene of the media content generation page.
[0102] Optionally, the target texts corresponding to different scenarios have different text styles.
[0103] Optionally, the target text is determined by:
[0104] Inputting a target material into a preset model, wherein the target material includes all or part of the target image material, and the preset model is used to determine the similarity between the target material and texts in each library in a preset text library;
[0105] The target text is determined from the preset text library according to the output of the preset model.
[0106] Optionally, the model parameters in the preset model and / or the preset text library are associated with corresponding scenes of the media content generation page.
[0107] Optionally, the device further includes:
[0108] The media content display module is configured to display preview media content in a third mode when the target function is in a closed state, wherein the preview media content in the third mode includes the target image material.
[0109] Optionally, the content display module may be configured to: enter a media content preview page, and when the target function is in an on state, display preview media content in a first mode on the media content preview page;
[0110] A switch control is displayed on the media content generation page and / or the media content preview page, and the switch control corresponds to the target function.
[0111] The media content display device provided in the embodiments of the present disclosure can execute the media content display method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0112] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the embodiments of the present disclosure.
[0113] FIG6 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Referring to FIG6 , a schematic diagram of the structure of an electronic device (such as a terminal device or server in FIG6 ) 600 suitable for implementing an embodiment of the present disclosure is shown below. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in FIG6 is merely an example and should not impose any restrictions on the functions and scope of use of the embodiments of the present disclosure.
[0114] As shown in FIG6 , the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. Various programs and data required for the operation of the electronic device 600 are also stored in the RAM 603. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An edit / output (I / O) interface 605 is also connected to the bus 604.
[0115] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although FIG. 6 shows the electronic device 600 with various devices, it should be understood that not all of the devices shown are required to be implemented or present. More or fewer devices may alternatively be implemented or present.
[0116] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0117] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0118] The electronic device provided by the embodiment of the present disclosure and the media content display method provided by the above embodiment belong to the same inventive concept. For technical details not fully described in this embodiment, please refer to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0119] An embodiment of the present disclosure provides a computer storage medium having a computer program stored thereon. When the program is executed by a processor, the media content display method provided in the above embodiment is implemented.
[0120] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0121] In some embodiments, the client and server can communicate using any currently known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.
[0122] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0123] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: obtains original image material on the media content generation page, and the media content generation page is used to generate target media content, and the target media content is used to be sent to the second user or published as the work of the first user; when the target function is in the turned-on state, displays preview media content of the first mode, wherein the preview media content of the first mode includes target image material and target text displayed at the target position, the target image material is determined based on the original image material, and the target text includes text that meets a preset matching condition determined based on the target image material, and the preview media content of the first mode is used to generate the target media content.
[0124] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0125] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0126] The units involved in the embodiments described in this disclosure may be implemented in software or hardware. The name of a module does not, in some cases, limit the module itself. For example, a material acquisition module may also be described as "a module for acquiring raw image material on a media content generation page, wherein the media content generation page is used to generate target media content, wherein the target media content is used to be sent to a second user or published as a work of the first user."
[0127] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0128] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0129] According to one or more embodiments of the present disclosure, a method for presenting media content is provided, which includes:
[0130] Acquiring original image material on a media content generation page, wherein the media content generation page is used to generate target media content, wherein the target media content is used to be sent to the second user or published as a work of the first user;
[0131] When the target function is turned on, preview media content of the first mode is displayed, wherein the preview media content of the first mode includes a target image material and a target text displayed at a target position, the target image material is determined based on the original image material, and the target text includes text that meets a preset matching condition determined based on the target image material, and the preview media content of the first mode is used to generate the target media content.
[0132] According to one or more embodiments of the present disclosure, after presenting the preview media content in the first mode, the method further includes:
[0133] In response to the preset generating operation, target media content is generated according to the preview media content of the first mode.
[0134] According to one or more embodiments of the present disclosure, after presenting the preview media content in the first mode, the method further includes:
[0135] In response to an editing operation on the target text, the target text in the preview media content in the first mode is updated to text corresponding to an editing result of the editing operation.
[0136] According to one or more embodiments of the present disclosure, after presenting the preview media content in the first mode, the method further includes:
[0137] In response to a switching operation on the target text, the target text in the preview media content of the first mode is updated to a next text that satisfies a preset matching condition and is determined based on the target image material.
[0138] According to one or more embodiments of the present disclosure, presenting the preview media content in the first mode includes:
[0139] Displaying preview media content of the second mode, wherein the preview media content of the second mode includes the target image material and a plurality of candidate texts, wherein the candidate texts include texts that meet a preset matching condition with the target image material;
[0140] In response to a selection operation on a target candidate text, the target candidate text is determined as a target text, and preview media content in a first mode is displayed.
[0141] According to one or more embodiments of the present disclosure, the target image material includes a material obtained by performing style conversion processing on the original image material.
[0142] According to one or more embodiments of the present disclosure, the target image material includes at least one target image and / or at least one target video.
[0143] According to one or more embodiments of the present disclosure, when the target image material includes at least one target video, the target text includes text that meets a preset matching condition with a preset video frame in the at least one target video.
[0144] According to one or more embodiments of the present disclosure, the generation of the target text is associated with a corresponding scene of the media content generation page.
[0145] According to one or more embodiments of the present disclosure, target texts corresponding to different scenarios have different text styles.
[0146] According to one or more embodiments of the present disclosure, the target text is determined by:
[0147] Inputting a target material into a preset model, wherein the target material includes all or part of the target image material, and the preset model is used to determine the similarity between the target material and texts in each library in a preset text library;
[0148] The target text is determined from the preset text library according to the output of the preset model.
[0149] According to one or more embodiments of the present disclosure, the model parameters in the preset model and / or the preset text library are associated with the corresponding scene of the media content generation page.
[0150] According to one or more embodiments of the present disclosure,
[0151] The displaying of the preview media content in the first mode when the target function is in the enabled state includes:
[0152] Entering a media content preview page, and displaying preview media content in a first mode on the media content preview page when the target function is enabled;
[0153] A switch control is displayed on the media content generation page and / or the media content preview page, and the switch control corresponds to the target function.
[0154] According to one or more embodiments of the present disclosure, a media content presentation device is provided, comprising:
[0155] a material acquisition module configured to acquire original image material on a media content generation page, wherein the media content generation page is used to generate target media content, wherein the target media content is used to be sent to a second user or published as a work of the first user;
[0156] The content display module is configured to display preview media content of a first mode when a target function is turned on, wherein the preview media content of the first mode includes a target image material and a target text displayed at a target position, the target image material is determined based on the original image material, the target text includes text that meets a preset matching condition determined based on the target image material, and the preview media content of the first mode is used to generate the target media content.
[0157] According to one or more embodiments of the present disclosure, there is provided an electronic device, including:
[0158] one or more processors;
[0159] a storage device for storing one or more programs,
[0160] When the one or more programs are executed by the one or more processors, the one or more processors implement the media content display method provided by the embodiment of the present disclosure.
[0161] According to one or more embodiments of the present disclosure, a storage medium containing computer-executable instructions is provided. When the computer-executable instructions are executed by a computer processor, the computer-executable instructions are used to perform the media content presentation method provided by the embodiments of the present disclosure.
[0162] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0163] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0164] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A method for displaying media content, at a first user side, include: Acquire original image material on a media content generation page, the media content generation page is used to generate target media content, the target media content is used to send to the second user or publish as a work of the first user; In response to the target function being in an on state, preview media content of a first mode is displayed, wherein the preview media content of the first mode includes a target image material and a target text displayed at a target position, the target image material is determined based on the original image material, the target text includes text that meets a preset matching condition and is determined based on the target image material, and the preview media content of the first mode is used to generate the target media content.
2. The method according to claim 1, in, After presenting the preview media content in the first mode, the method further includes: In response to the preset generating operation, target media content is generated according to the preview media content of the first mode.
3. The method according to claim 1 or 2, in, After presenting the preview media content in the first mode, the method further includes: In response to an editing operation on the target text, the target text in the preview media content of the first mode is updated to text corresponding to an editing result of the editing operation.
4. The method according to any one of claims 1 to 3, in, After presenting the preview media content in the first mode, the method further includes: In response to a switching operation on the target text, the target text in the preview media content of the first mode is updated to a next text that satisfies a preset matching condition and is determined based on the target image material.
5. The method according to any one of claims 1 to 4, in, The presenting of the preview media content in the first mode includes: Displaying preview media content of the second mode, wherein the preview media content of the second mode includes the target image material and a plurality of candidate texts, and the candidate texts include texts that meet a preset matching condition with the target image material; In response to a selection operation on a target candidate text, the target candidate text is determined as the The target text is displayed, and the preview media content of the first mode is displayed.
6. The method according to any one of claims 1 to 5, in, The target image material includes a material obtained by performing style conversion processing on the original image material.
7. The method according to any one of claims 1 to 6, in, The target image material includes at least one target image and / or at least one target video.
8. The method according to claim 7, in, The target image material includes at least one target video, and the target text includes text that satisfies a preset matching condition with a preset video frame in the at least one target video.
9. The method according to any one of claims 1 to 8, in, The generation of the target text is associated with a corresponding scene of the media content generation page.
10. The method according to claim 9, in, The text styles of the target texts corresponding to different scenes are different.
11. The method according to claim 1, in, The target text is determined by: Inputting a target material into a preset model, wherein the target material includes all or part of the target image material, and the preset model is used to determine the similarity between the target material and the texts in each library in the preset text library; The target text is determined from the preset text library according to the output of the preset model.
12. The method according to claim 11, in, The model parameters in the preset model and / or the preset text library are associated with the corresponding scene of the media content generation page.
13. The method according to claim 7, in, The target image material includes multiple target images, and the target text is determined based on the text that meets the preset matching condition with the first target image among the multiple target images, or the target text is determined based on the text that meets the preset matching condition with each target image among the multiple target images.
14. The method according to claim 7, in, The target image material includes a plurality of target images, the plurality of target texts are configured to correspond to the plurality of target images respectively, and in response to the target function being in an on state, displaying the preview media content of the first mode includes: The multiple target images are displayed in sequence, and when each target image is displayed, the target text corresponding to the current target image is displayed at the target position corresponding to the current target image.
15. The method according to any one of claims 1 to 14, in, In response to the target function being in the enabled state, displaying the preview media content in the first mode includes: Entering a media content preview page, and in response to the target function being in an on state, displaying preview media content in a first mode on the media content preview page; A switch control is displayed in the media content generation page and / or the media content preview page, and the switch control corresponds to the target function.
16. The method according to claim 1, further comprising: include: In response to the target function being in a closed state, preview media content in a third mode is displayed, wherein the preview media content in the third mode includes the target image material but does not include the target text.
17. A media content display device, configured at a first user side, include: A material acquisition module, configured to acquire original image material on a media content generation page, wherein the media content generation page is used to generate target media content, wherein the target media content is used to be sent to a second user or published as a work of the first user; as well as A content display module is configured to display preview media content of a first mode in response to a target function being in an on state, wherein the preview media content of the first mode includes a target image material and a target text displayed at a target position, the target image material is determined based on the original image material, the target text includes text that meets a preset matching condition and is determined based on the target image material, and the preview media content of the first mode is used to generate the target media content.
18. The device according to claim 17, include: A module configured to perform the method according to any one of claims 2-16.
19. An electronic device, include: one or more processors; as well as a storage device configured to store one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the media content display method according to any one of claims 1-16.
20. A storage medium containing computer executable instructions, in, When the computer executable instructions are executed by a computer processor, the media content presentation method according to any one of claims 1 to 16 is performed.
Citation Information
Patent Citations
Text recommendation method and device
CN115543154A
Media content sending method and device, equipment and storage medium
CN116170681A
Media content display method and device, equipment and storage medium
CN116704078A
Multimedia data processing method, multimedia data generation method, and related device
US20230144094A1
Cited By
Media content display method and device, equipment and storage medium
CN116704078A
Media content posting method and apparatus, and electronic device, storage medium and program product
WO2026189389A1
