Media data generation method and device, electronic equipment and storage medium

By displaying reference media data and control sets in the target interaction page, determining reference features and generating prompt information, the problem of generation result deviation caused by inaccurate user input is solved, and the accuracy and user experience of generation results are improved.

CN120296204APending Publication Date: 2025-07-11BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410045650.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-11
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

现有技术中,基于文本描述生成目标图像或视频时,用户输入不准确导致生成结果与预期存在较大偏差,影响生成结果的准确率和用户体验。

Method used

By displaying the reference media data and control set in the target interaction page, the reference features are determined in response to the control click event, and prompt information is generated based on the features, and the target media data is finally generated, combining the first prompt information and reference features to realize the concreteization of the media data generation effect.

Benefits of technology

Improve the accuracy and user experience of media data generation results, and reduce the deviation between the generated results and user expectations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120296204A_ABST
    Figure CN120296204A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a media data generation method and device, electronic equipment and a storage medium. The method comprises the steps that reference media data are loaded, a first interaction window is displayed in a target interaction page, and the first interaction window comprises the reference media data and a first control set; in response to a click event of a target control in the first control set, determining a reference feature corresponding to the reference media data according to a feature identifier corresponding to the target control, and displaying the reference feature in the first interaction window; in response to a confirmation event for the reference feature, determining first prompt information according to the reference media data and the feature identifier, and displaying the first prompt information in the target interaction page; and generating target media data according to the first prompt information and the reference feature, and displaying the target media data in the target interaction page. According to the embodiment of the invention, the problem that the media data generation result does not conform to the user expectation is solved, and the accuracy of the media data generation result is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to computer processing technologies, and in particular, to a method, apparatus, electronic device, and storage medium for generating media data. Background Art

[0002] Intelligent media data generation is a technology that uses intelligent tools to generate target images or videos that meet preset requirements based on text description content.

[0003] For the method of generating target images or videos based on text description content, it is required that the user inputs accurate and clear text description content. If the user's expression is inaccurate or cannot clearly describe the desired effect, it will lead to a large deviation between the generated result and the user's expectation, affecting the accuracy of the generated result and resulting in poor user experience. Summary of the Invention

[0004] The present disclosure provides a method, apparatus, electronic device, and storage medium for generating media data, which can improve the problem that the generated result of media data does not meet the user's expectation and enhance the accuracy of the generated result of media data.

[0005] In a first aspect, an embodiment of the present disclosure provides a method for generating media data, including:

[0006] In response to a media data loading event in a target interaction page, load reference media data, and display a first interaction window in the target interaction page. The first interaction window includes the reference media data and a first control set, where the first control set includes candidate controls, and the candidate controls are used to represent feature identifiers associated with the reference media data and target media data;

[0007] In response to a click event of a target control in the first control set, determine a reference feature corresponding to the reference media data according to the feature identifier corresponding to the target control, and display the reference feature in the first interaction window;

[0008] In response to a confirmation event for the reference feature, determine first prompt information according to the reference media data and the feature identifier, and display the first prompt information in the target interaction page;

[0009] In response to a generation event for the target media data, generate the target media data according to the first prompt information and the reference feature, and display the target media data in the target interaction page.

[0010] In a second aspect, an embodiment of the present disclosure further provides a device for generating media data, including:

[0011] A window display module, configured to load reference media data in response to a media data loading event in a target interaction page, and display a first interaction window in the target interaction page, where the first interaction window includes the reference media data and a first control set, and the first control set includes candidate controls, and the candidate controls are used to represent feature identifiers associated with the reference media data and target media data;

[0012] A feature display module, configured to, in response to a click event of a target control in the first control set, determine a reference feature corresponding to the reference media data according to the feature identifier corresponding to the target control, and display the reference feature in the first interaction window;

[0013] An information display module, configured to, in response to a confirmation event for the reference feature, determine first prompt information according to the reference media data and the feature identifier, and display the first prompt information in the target interaction page;

[0014] A media data generation module, configured to, in response to a generation event for the target media data, generate the target media data according to the first prompt information and the reference feature, and display the target media data in the target interaction page.

[0015] In a third aspect, an embodiment of the present disclosure further provides an electronic device, where the electronic device includes:

[0016] One or more processors;

[0017] A storage device, configured to store one or more programs,

[0018] When the one or more programs are executed by the one or more processors, the one or more processors implement the media data generation method as described in any embodiment of the present disclosure.

[0019] In a fourth aspect, an embodiment of the present disclosure further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are used to execute the media data generation method as described in any embodiment of the present disclosure when executed by a computer processor.

[0020] Embodiments of the present disclosure provide a method, apparatus, electronic device, and storage medium for generating media data. By displaying a target interaction page, reference media data is loaded according to a media data loading event in the target interaction page, and a first interaction window is displayed in the target interaction page. The first interaction window includes the reference media data and a first control set. Then, in response to a click event of a target control in the first control set, a reference feature corresponding to the reference media data and a feature identifier is determined according to the target control, and the reference feature is displayed in the first interaction window. Then, in response to a confirmation event of the reference feature, a first prompt message is determined according to the reference media data and the feature identifier, and the first prompt message is displayed in the target interaction page. In response to a generation event for target media data, the target media data is generated and displayed according to the first prompt message and the reference feature. Embodiments of the present disclosure combine the first prompt message and the reference feature to realize the visualization of the media data generation effect, solve the problem that the media data generation result does not meet the user's expectations, and improve the accuracy of the media data generation result and the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In combination with the accompanying drawings and with reference to the following specific embodiments, the above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the original components and elements are not necessarily drawn to scale.

[0022] Figure 1 A flowchart of a method for generating media data provided by an embodiment of the present disclosure;

[0023] Figure 2 A schematic diagram of a first interaction window provided by an embodiment of the present disclosure;

[0024] Figure 3 A flowchart of another method for generating media data provided by an embodiment of the present disclosure;

[0025] Figure 4 A schematic diagram of the display position of a second interaction window provided by an embodiment of the present disclosure;

[0026] Figure 5 A flowchart of yet another method for generating media data provided by an embodiment of the present disclosure;

[0027] Figure 6 A schematic diagram of the display position of a third interaction window provided by an embodiment of the present disclosure;

[0028] Figure 7 A schematic diagram of the structure of a media data generation apparatus provided by an embodiment of the present disclosure;

[0029] Figure 8A schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. Detailed implementation manners

[0030] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the 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 set forth herein. Instead, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not used to limit the protection scope of the present disclosure.

[0031] It should be understood that the various steps recorded in the method embodiments of the present disclosure can be executed 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 regard.

[0032] The term "including" and its variants used herein are open-ended, that is, "including but not limited to". The term "based on" is "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0033] It should be noted that the concepts such as "first" and "second" mentioned in the present 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.

[0034] It should be noted that the modification of "one" and "multiple" mentioned in the present disclosure is illustrative rather than restrictive. Those skilled in the art should understand that unless clearly stated otherwise in the context, it should be understood as "one or more".

[0035] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes and are not used to limit the scope of these messages or information.

[0036] It can be understood that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, usage scopes, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to users and the authorization of users should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0037] For example, when responding to an active request from a user, a prompt message is sent to the user to clearly prompt the user that the event requested to be executed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, an application program, a server, or a storage medium that executes the events of the present disclosure's technical solution based on the prompt message.

[0038] As an optional but non-limiting implementation manner, when responding to an active request received from a user, the manner of sending a prompt message to the user can be, for example, in the form of a pop-up window, and the prompt message can be presented in text in the pop-up window. In addition, the pop-up window can also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0039] It can be understood that the above process of notifying and obtaining user authorization is only illustrative and does not constitute a limitation on the implementation manner of the present disclosure. Other manners that comply with relevant laws and regulations can also be applied to the implementation manner of the present disclosure.

[0040] It can be understood that the data involved in the present technical solution (including but not limited to the data itself, the acquisition or use of the data) should comply with the requirements of corresponding laws, regulations, and related provisions.

[0041] Figure 1 This is a schematic flowchart of a method for generating media data provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the scenario of intelligent drawing. This method can be executed by a media data generation device, and the device can be implemented in the form of software and / or hardware. Optionally, it is implemented by an electronic device, and the electronic device can be a mobile terminal, a PC terminal, a server, or the like.

[0042] As Figure 1 shown, the method includes:

[0043] S110. In response to a media data loading event in a target interaction page, load reference media data, and display a first interaction window in the target interaction page, where the first interaction window includes the reference media data and a first control set.

[0044] Among them, the target interaction page is a preset page of the intelligent drawing tool. For example, the target interaction page is the main page or the home page of the intelligent drawing tool, etc. The media data loading event is used to trigger the media data loading operation. Optionally, in response to the click event of the media data upload control in the target interaction page, the media data loading event is triggered. Optionally, the media data loading operation includes the following steps: detecting that the media data loading event is triggered, presenting a media data selection page, which includes several candidate media data. Determining the selected candidate media data as the reference media data, and loading the reference media data into the first interaction window, which is presented in the target interaction page.

[0045] The media data includes data in the form of images or videos, etc.

[0046] The first control set includes candidate controls, and feature identifiers are presented at the corresponding positions of the candidate controls. The first control set includes several candidate controls, and the candidate controls are used to represent the feature identifiers associated with the reference media data and the target media data. The feature identifiers corresponding to different candidate controls represent different reference features.

[0047] For example, if the feature identifier is object XX, the content presented on the candidate control can be object XX, and the reference feature can be the feature corresponding to object XX in the reference media data.

[0048] The reference features corresponding to the feature identifiers include feature clarity types and feature blur types, etc. Among them, the reference features of the feature clarity type meet the first type of conditions, and the reference features of the feature blur type meet the second type of conditions. The first type of conditions is used to stipulate that the type of the reference feature is clear. The second type of conditions is used to stipulate that the type of the reference feature is blurred.

[0049] Optionally, if the type of the reference feature is clear, the reference feature corresponding to the feature identifier in the reference media data is retained in the target media data. If the type of the reference feature is blurred, the target media data is generated based on at least one of the multi-dimensional information such as the painting style, composition, and elements of the reference media data.

[0050] Exemplarily, detecting the click operation of the media data upload control in the target interaction page triggers the media data loading event in the target interaction page, and a media data selection page is presented in the target interaction page. Among them, the media data selection page includes several candidate media data. Detecting the selection operation of the candidate media data, determining the selected candidate media data as the reference media data, and loading the reference media data into the first interaction window, which is presented in the target interaction page.

[0051] Taking media data as an image as an example, in response to a click operation on an image upload control in a target interaction page, an image loading event in the target interaction page is triggered, and a number of candidate images are displayed in a pop-up window form in the target interaction page. The selected candidate image is used as a reference image, and a first interaction window is generated based on the reference image and displayed in the target interaction page.

[0052] The first interaction window further includes a first control set, and the first control set includes candidate controls corresponding to feature identifiers. The content on the candidate control is the feature identifier, and the reference feature is represented by the feature identifier. Assuming there are 3 candidate controls, and the feature identifiers on each candidate control are A, B, or C, then feature recognition is performed on the reference media data based on the feature identifiers A, B, or C to obtain the corresponding reference features.

[0053] S120. In response to a click event of a target control in the first control set, determine the reference feature corresponding to the reference media data according to the feature identifier corresponding to the target control, and display the reference feature in the first interaction window.

[0054] Wherein, the target control represents the selected candidate control in the first control set. If the reference feature is A and the type of the reference feature is clear, the reference feature corresponding to A in the reference media data is retained in the target media data. If the type of the reference feature is fuzzy, the entire reference media data is used as the reference feature. Thus, in the process of generating the target media data by the preset media data generation model, information such as the painting style, composition, or elements of the reference media data is referred to.

[0055] Exemplarily, a click operation on a target control in the first control set is detected, and the feature identifier corresponding to the target control is obtained. For example, the content displayed on the target control is used as the feature identifier corresponding to the target control. Or, the content associated with the target control is used as the feature identifier corresponding to the target control. If the feature identifier is "subject", the reference feature corresponding to the reference media data can be determined as the subject in the reference media data. The subject of the reference media data is displayed in the first interaction window. Figure 2 FIG. is a schematic diagram of a first interaction window provided by an embodiment of the present disclosure. As Figure 2 shown, the target interaction page 200 includes a first interaction window 210, and the subject of the reference image 220 displayed in the first interaction window 210 is a water cup.

[0056] In some embodiments, if the feature identifier corresponding to the target control meets the first type condition, feature recognition is performed on the reference media data according to the feature identifier to obtain the reference feature; the marker information of the reference feature and a feature update control are displayed in the first interaction window, where the feature update control is used to trigger an update event for the reference feature by updating the marker information.

[0057] Among them, the marking information is used to prominently mark the area where the reference feature is located in the reference media data.

[0058] For example, the marking information may include a viewfinder frame. The reference feature in the reference media data is marked with the viewfinder frame in the first interaction window, and the feature within the viewfinder frame is the reference feature. If the reference feature in the reference media data includes the features of different target objects, the viewfinder frames for different target objects are determined respectively, and the default target object is determined according to a preset feature selection algorithm, and the viewfinder frame corresponding to the default target object is highlighted and displayed. If the remaining target objects other than the default target object in the first interaction window are selected, the features of the selected remaining target objects are used as the reference features. The viewfinder frames of the selected remaining target objects are highlighted and displayed, and the originally highlighted viewfinder frame is set to gray. Optionally, thumbnails of each target object are displayed at a set position in the first interaction window as feature update controls, and the brightness of the thumbnail of the target object corresponding to the reference feature within the currently highlighted viewfinder frame is higher than that of other thumbnails. In response to the switching operation of the thumbnail, the switched thumbnail is highlighted and displayed, and the thumbnail before switching is set to gray to achieve the switching of the reference feature.

[0059] Alternatively, the marking information may include a preset layer. The reference feature in the reference media data is covered with the preset layer in the first interaction window, and the feature covered by the preset layer is the reference feature. An editing area control is displayed at a set position in the first interaction window. The editing area control includes one or more of editing controls such as an intelligent recognition control, a manual editing control, an erasing control, and an undo control. The automatic recognition of the reference feature is achieved through the intelligent recognition control. The reference feature recognized by the intelligent recognition is manually adjusted through the manual editing control. For example, the features that are missed in selection are smeared through the manual editing control. Or, the features that are selected more are erased through the erasing control.

[0060] Optionally, if the feature identifier corresponding to the target control meets the first type condition, the reference media data is subjected to feature recognition according to the feature identifier, and a preset mask is displayed in the first interaction window during the feature recognition process. The preset mask includes preset prompt information, and the preset prompt information is used to prompt that the feature recognition is currently in progress. After the feature recognition is completed, the marking information of the reference feature and the feature update control are displayed through the first interaction window. If a cancellation operation is detected during the feature recognition process, the feature recognition operation is stopped. The reference media data is displayed in the first interaction window.

[0061] In some other embodiments, if the feature identifier corresponding to the target control meets the second type of condition, the reference media data is determined as the reference feature; the reference media data and the reference degree control are displayed in the first interaction window, where the reference degree control is used to set the weight value corresponding to the reference feature. The weight value corresponding to the reference feature represents the reference degree of the target media data to the reference media data. If the weight value is high, the reference degree of the target media data to the reference media data is high; if the weight value is low, the reference degree of the target media data to the reference media data is low.

[0062] S130. In response to a confirmation event for the reference feature, a first prompt message is determined according to the reference media data and the feature identifier, and the first prompt message is displayed in the target interaction page.

[0063] Among them, the trigger condition of the confirmation event can be that a preset control in the first interaction window is clicked. For example, if it is detected that the save control in the first interaction window is clicked, the confirmation event for the reference feature is triggered.

[0064] The first prompt message is a combination of a picture and text. For example, the first prompt message can be a control with a picture and text. Or, the picture and text are marked as a whole through a label to obtain the first prompt message. Among them, the picture on the control can be the reduced reference media data. If the reference media data is a reference image, the picture is the reduced reference image. If the reference media data is a video, the picture on the control is the thumbnail of a preset frame in the video. The text can be determined based on the feature identifier on the target control. For example, the picture in the first prompt message can be an image with a water cup as the main body, and the text can be the reference main body.

[0065] Exemplarily, the reference feature and the save control are displayed in the first interaction window. If it is detected that the save control in the first interaction window is clicked, the confirmation event for the reference feature is triggered. The resolution of the reference media data is adjusted to obtain the reduced reference media data, and the first prompt message is determined according to the reduced reference media data and the reference identifier.

[0066] Optionally, the resolution of the reference image is adjusted to obtain the reduced reference image, and the image prompt message is determined according to the reduced reference image and the reference feature.

[0067] Optionally, a preset video frame in the reference video is obtained, the resolution of the preset video frame is reduced to obtain the reduced reference video frame, and the first prompt message is determined according to the reduced reference video frame and the reference identifier.

[0068] Taking the reference media data as a picture of a water cup and the reference feature as the main body as an example, the water cup picture is reduced to the set resolution, and the reduced water cup picture and the reference main body are combined to obtain the first prompt message.

[0069] In some embodiments, the target interaction page further includes a second prompt message, and the second prompt message represents a prompt text for generating the target media data. The first prompt message and the second prompt message constitute the target prompt message. At least one first prompt message may be added in front of the second prompt message. Alternatively, at least one first prompt message is added to the second prompt message according to the cursor position.

[0070] Optionally, before the second prompt message is input, a first preset statement is displayed in the input box of the target interaction page, and the first preset statement may include "Describe the media data information you want to generate". If a click operation on the save control in the first interaction window is detected, the first prompt message and a second preset statement are displayed in the input box of the target interaction page. The second preset statement may be determined based on the reference feature. For example, if the reference feature is the subject, the second preset statement may include "Describe the scene of the subject graph you want to generate". Or, if the reference feature is the target object, the second preset statement may include "Describe the scene of the target object you want to generate", etc. Or, if the reference feature is "Diverge more creativity based on this graph", the first preset statement is displayed after the first prompt message. The text input by the user for the first preset statement or the second preset statement is used as the second prompt message.

[0071] Optionally, displaying the first prompt message in the target interaction page includes: displaying a first form of the first prompt message in the target interaction page. When the display attribute of the first prompt message in the first form meets the first display condition, the first form is converted into a second form, and the second form of the first prompt message is displayed in the target interaction page. When the display attribute of the first prompt message in the second form meets the second display condition, the second form is restored to the first form, and the first form of the first prompt message is displayed in the target interaction page.

[0072] Among them, the first form and the second form represent different values of the display attribute of the first prompt message. If the display attribute is the brightness of the control, the first form represents the first brightness, the second form represents the second brightness, and the first brightness is less than the second brightness. For example, if a click operation on the save control in the first interaction window is detected, the first prompt message is displayed in the input box of the target interaction page with the first brightness. After the first prompt message is displayed with the first brightness for a set time, the brightness of the first prompt message is adjusted to the second brightness, and the first prompt message is displayed in the input box of the target interaction page with the second brightness. After the first prompt message is displayed with the second brightness for a set time, the brightness of the first prompt message is restored to the first brightness, and the first prompt message is displayed in the input box of the target interaction page with the first brightness. Alternatively, the display attribute may further include attributes such as font color, control color, or font boldness, and the embodiments of the present disclosure do not make specific limitations on the comparison.

[0073] Optionally, after the first prompt message is displayed in the target interaction page, it further includes: in response to a deletion event for the first prompt message, displaying a selected state of the first prompt message in the target interaction page; in response to a deletion event for the first prompt message in the selected state, deleting the first prompt message in the target interaction page.

[0074] If it is necessary to delete the first prompt message in the input box on the target interaction page and the cursor is located behind the first prompt message, in response to a deletion event for the first prompt message, the first prompt message is converted into a selected state. The brightness of the first prompt message in the selected state is higher than that of the first prompt message in the unselected state to prompt the user of the selected first prompt message. If a deletion event for the first prompt message in the selected state is detected, the first prompt message is deleted in the input box.

[0075] S140. In response to a generation event for the target media data, generate the target media data according to the first prompt message and the reference feature, and display the target media data in the target interaction page.

[0076] Among them, the trigger condition of the generation event may include that a media data generation control in the target interaction page is triggered. The first prompt message is used to guide a preset media data generation model to determine the type of the media data generation scenario.

[0077] Taking the media data as an image as an example, the preset media data generation model generates a target image based on the first prompt message and the reference feature. Taking the media data as a video as an example, the preset media data generation model generates target video frames based on the first prompt messages and the reference features corresponding to the respective video frames in the reference video, and generates a target video based on the target video frames.

[0078] In some embodiments, a second prompt message may also be input on the target interaction page to guide the preset media data generation model to understand the user's expectations for the target media data through the second prompt message. For example, if a click event of a media data generation control on the target interaction page is detected, the first prompt message, the second prompt message, and the reference features are input into the preset media data generation model, and the target media data is output through the preset media data generation model.

[0079] If the media data generation scenario is a scenario with clear types of reference features, the target media data output by the preset media data generation model includes the reference features. If the media data generation scenario is a scenario with fuzzy types of reference features, the preset media data generation model generates the target media data according to the painting style, composition, or elements of the reference media data.

[0080] If the media data generation scenario is a scenario with fuzzy types of reference features, the weight value is determined according to the interaction operation of the reference degree control in the first interaction window. In response to the click event of the media data generation control on the target interaction page, the preset media data generation model is used to generate the target media data based on the first prompt message, the reference features, and the weight value.

[0081] Optionally, if a first prompt message and at least two second prompt messages are displayed in the input field of the target interaction page, there is no need to input the second prompt message, and the first prompt message, the second prompt message, and the reference features are input into the preset media data generation model. Among them, the first prompt message is determined based on the feature identifier that meets the first type condition, and the second prompt message is determined based on the feature identifier that meets the second type condition.

[0082] Optionally, if a first prompt message and a second prompt message are displayed in the input field of the target interaction page, the second prompt message is obtained, and the first prompt message, the second prompt message, and the reference features are input into the preset media data generation model.

[0083] In the embodiments of the present disclosure, after generating multiple pieces of target media data, each piece of target media data is displayed at a preset position on the target interaction page. The target interaction page also includes an editing control and a regenerating control, etc. Among them, the editing control is used to trigger the display of the target prompt message in the input box on the target interaction page. The regenerating control is used to trigger the preset media data generation model to regenerate the target media data based on the first prompt message and the reference media data.

[0084] In the technical solution of the embodiment of the present disclosure, by displaying a target interaction page, reference media data is loaded according to a media data loading event in the target interaction page, and a first interaction window is displayed in the target interaction page, and the first interaction window includes the reference media data and a first control set; then, in response to a click event of a target control in the first control set, a reference feature corresponding to the reference media data and a feature identifier is determined according to the target control, and the reference feature is displayed in the first interaction window; then, in response to a confirmation event of the reference feature, a first prompt message is determined according to the reference media data and the feature identifier, and the first prompt message is displayed in the target interaction page; in response to a generation event for target media data, the target media data is generated and displayed according to the first prompt message and the reference feature. The embodiment of the present disclosure combines the first prompt message and the reference feature to realize the visualization of the media data generation effect, solves the problem that the media data generation result does not meet the user's expectation, and improves the accuracy of the media data generation result and the user experience.

[0085] Figure 3 FIG. 4 is a schematic flowchart of another media data generation method provided by the embodiment of the present disclosure. On the basis of the above embodiments, the embodiment of the present disclosure additionally defines a second interaction window.

[0086] As Figure 3 shown, the method includes:

[0087] S310. In response to a media data loading event in a target interaction page, load reference media data, and display a first interaction window in the target interaction page. The first interaction window includes the reference media data and a first control set, where the first control set includes candidate controls, and the candidate controls are used to represent a feature identifier associated with the reference media data and target media data.

[0088] S320. In response to a triggering event of a target control in the first control set, determine a display position of a second interaction window in the first interaction window based on a positional relationship between the target control and the reference media data, where the second interaction window is used to display a reference feature corresponding to the preset media data and the target control.

[0089] Among them, the triggering event of the target control can be triggered by mouse hovering.

[0090] Exemplarily, when it is detected that the residence time of the mouse on the target control exceeds the set time threshold, a trigger event of the target control is triggered. Based on the positional relationship between the target control and the reference media data, determining the display position of the second interaction window in the first interaction window includes: determining a first object based on a first area corresponding to the target control in the first interaction window; determining a second object based on a second area corresponding to the reference media data in the first interaction window; determining a first alignment mode of the second interaction window with the target control according to the positional relationship between the first object and the second object; and determining the display position of the second interaction window in the first interaction window according to the first area and the first alignment mode.

[0091] Figure 4 FIG. 4 is a schematic diagram of the display position of a second interaction window provided by an embodiment of the present disclosure. The first interaction window 410 includes a reference image 413 and candidate controls 411. The feature identifier of the target control selected from the candidate controls 411 is taken as the main body. A midline of the target control is determined based on a first area corresponding to the target control 411 in the first interaction window 410 as the first object 412. An image boundary of the reference image 413 in the horizontal direction is determined based on a second area corresponding to the reference image 413 in the first interaction window 410 as the second object 414. The second object 414 includes an image left boundary and an image right boundary. If the distance between the first object 412 and the image left boundary is less than or equal to a preset distance threshold, it is determined that the second interaction window 420 is left-aligned with the target control 411. If the distance between the first object 412 and the image left boundary is greater than the preset distance threshold and the distance between the first object 412 and the image right boundary is greater than the preset distance threshold, it is determined that the second interaction window 420 is centered with the target control 411. If the distance between the first object 412 and the image left boundary is greater than the preset distance threshold and the distance between the first object 412 and the image right boundary is less than or equal to the preset distance threshold, it is determined that the second interaction window 420 is right-aligned with the target control.

[0092] Combining the alignment mode of the second interaction window 420 with the target control 411 and the position of the target control 411 in the first interaction window 410, the display position of the second interaction window 420 in the first interaction window 410 is determined. The second interaction window 420 includes a preset image 421, and three flowers serving as the main body of the preset image are covered by a preset layer.

[0093] S330. Display the second interaction window at the display position in the first interaction window.

[0094] Exemplarily, a second interaction window is displayed at the display position in the first interaction window, and the marking information of the reference feature in the preset media data is displayed in the second interaction window. For example, the recognition process of the reference feature in the preset media data can be displayed in the form of a moving picture. If the feature identifier corresponding to the target control is the main body, a preset layer is used to cover the reference feature in the preset media data.

[0095] S340. In response to the click event of the target control in the first control set, determine the reference feature corresponding to the reference media data according to the feature identifier corresponding to the target control, and display the reference feature in the first interaction window.

[0096] Exemplarily, upon detecting the click operation of the target control in the first control set, identify the reference feature corresponding to the reference media data according to the feature identifier corresponding to the target control, and display a preset mask in the first interaction window. The preset mask includes preset prompt information for prompting that feature recognition is currently in progress. If the feature identifier corresponding to the target control is the main body, after completing the feature recognition, the reference media data is displayed through the first interaction window, and the main body of the reference media data is covered with a preset layer. If the feature identifier corresponding to the target control is the target object, after completing the feature recognition, the reference media data is displayed through the first interaction window, and the target object in the reference media data is selected with a viewfinder.

[0097] If the feature identifier corresponding to the target control is the main body, an editing area control is displayed at a set position in the first interaction window. The editing area control includes one or more of editing controls such as an intelligent recognition control, a manual editing control, an erasing control, and an undo control. In response to the interaction operation of the manual editing control, identify the new area corresponding to the manual editing control, and cover the new area with a preset layer to update the reference feature based on the features of the new area. In response to the interaction operation of the erasing control, identify the erasing area corresponding to the erasing control, and delete the preset layer corresponding to the erasing area to delete the feature corresponding to the erasing area in the reference feature.

[0098] S350. In response to the confirmation event for the reference feature, determine the first prompt information according to the reference media data and the feature identifier, and display the first prompt information in the target interaction page.

[0099] S360. In response to the generation event for the target media data, generate the target media data according to the first prompt information and the reference feature, and display the target media data in the target interaction page.

[0100] In the technical solution of the embodiment of the present disclosure, by obtaining the trigger event of the target control, based on the positional relationship between the target control and the reference media data, determining the display position of the second interaction window in the first interaction window, and then, displaying the second interaction window at the display position in the first interaction window, and displaying the recognition process and recognition result of the reference feature through the preset media data in the second interaction window, it is possible to vividly display the reference feature corresponding to the target control, and avoid a large deviation between the target media data and the expectation due to misselection of the target control.

[0101] Figure 5 FIG. 4 is a schematic flowchart of another method for generating media data provided by an embodiment of the present disclosure. On the basis of the above embodiments, the embodiment of the present disclosure additionally defines a third interaction window.

[0102] As Figure 5 shown, the method includes:

[0103] S510. In response to a media data loading event in a target interaction page, load reference media data, and display a first interaction window in the target interaction page. The first interaction window includes the reference media data and a first control set, where the first control set includes candidate controls, and the candidate controls are used to represent the feature identifiers associated with the reference media data and the target media data.

[0104] S520. In response to a click event of a target control in the first control set, determine the reference feature corresponding to the reference media data according to the feature identifier corresponding to the target control, and display the reference feature in the first interaction window.

[0105] S530. In response to a confirmation event for the reference feature, determine a first prompt message according to the reference media data and the feature identifier, and display the first prompt message in the target interaction page.

[0106] S540. In response to a trigger event for the first prompt message, determine the display position of the third interaction window in the target interaction page based on the positional relationship between the first prompt message and the target prompt message, where the target prompt message includes the first prompt message and the second prompt message.

[0107] Exemplarily, if it is detected that the residence time of the mouse on the first prompt message exceeds the set time threshold, a trigger event for the first prompt message is triggered. A third object is determined based on the third area corresponding to the first prompt message in the target interaction page. A fourth object is determined based on the fourth area corresponding to the target prompt message in the target interaction page. According to the positional relationship between the third object and the fourth object, a second alignment method between the third interaction window and the first prompt message is determined. According to the third area and the second alignment method, the display position of the third interaction window in the target interaction page is determined.

[0108] Figure 6 This is a schematic diagram of the display position of a third interaction window provided by an embodiment of the present disclosure. The target interaction page 610 includes a target image display area 611, an input box 612, etc. The input box 612 includes a target prompt message 613 and a generation control 614. The target prompt message 613 includes a first prompt message 615, a second prompt message 616, etc. The midline of the first prompt message 615 is determined based on the third area corresponding to the first prompt message 615 as the third object 617. The content boundary of the target prompt message 613 in the horizontal direction is determined based on the fourth area corresponding to the target prompt message 613 as the fourth object 618. The fourth object 618 includes a content left boundary and a content right boundary. If the distance between the third object 617 and the content left boundary is less than or equal to a preset distance threshold, it is determined that the third interaction window 619 is left-aligned with the target prompt message 613. If the distance between the third object 617 and the content left boundary is greater than the preset distance threshold, and the distance between the third object 617 and the content right boundary is greater than the preset distance threshold, it is determined that the third interaction window 619 is centered with the target prompt message 613. If the distance between the third object 617 and the content left boundary is greater than the preset distance threshold, and the distance between the third object 617 and the content right boundary is less than or equal to the preset distance threshold, it is determined that the third interaction window 619 is right-aligned with the target prompt message 613.

[0109] Combined with the alignment method between the third interaction window 619 and the target prompt message 613 and the position of the target prompt message 613 in the input box, the display position of the third interaction window 619 in the target interaction page 610 is determined.

[0110] S550. Display the third interaction window at the display position in the target interaction page, where the third interaction window includes reference media data.

[0111] Exemplarily, a third interaction window is displayed at the display position in the target interaction page. The reference media data is adjusted according to the length and height of the third interaction window so that the adjusted reference media data is adapted to the third interaction window, and the adjusted reference media data is displayed in the third interaction window. If the mouse moves away from the first prompt message in the input box, the third interaction window is closed.

[0112] S560. In response to a generation event for the target media data, the target media data is generated according to the first prompt message and the reference features, and the target media data is displayed in the target interaction page.

[0113] Exemplarily, a click operation for generating a control within the input box is detected, triggering a generation event for the target media data. The target media data is generated according to the first prompt message, the second prompt message, and the reference features, and the target media data is displayed in the media data display area of the target interaction page.

[0114] Optionally, in the media data display area of the target interaction page, there is also a target prompt message, and the target prompt message includes the first prompt message and the second prompt message. If a trigger event for the first prompt message is detected, a first distance between the midline of the first prompt message and the left boundary of the content of the target prompt message is determined. If the first distance is less than or equal to a set distance threshold, the third interaction window is displayed in the media data display area in a manner left-aligned with the first prompt message. If the first distance is greater than the set distance threshold, a second distance between the midline of the first prompt message and the right boundary of the content of the target prompt message is determined. If the second distance is greater than the set distance threshold, the third interaction window is displayed in the media data display area in a manner centered with the first prompt message. If the first distance is greater than the set distance threshold and the second distance is less than or less than the set distance threshold, the third interaction window is displayed in the media data display area in a manner right-aligned with the first prompt message.

[0115] The technical solution of the embodiments of the present disclosure, by responding to a trigger event for the first prompt message, determines the display position of the third interaction window in the target interaction page based on the positional relationship between the first prompt message and the target prompt message. Then, the third interaction window is displayed at the display position in the target interaction page, and the reference media data is displayed through the third interaction window, realizing a visualized display of the reference media data. Thus, it can quickly determine whether there is a problem of misselecting the reference media data, further improving the accuracy of the target media data, and can discover the problem of misselecting the reference media data before generating the target media data, saving computing resources.

[0116] Figure 7Schematic diagram of a media data generation device provided by an embodiment of the present disclosure. The device can be implemented in the form of software and / or hardware. Optionally, it is implemented through an electronic device, which can be a mobile terminal, a PC, a server, etc.

[0117] As Figure 7 shown, the device includes: a window display module 710, a feature display module 720, an information display module 730, and a media data generation module 740.

[0118] The window display module 710 is configured to load reference media data in response to a media data loading event in a target interaction page, and display a first interaction window in the target interaction page. The first interaction window includes the reference media data and a first control set. The first control set includes candidate controls, and the candidate controls are used to represent feature identifiers associated with the reference media data and target media data.

[0119] The feature display module 720 is configured to, in response to a click event on a target control in the first control set, determine a reference feature corresponding to the reference media data according to the feature identifier corresponding to the target control, and display the reference feature in the first interaction window.

[0120] The information display module 730 is configured to, in response to a confirmation event for the reference feature, determine first prompt information according to the reference media data and the feature identifier, and display the first prompt information in the target interaction page.

[0121] The media data generation module 740 is configured to, in response to a generation event for the target media data, generate the target media data according to the first prompt information and the reference feature, and display the target media data in the target interaction page.

[0122] Optionally, the device further includes:

[0123] A first position determination module, configured to, after displaying the first interaction window in the target interaction page, in response to a trigger event on a target control in the first control set, determine the display position of a second interaction window in the first interaction window based on the positional relationship between the target control and the reference media data, where the second interaction window is used to display reference features corresponding to the target control and preset media data.

[0124] A first window display module, configured to display the second interaction window at the display position in the first interaction window.

[0125] Further, the first position determination module is specifically configured to:

[0126] Determine a first object based on a first area corresponding to the target control in the first interaction window;

[0127] Determine a second object based on a second area corresponding to the reference media data in the first interaction window;

[0128] Determine a first alignment mode of the second interaction window with respect to the target control according to the positional relationship between the first object and the second object;

[0129] Determine the display position of the second interaction window in the first interaction window according to the first area and the first alignment mode.

[0130] Optionally, the information display module 730 is specifically configured to:

[0131] Adjust the resolution of the reference media data to obtain a reduced reference media data, and determine a first prompt message according to the reduced reference media data and a reference identifier.

[0132] Optionally, displaying the first prompt message in the target interaction page includes:

[0133] Display a first form of the first prompt message in the target interaction page;

[0134] When the display attribute of the first prompt message in the first form meets a first display condition, convert the first form into a second form, and display the second form of the first prompt message in the target interaction page;

[0135] When the display attribute of the first prompt message in the second form meets a second display condition, restore the second form to the first form, and display the first form of the first prompt message in the target interaction page.

[0136] Optionally, the device further includes:

[0137] A second position determination module, configured to, after displaying the first prompt message in the target interaction page, in response to a trigger event for the first prompt message, determine the display position of a third interaction window in the target interaction page based on the positional relationship between the first prompt message and a target prompt message, where the target prompt message includes the first prompt message and a second prompt message, and the second prompt message represents a prompt text for generating target media data;

[0138] A second window display module, configured to display the third interaction window at the display position in the target interaction page, where the third interaction window includes reference media data.

[0139] Optionally, the second position determination module is specifically configured to:

[0140] Determine a third object based on a third area corresponding to the first prompt message in the target interaction page;

[0141] Determine a fourth object based on a fourth area corresponding to the target prompt message in the target interaction page;

[0142] Determine a second alignment mode of the third interaction window and the first prompt message according to the positional relationship between the third object and the fourth object;

[0143] Determine the display position of the third interaction window in the target interaction page according to the third area and the second alignment mode.

[0144] Optionally, the device further includes a deletion module for:

[0145] After the first prompt message is displayed in the target interaction page, in response to a deletion event for the first prompt message, display a selected state of the first prompt message in the target interaction page;

[0146] In response to a deletion event for the first prompt message in the selected state, delete the first prompt message in the target interaction page.

[0147] Optionally, the feature display module 720 is specifically configured to:

[0148] If a feature identifier corresponding to the target control meets a first type condition, perform feature recognition on the reference media data according to the feature identifier to obtain the reference feature;

[0149] Display a marker information of the reference feature and a feature update control in the first interaction window, where the feature update control is used to trigger an update event for the reference feature by updating the marker information.

[0150] Optionally, the feature display module 720 is specifically configured to:

[0151] If a feature identifier corresponding to the target control meets a second type condition, determine the reference media data as the reference feature;

[0152] Display the reference media data and a reference degree control in the first interaction window, where the reference degree control is used to set a weight value corresponding to the reference feature.

[0153] Optionally, the media data generation module 740 is specifically configured to:

[0154] In response to a click event of a media data generation control in the target interaction page, generate target media data based on the first prompt message, the reference feature, and the weight value by using a preset media data generation model.

[0155] The media data generation device provided by the embodiments of the present disclosure can execute the media data generation method provided by any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the execution of the method.

[0156] It should be noted that the various units and modules included in the above device are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for the convenience of mutual distinction and do not limit the protection scope of the embodiments of the present disclosure.

[0157] Figure 8 It is a schematic structural diagram of an electronic device provided by the embodiments of the present disclosure. The following refers to Figure 8 , which shows a schematic structural diagram of an electronic device 800 suitable for implementing the embodiments of the present disclosure (such as Figure 8 the terminal device or server in). The terminal device in the embodiments 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), in-vehicle terminals (such as in-vehicle navigation terminals), etc. and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and usage scope of the embodiments of the present disclosure.

[0158] As Figure 8 shown, the electronic device 800 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 801, which may perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 802 or the program loaded from the storage device 808 into the random access memory (RAM) 803. In the RAM 803, various programs and data required for the events of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804. The editing / output (I / O) interface 805 is also connected to the bus 804.

[0159] Generally, the following devices may be connected to the I / O interface 805: an input device 806 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or wireline to exchange data. Although Figure 8An electronic device 800 is shown with various devices, but it should be understood that it is not required to implement or have all the shown devices. Instead, more or fewer devices may be implemented or had.

[0160] In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, an embodiment of the present disclosure includes a computer program product that includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes program code for performing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device 809, or installed from a storage device 808, or installed from a ROM 802. When the computer program is executed by a processing device 801, the above-described functions defined in the methods of the embodiments of the present disclosure are performed.

[0161] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are for illustrative purposes only and are not used to limit the scope of these messages or information.

[0162] The electronic device provided in the embodiments of the present disclosure and the media data generation method provided in the above embodiments belong to the same inventive concept. Technical details not described in detail in this embodiment can be seen in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.

[0163] The embodiments of the present disclosure provide a computer storage medium, on which a computer program is stored, and when the program is executed by a processor, the media data generation method provided in the above embodiments is implemented.

[0164] It should be noted that the computer-readable medium described above can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can 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, the computer-readable storage medium can be any tangible medium that contains or stores a program, which can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit 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 can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0165] In some embodiments, the client and the server can communicate using any currently known or future-developed network protocol such as HTTP (HyperText Transfer Protocol), and can be interconnected with digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include local area networks ("LANs"), wide area networks ("WANs"), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.

[0166] The above computer-readable medium can be included in the above electronic device; or it can exist separately without being assembled into the electronic device.

[0167] The above computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device is caused to:

[0168] In response to a media data loading event in a target interaction page, load reference media data, and display a first interaction window in the target interaction page. The first interaction window includes the reference media data and a first control set, where the first control set includes candidate controls, and the candidate controls are used to represent the feature identifiers associated with the reference media data and target media data;

[0169] In response to a click event of a target control in the first control set, determine the reference features corresponding to the reference media data according to the feature identifier corresponding to the target control, and display the reference features in the first interaction window;

[0170] In response to a confirmation event for the reference features, determine a first prompt message according to the reference media data and the feature identifier, and display the first prompt message in the target interaction page;

[0171] In response to a generation event for the target media data, generate the target media data according to the first prompt message and the reference features, and display the target media data in the target interaction page.

[0172] Computer program code for performing the events of the present disclosure may be written in one or more programming languages or combinations thereof. The above-mentioned programming languages include, but are not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of 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 (for example, by using an Internet service provider to connect through the Internet).

[0173] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and events of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a part of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions noted in the blocks may occur in a different order than that noted in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or events, or by a combination of dedicated hardware and computer instructions.

[0174] The units involved in the embodiments described in the present disclosure can be implemented in software or in hardware. In some cases, the name of the unit does not constitute a limitation on the unit itself.

[0175] The functions described above herein can be performed, at least in part, by one or more hardware logic components. By way of example, and without limitation, exemplary types of hardware logic components that can be used include: Field Programmable Gate Arrays (FPGA), Application Specific Integrated Circuits (ASIC), Application Specific Standard Products (ASSP), System on a Chip (SOC), Complex Programmable Logic Devices (CPLD), and the like.

[0176] In the context of the present disclosure, a machine-readable medium may be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0177] The above description is only a preferred embodiment of the present disclosure and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of the disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosure concept. For example, the technical solutions formed by mutually replacing the above features with the technical features (but not limited to) having similar functions disclosed in the present disclosure.

[0178] In addition, although the events are depicted in a particular order, this should not be construed as requiring that the events be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although a number of specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features described in the context of separate embodiments may also be implemented in combination in a single embodiment. Conversely, the various features described in the context of a single embodiment may also be implemented separately or in any suitable sub-combination in multiple embodiments.

[0179] 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. On the contrary, the specific features and acts described above are merely example forms of implementing the claims.

Claims

1. A method for generating media data, characterized in that, Including: In response to a media data loading event in a target interaction page, load reference media data, and display a first interaction window in the target interaction page. The first interaction window includes the reference media data and a first control set, where the first control set includes candidate controls, and the candidate controls are used to represent the characteristic identifiers associated with the reference media data and target media data; In response to a click event of a target control in the first control set, determine the reference characteristics corresponding to the reference media data according to the characteristic identifier corresponding to the target control, and display the reference characteristics in the first interaction window; In response to a confirmation event for the reference characteristics, determine a first prompt message according to the reference media data and the characteristic identifier, and display the first prompt message in the target interaction page; In response to a generation event for the target media data, generate the target media data according to the first prompt message and the reference characteristics, and display the target media data in the target interaction page.

2. The method according to claim 1, characterized in that, After displaying the first interaction window in the target interaction page, it further includes: In response to a trigger event of a target control in the first control set, determine the display position of a second interaction window in the first interaction window based on the positional relationship between the target control and the reference media data, where the second interaction window is used to display the reference characteristics corresponding to the preset media data and the target control; Display the second interaction window at the display position in the first interaction window.

3. The method according to claim 2, wherein The determining the display position of the second interaction window in the first interaction window based on the positional relationship between the target control and the reference media data includes: Determine a first object based on a first area corresponding to the target control in the first interaction window; Determine a second object based on a second area corresponding to the reference media data in the first interaction window; Determine a first alignment method between the second interaction window and the target control according to the positional relationship between the first object and the second object; Determine the display position of the second interaction window in the first interaction window according to the first area and the first alignment method.

4. The method according to claim 1, wherein The determining the first prompt message according to the reference media data and the characteristic identifier includes: Adjust the resolution of the reference media data to obtain a reduced reference media data, and determine the first prompt message according to the reduced reference media data and the reference identifier.

5. The method according to claim 1, wherein Displaying the first prompt message in the target interaction page includes: Display a first form of the first prompt message in the target interaction page; If the display attribute of the first prompt message in the first form meets a first display condition, convert the first form to a second form, and display the second form of the first prompt message in the target interaction page; If the display attribute of the first prompt message in the second form meets a second display condition, restore the second form to the first form, and display the first form of the first prompt message in the target interaction page.

6. The method according to claim 1, characterized in that, After displaying the first prompt message in the target interaction page, it further includes: In response to a trigger event for the first prompt message, based on the positional relationship between the first prompt message and the target prompt message, determine the display position of the third interaction window on the target interaction page, where the target prompt message includes the first prompt message and the second prompt message, and the second prompt message represents a prompt text for generating target media data; Display the third interaction window at the display position on the target interaction page, where the third interaction window includes reference media data.

7. The method according to claim 6, wherein The determining the display position of the third interaction window on the target interaction page based on the positional relationship between the first prompt message and the target prompt message includes: Determine a third object based on a third area corresponding to the first prompt message on the target interaction page; Determine a fourth object based on a fourth area corresponding to the target prompt message on the target interaction page; Determine a second alignment mode of the third interaction window with the first prompt message according to the positional relationship between the third object and the fourth object; Determine the display position of the third interaction window on the target interaction page according to the third area and the second alignment mode.

8. The method according to claim 1, wherein After displaying the first prompt message on the target interaction page, it further includes: In response to a deletion event for the first prompt message, display a selected state of the first prompt message on the target interaction page; In response to a deletion event for the first prompt message in the selected state, delete the first prompt message on the target interaction page.

9. The method according to claim 1, characterized in that, The displaying the reference feature corresponding to the reference media data according to the feature identifier corresponding to the target control in the first interaction window includes: If the feature identifier corresponding to the target control meets a first type condition, perform feature recognition on the reference media data according to the feature identifier to obtain the reference feature; Display a marker information and a feature update control of the reference feature in the first interaction window, where the feature update control is used to trigger an update event for the reference feature by updating the marker information.

10. The method according to claim 1, wherein The displaying the reference feature corresponding to the reference media data according to the feature identifier corresponding to the target control in the first interaction window includes: If the feature identifier corresponding to the target control meets a second type condition, determine the reference media data as the reference feature; Display the reference media data and a reference degree control in the first interaction window, where the reference degree control is used to set a weight value corresponding to the reference feature.

11. The method according to claim 10, characterized in that, The generating the target media data according to the first prompt message and the reference feature in response to a generation event for the target media data includes: In response to a click event of a media data generation control on the target interaction page, generate target media data based on the first prompt message, the reference feature, and the weight value by using a preset media data generation model.

12. A media data generation device, characterized in that, Includes: A window display module, configured to load reference media data in response to a media data loading event in a target interaction page, and display a first interaction window in the target interaction page, where the first interaction window includes the reference media data and a first control set, and the first control set includes candidate controls, and the candidate controls are used to represent a feature identifier associated with the reference media data and target media data; A feature display module, configured to determine a reference feature corresponding to the reference media data according to the feature identifier corresponding to a target control in response to a click event of the target control in the first control set, and display the reference feature in the first interaction window; An information display module, configured to determine a first prompt message according to the reference media data and the feature identifier in response to a confirmation event for the reference feature, and display the first prompt message in the target interaction page; A media data generation module, configured to generate the target media data according to the first prompt message and the reference feature in response to a generation event for the target media data, and display the target media data in the target interaction page.

13. An electronic device, characterized in that, The electronic device includes: One or more processors; 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 data generation method according to any one of claims 1-11.

14. A storage medium containing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a computer processor, are used to execute the media data generation method according to any one of claims 1-11.