Interaction method and device, electronic equipment and storage medium
By selecting keywords in the configuration page to represent the media file style, the problem that non-professional users find it difficult to describe scenes or build creativity when generating media files is solved, and the effect of reducing generation difficulty and improving creative efficiency is achieved.
Patent Information
- Application Number
- CN202411919065.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-04-18
AI Technical Summary
When non-professional users generate media files, it is difficult for them to accurately describe the scene or build creativity, resulting in confusion and giving up during the generation process.
An interactive method is provided by displaying a configuration page, a user can select multiple keywords in a first area to characterize the style of the media file and display the target keywords in a second area. The user can confirm the operation instructions and generate media files based on the target keywords.
Through keyword selection, users can determine the required media file style, reducing the difficulty of using media file generation technology and helping users break through the obstacles due to insufficient experience and inspiration.
Smart Images

Figure CN119850787A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence technology, and in particular to an interaction method, device, electronic device and storage medium. Background Art
[0002] With the rapid development of science and technology, media file generation technology has become an important achievement in today's digital field. With the help of advanced algorithm models, corresponding media files can be generated according to specific input instructions or parameters. This technology has brought innovative opportunities to many fields.
[0003] However, many non-professional users still face the problem of how to accurately describe scenes and construct creative ideas. Especially for those users who lack creative experience or inspiration, they often feel confused when facing a blank page and even give up trying. Therefore, how to help users break through the barriers caused by lack of experience and inspiration and generate and create media files is a problem that needs to be solved urgently. Summary of the invention
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides an interaction method, an apparatus, an electronic device and a storage medium.
[0005] In a first aspect, the present disclosure provides an interaction method, comprising:
[0006] Displaying a configuration page, the configuration page includes a first area and a second area; the first area includes a plurality of keywords; the keywords are used to characterize the style of the media file;
[0007] In response to a selection operation of a target keyword in the first area, displaying the target keyword in the second area of the configuration page;
[0008] In response to the confirmation operation instruction, the first media file is displayed in combination with the style of the media file represented by the target keyword displayed in the second area.
[0009] In a second aspect, the present disclosure further provides an interactive device, including:
[0010] A display module, used to display a configuration page, the configuration page includes a first area and a second area; the first area includes a plurality of keywords; the keywords are used to characterize the style of the media file;
[0011] A selection module, configured to display the target keyword in the second area of the configuration page in response to a selection operation of the target keyword in the first area;
[0012] The generating module is configured to display the first media file in response to the confirmation operation instruction and in combination with the style of the media file represented by the target keyword displayed in the second area.
[0013] In a third aspect, the present disclosure further provides an electronic device, the electronic device comprising:
[0014] one or more processors;
[0015] A storage device for storing one or more programs;
[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the interaction method as described above.
[0017] In a fourth aspect, the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned interaction method when executed by a processor.
[0018] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:
[0019] The technical solution provided by the embodiment of the present disclosure is by displaying a configuration page, the configuration page includes a first area and a second area; the first area includes multiple keywords; the keywords are used to characterize the style of the media file; in response to the selection operation of the target keyword in the first area, the target keyword is displayed in the second area of the configuration page; in response to the confirmation operation instruction, the first media file is displayed in combination with the style of the media file represented by the target keyword displayed in the second area. Its essence is to display the styles of the media files with the help of options for users to choose. In this way, even if the user has difficulty in describing the style of the desired media file to be generated with appropriate words due to lack of experience and inspiration, or lacks understanding of the style of the media file, the desired style can still be determined by selecting keywords, thereby reducing the difficulty of using the media file generation technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0022] Figure 1 A flowchart of an interactive method provided by an embodiment of the present disclosure;
[0023] Figure 2-Figure 9 A schematic diagram of a terminal display interface provided by an embodiment of the present disclosure;
[0024] Fig.10 is a structural schematic diagram of an interactive device in an embodiment of the present disclosure;
[0025] Fig.11 It is a structural schematic diagram of an electronic device in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0027] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0028] Figure 1 A flowchart of an interactive method provided in an embodiment of the present disclosure. This embodiment is applicable to the situation where media files are generated in a client. The method can be executed by an interactive device, which can be implemented in software and / or hardware. The device can be configured in an electronic device, such as a terminal, specifically including but not limited to smart phones, PDAs, tablet computers, wearable devices with display screens, desktop computers, laptop computers, all-in-one computers, smart home devices, etc.
[0029] like Figure 1 As shown, the method may specifically include:
[0030] S110 , display a configuration page, the configuration page including a first area and a second area; the first area includes a plurality of keywords; the keywords are used to characterize the style of the media file.
[0031] The configuration page may, for example, be a page that assists the user in feeling the artistic expression of the style of the media file in the media file. In some scenarios, the configuration page may also assist the user in configuring the information used to guide the generation of the media file. The media file may, for example, include at least one of the following: an image, a video, and an audio. The audio may, for example, be music, etc.
[0032] The first area and the second area are two different areas in the configuration page. The first area is used to display pre-given keywords for users to select. The second area is used to display keywords selected by users from the first area. The keywords displayed in the second area can be input into the media file generation model to guide the media file generation model to generate media files.
[0033] In some scenarios, keywords may be, for example, words that describe the artistic effects of a media file. The purpose of the keywords displayed in the first area is to provide one or several options for the user to choose. If the user selects a keyword, it means that the user wants to generate a media file with the artistic effects referred to by the keyword. Exemplarily, in a scenario where the media file is an image, the keyword may be a word that describes the artistic effects in terms of image style, image color, image light, image portrait performance, or image scene. Further, keywords used to describe image style, for example, may be realistic, illustration, or 3D. Keywords used to describe image color, for example, may be bright, summer, or warm. Keywords used to describe image light, for example, may be metal, outline, or atmosphere light. Keywords used to describe image character performance, for example, may be street photography, retro, or fantasy. Keywords used to describe image scene, for example, may be close-up, wide angle, or telephoto. In a scenario where the media file is a video, keywords may be words that describe the artistic effects in terms of video style, video camera movement, or video special effects. Further, keywords used to describe video style, for example, may be illustration, pop, or 3D. Keywords used to describe aspects of video camera movements may be, for example, zoom in, zoom out, or slow evolution. Keywords used to describe aspects of visual effects may be, for example, failure, backlog, or explosion. In scenarios where the media file is music, keywords may be words that describe artistic effects in terms of singing method, sound package, music style, rhythm, etc. Further, keywords used to describe aspects of singing method may be, for example, traditional, popular, or classical. Keywords used to describe aspects of the sound package may be, for example, male voice, female voice, or electronic music. Keywords used to describe aspects of music style may be, for example, hip-hop, R&B, or country. Keywords used to describe aspects of rhythm may be, for example, 1 / 16, 1 / 8, or 1 / 4.
[0034] In other scenarios, the keyword may also be, for example, a pre-given text type generation prompt information or a reference image, etc., as an example or template.
[0035] S120 . In response to a selection operation on a target keyword in the first area, display the target keyword in a second area of the configuration page.
[0036] The operation of selecting the target keyword in the first area may be, for example, an operation of the user selecting one or more keywords from the keywords displayed in the first area. The selected keyword is the target keyword. The operation of selecting the target keyword in the first area may specifically be a click operation or a drag operation on the target keyword.
[0037] S130 : In response to the confirmation operation instruction, display the first media file in combination with the style of the media file represented by the target keyword displayed in the second area.
[0038] In the present application, the first media file can be generated or preset. In some embodiments, the first media file is displayed in combination with the style of the media file represented by the target keyword displayed in the second area. For example, the target keyword displayed in the second area can be input into the media file generation model to generate and display the first media file. In other embodiments, multiple groups of correspondences between keywords and media files are pre-constructed, and the first media file is determined based on the target keyword displayed in the second area. For example, the correspondence between the pre-constructed keywords and media files is searched for the correspondence including the target keyword displayed in the second area; and the media file in the correspondence including the target keyword displayed in the second area is used as the first media file. This method can quickly output the first media file, which is convenient for users to quickly feel the combination of their selected styles (achieved by selecting target keywords) and what kind of artistic effect will be presented in the end, providing a reference for users to create media files later.
[0039] The confirmation operation instruction may be, for example, an instruction indicating that the user wishes to know what kind of media file is obtained based on the keywords currently displayed in the second area. Optionally, when a third preset trigger operation on the configuration page is detected, a confirmation operation instruction is generated. The third preset trigger operation may be, for example, a sliding operation (such as a horizontal sliding operation or a vertical sliding operation), a dragging operation or a clicking operation, or a clicking operation on a specific area or a specific option of the configuration page. Exemplarily, the configuration page includes a generation option. If a user click operation on the generation option is detected, a confirmation operation instruction is generated. The generation option may be, for example, an option that triggers the operation of a media file generation model.
[0040] Furthermore, the display state of the configuration page can also be set to include a first state and a second state; the number of keywords included in the first area in the first state is less than the number of keywords included in the first area in the second state; the method can also include: when the display state of the configuration page is the first state, in response to a first preset trigger operation on the configuration page, switching the display state of the configuration page from the first state to the second state.
[0041] The first preset trigger operation on the configuration page may, for example, indicate an operation of switching between the first state and the second state of the configuration page. For example, the first preset trigger operation may be, for example, a sliding operation (such as a horizontal sliding operation or a vertical sliding operation), a dragging operation or a clicking operation, or a clicking operation on a specific area or a specific option of the configuration page in the first state.
[0042] Exemplarily, take image generation as an example. Figure 2 and Figure 3 All the pages in are configuration pages. Figure 2 and Figure 3 The configuration pages in each embodiment include a first area and a second area. The first area is located below the second area. Figure 2 The area of the first region is less than Figure 3 The area of the first region in . Figure 2 The first area includes five keywords: "childhood dream core", "Pop kitten", "realism", "illustration" and "bright". Figure 3 The first area includes ten keywords: "childhood dream core", "pop kitten", "realism", "illustration", "bright", "summer", "close-up", "wide angle", "contour" and "street shooting". Figure 2 The first area contains fewer keywords than Figure 3 The number of keywords included in the first area. Figure 2 The configuration page in is a configuration page in the first state. Figure 3 The configuration page in is the configuration page in the second state. Figure 2 In the case of a configuration page in the first area, the user clicks the first area, or clicks the "more" option in the first area, or slides in the first area, and the electronic device displays Figure 3 The configuration page in the example above realizes the switching of the configuration page from the first state to the second state.
[0043] If the user is Figure 3 Based on the above, click on the two keywords "wide angle" and "street photography" and set them as target keywords. The two keywords "wide angle" and "street photography" are displayed in the second area of the configuration page. If the user clicks Figure 3 The “Generate” option in the following text will combine the styles of the media files represented by the two keywords “wide-angle” and “street shooting” to determine and display the first media file.
[0044] The above technical solution displays a configuration page, which includes a first area and a second area; the first area includes multiple keywords; the keywords are used to characterize the style of the media file; in response to the selection operation of the target keyword in the first area, the target keyword is displayed in the second area of the configuration page; in response to the confirmation operation instruction, the first media file is displayed in combination with the style of the media file represented by the target keyword displayed in the second area. Its essence is to display the styles of media files in the form of options for users to choose. In this way, even if the user has difficulty in describing the style of the desired media file with appropriate words due to lack of experience and inspiration, or lacks understanding of the style of the media file, the user can still determine the desired style by selecting keywords, thereby reducing the difficulty of using the media file generation technology.
[0045] Based on the above technical solution, optionally, the configuration page also includes a third area; the method also includes: collecting and generating prompt information through the third area; displaying the generated prompt information in the second area of the configuration page; S130 may include: confirming the operation instruction, combining the style of the media file represented by the target keyword displayed in the second area and the generated prompt information, and generating and displaying the first media file.
[0046] The third area is an area in the configuration page that is different from the first area and the second area, and is used to assist the user in configuring the generated prompt information. Here, the generated prompt information may be text information and / or image information.
[0047] For example, image generation is still taken as an example. Figure 4 , the configuration page includes a first area, a second area, and a third area. The first area is located below the second area, and the third area is located below the first area. The first area includes multiple keywords. If the user clicks on the two keywords "wide angle" and "street photography", the two keywords "wide angle" and "street photography" will be used as target keywords. The two keywords "wide angle" and "street photography" are displayed in the second area of the configuration page. The user enters the text information "Balloons and astronauts in childhood" in the text input box in the third area, and the text information will be displayed in the second area as generated prompt information. Then, if the user clicks Figure 4 The “Generate” option in the image will subsequently generate the first media file based on the “Wide Angle” and “Street Photography” and the text information “Balloons and Astronauts in Childhood”.
[0048] The generation prompt information is collected through the third area, and the generation prompt information is displayed in the second area of the configuration page; in response to the confirmation operation instruction, the first media file is generated and displayed in combination with the style of the media file represented by the target keyword displayed in the second area and the generation prompt information. This process actually further allows the user to edit text and / or upload images according to their own needs. The edited text and / or uploaded image will be used as the generation prompt information and participate in the media file generation process together with the target keyword, so as to achieve the combination of style experience and image generation functions, so that the generated media file further meets the user's expectations.
[0049] Based on the above technical solution, optionally, the keywords displayed in the first area of the configuration page include first-category keywords and second-category keywords; the display position of the first-category keywords is located before the display position of the second-category keywords; the first-category keywords include multiple sub-keywords, and different sub-keywords correspond to different categories; S120 may include: in response to a selection operation on the target keyword in the first area, if the target keyword is a first-category keyword, the sub-keywords included in the target keyword are displayed in the second area of the configuration page; if the target keyword is a second-category keyword, the target keyword is displayed in the second area of the configuration page.
[0050] The sub-keywords in the first category of keywords and the second category of keywords are words of the same type. For example, taking the media file as an image, the sub-keywords in the first category of keywords and the second category of keywords can both be words describing the image style, image color, image light, image portrait performance, or image scene. The main difference between the first category of keywords and the second category of keywords is that the first category of keywords is the aggregated result of multiple sub-keywords, while the second category of keywords is not an aggregated result.
[0051] Those skilled in the art can understand that when analyzing the artistic effect of a high-quality media file, it can be interpreted from multiple dimensions. Taking images as an example, when analyzing images with better visual effects, it can be analyzed from multiple dimensions such as color, light, and scene. In other words, the high-quality artistic effect of a media file is formed by the interweaving, combination, and interaction of the features (i.e., keywords) of multiple analysis dimensions. It is the combination of the features (i.e., keywords) of these analysis dimensions that results in the better artistic effect. The multiple sub-keywords in the first category of keywords have a matching relationship. When determining which keywords to use as sub-keywords in the first category of keywords, consider which keywords can be matched together to obtain a better artistic effect.
[0052] For example, see Figure 5, among the 10 keywords displayed in the configuration page, the first two keywords (i.e. "childhood dream core" and "Pop Kitten") are first-category keywords, and the remaining keywords are second-category keywords. The first-category keywords are located in the first two display positions in the first area, and the second-category keywords (i.e. the remaining keywords except "childhood dream core" and "Pop Kitten") are all located after the first-category keywords. Assuming that the first-category keyword "childhood dream core" includes two sub-keywords "dream" and "retro", if the user clicks "childhood dream core" in the first area, "dream" and "retro" will be displayed in the second area.
[0053] Furthermore, the first category of keywords may also include preset generation prompt information. The preset generation prompt information may include one or more of preset text information, preset image information, preset video information, and preset audio information. For example, it is assumed that the first category of keywords "childhood dream core" includes two sub-keywords "dream" and "retro", as well as preset text information and preset reference images. The preset text information is "XXXXX", and the preset reference image is Image A. Figure 4 If the user clicks on “Childhood Dream Core” in the first area, “Dream Core”, “Retro”, “XXXXX” and image A will be displayed in the second area.
[0054] By setting the first category of keywords to include multiple sub-keywords, if the user selects the first category of keywords, it can help the user quickly generate a media file with better artistic effect, saving the user's time in trying to match keywords. Setting the display position of the first category of keywords before the display position of the second category of keywords can facilitate users to quickly find the first category of keywords.
[0055] Furthermore, it may be configured to delete the keywords and / or the generated prompt information displayed in the second area in response to a deletion instruction for the keywords and / or the generated prompt information displayed in the second area.
[0056] Based on the above technical solution, optionally, displaying the first media file may include: displaying the first media file on a result display page and obtaining a target keyword used by the first media file.
[0057] The result display page may be, for example, a page displaying the first media file. Further, the result display page may be set to include the same account executing the technical solution provided by the present application at different times to obtain the first media file.
[0058] Furthermore, the method may also include: in response to a selection operation of a target keyword on a result display page, displaying a candidate keyword, the candidate keyword and the target keyword belonging to the same style category; the candidate keyword is not used in the process of obtaining the first media file; in response to a selection operation of a candidate keyword, the selected candidate keyword is used as a new target keyword; in combination with the style of the media file represented by the new target keyword, displaying a second media file and the target keyword used to generate the second media file on the result display page.
[0059] In practice, each style category may be set to have a corresponding keyword set, and the keyword set includes multiple keywords. In the keyword set corresponding to a certain style category, if a keyword is used as a target keyword, all the other keywords in the keyword set except the target keyword are candidate keywords. The target keyword affects the determination of the first media file. The selected candidate keyword affects the determination of the second media file.
[0060] The method of "determining the second media file in combination with the style of the media file represented by the new target keyword" is similar to the method of "determining the second media file in combination with the style of the media file represented by the target keyword" mentioned above, and will not be repeated here.
[0061] Further, the result display page includes multiple display positions; the display position of the first media file is located at the Nth display position of the result display page; displaying the second media file on the result display page includes: displaying the second media file in the Nth display position of the result display page; in response to a media file switching instruction for the Nth display position, switching the second media file to the first media file; or switching the first media file to the second media file. The essence of such a setting is that the second media file and the first media file correspond to the same display position and can be switched and displayed at the same display position.
[0062] The media file switching instruction for the Nth display position may be, for example, an instruction indicating that the user wishes to switch between multiple media files whose display position is the Nth display position. In practice, the media file switching instruction for the Nth display position may be a sliding operation or a clicking operation at the Nth display position.
[0063] For example, suppose the user is Figure 4 Based on the above, click the "Generate" option to generate the first media file based on "Wide Angle" and "Street Shot" and the text information "Balloons and Astronauts in Childhood". The first media file is image B. Figure 6, display image B and the target keywords "wide angle" and "street shot" used to generate image B on the result display page. Since the style category of "wide angle" is "scenery", the keyword set corresponding to the style category "scenery" also includes "close-up" and "telephoto". "Close-up" and "telephoto" are selected as candidate keywords corresponding to "wide angle". If the user clicks "wide angle", see Figure 6 , two candidate keywords "close-up" and "telephoto" are displayed in the drop-down list of "wide angle". If the user selects "close-up", a second media file is generated based on "close-up" and "street shot" and the text information "balloons and astronauts in childhood". Assume that the second media file is image D. Figure 7 , the image D and the target keywords "close-up" and "street shot" used to generate the image D are displayed on the result display page. Figure 6 and Figure 7 In the result display page, the display position of image B originally displayed is displayed with image D. And Figure 6 In , above image B, the target keywords used to generate image B are shown. Figure 7 In , above the image D, the target keywords used to generate the image D are displayed. Figure 7 Based on the above, if the user slides horizontally in the area occupied by image D (such as sliding to the left), a switching instruction for the media file is generated. Based on the switching instruction of the media file, image B is replaced with image D. If the user slides horizontally in the area occupied by image B again (such as sliding to the right), a switching instruction for the media file is generated. Based on the switching instruction of the media file, image D is replaced with image B.
[0064] By setting a response to the selection operation of the target keyword on the result display page, the candidate keyword is displayed; in response to the selection operation of the candidate keyword, the selected candidate keyword is used as the new target keyword; in combination with the style of the media file represented by the new target keyword, the second media file is displayed on the result display page and the target keyword used by the second media file is obtained. Its essence is to allow users to quickly experience the impact of different keywords on the generated media files on the result display page, thereby helping users to generate media files that meet expectations. To a certain extent, the second media file is obtained by changing some of the generated elements of the first media file. By setting the second media file to be displayed in the Nth display position on the result display page; in response to the media file switching instruction for the Nth display position, the second media file is switched to the first media file, which can help users understand and compare the impact of keyword changes on the artistic effects presented by the media files, thereby helping users find a keyword configuration method that can generate media files that meet expectations.
[0065] On the basis of the above-mentioned technical solutions, in response to a display instruction for an information flow page, an information flow page is displayed, and the information flow page includes multiple media file display positions; the media file display positions are used to display media files; in the information flow page, multiple media files generated by the same generation iteration sequence occupy the same media file display position.
[0066] The information flow page may be, for example, a page or area for displaying information in an information sequence. An information sequence is a data form that continuously provides content to users. An information sequence includes multiple pieces of information arranged in a certain order. The information in an information sequence may include, for example, media files. In an information flow, different media files may be created by different users. All users may view media files created by themselves or other users through the information flow page.
[0067] The same generation iteration sequence is a media file creation process that is based on the initial idea and gradually evolves through multiple rounds. In this sequence, each round will modify and optimize the generation prompt information and / or keywords required for media file generation, and generate the corresponding round of media files based on the modified generation prompt information and / or keywords. This cycle is repeated to achieve the iterative development of media files from the initial concept to a more complete and expressive direction, forming a series of media works that have internal logical connections and gradually evolve. The multiple media files produced by the same generation iteration sequence are the media files in the media work collection.
[0068] In the information flow page, multiple media files generated by the same generation iteration sequence occupy the same media file display position, which means that the multiple media files generated by the same generation iteration sequence are gathered together and occupy one display position for display. Exemplarily, a corresponding cover image can be determined for the multiple media files generated by the same generation iteration sequence. The cover image is displayed in the information flow page, and if the user selects the cover image, all media files generated by the same generation iteration sequence are displayed. This helps users understand the implementation method of gradually improving the same generation iteration sequence.
[0069] For example, see Figure 8 On the information flow page, media file 1 is marked with "43 ideas", which means that the display position is occupied by multiple media files generated by the same generation iteration sequence. The same generation iteration sequence has a total of 43 rounds of media file generation.
[0070] Based on the above technical solution, optionally, the configuration page includes an image configuration page, a video configuration page and a music configuration page; the image configuration page, the video configuration page and the music configuration page are arranged in sequence according to a preset order to form a configuration page sequence; the method may also include: in response to a second trigger operation on the currently displayed configuration page, switching the currently displayed configuration page to the next configuration page of the current configuration page in the configuration page sequence.
[0071] The configuration page currently displayed is one of an image configuration page, a video configuration page, and a music configuration page. The second trigger operation on the currently displayed configuration page may be, for example, an operation for indicating that the user wishes to switch between different configuration interfaces, which may specifically be a sliding operation (such as a horizontal sliding operation or a vertical sliding operation), a dragging operation, or a clicking operation on the currently displayed configuration page.
[0072] For example, assuming that in the configuration page sequence, the arrangement order of the configuration pages is image configuration page, video configuration page and music configuration page, if at a certain moment, see Figure 2 , the currently displayed configuration page is the image configuration page. If the user targets this configuration page (i.e. Figure 2 The second trigger operation (such as sliding to the left) is performed on the configuration page in the image configuration page to switch the image configuration page to the video configuration page. At this time, the page displayed by the electronic device is as follows Fig.10 .
[0073] This setting can achieve fast switching between different types of configuration pages, thereby helping users quickly find the configuration page they need.
[0074] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present 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.
[0075] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed 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, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0076] As an optional but non-limiting implementation, in response to receiving an active request from the user, 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. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0077] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0078] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0079] Fig.10 Schematic diagram of the structure of an interactive device in an embodiment of the present disclosure. The interactive device provided in the embodiment of the present disclosure can be configured in a client or in a server. Fig.10 , the interactive device specifically includes:
[0080] The first display module 310 is used to display a configuration page, the configuration page includes a first area and a second area; the first area includes a plurality of keywords; the keywords are used to characterize the style of the media file;
[0081] A second display module 320, configured to display the target keyword in the second area of the configuration page in response to a selection operation of the target keyword in the first area;
[0082] The third display module 330 is used to display the first media file in response to the confirmation operation instruction in combination with the style of the media file represented by the target keyword displayed in the second area.
[0083] Furthermore, the configuration page further includes a third area; the device further includes a collection module, which is used to: collect and generate prompt information through the third area;
[0084] A second display module 320, configured to display the generation prompt information in the second area of the configuration page;
[0085] The third display module 330 is used to generate and display a first media file in response to the confirmation operation instruction, combining the style of the media file represented by the target keyword displayed in the second area and the generation prompt information.
[0086] Further, the keywords displayed in the first area of the configuration page include first category keywords and second category keywords; the display position of the first category keywords is located before the display position of the second category keywords; the first category keywords include multiple sub-keywords, and different sub-keywords correspond to different categories;
[0087] The second display module 320 is used to:
[0088] In response to a selection operation on the target keyword in the first area, if the target keyword is a first category keyword, the sub-keywords included in the target keyword are displayed in the second area of the configuration page; if the target keyword is a second category keyword, the target keyword is displayed in the second area of the configuration page.
[0089] Furthermore, the third display module 330 is used to display the first media file on the result display page and obtain the target keyword used by the first media file.
[0090] Furthermore, the third display module 330 is also used for:
[0091] In response to a selection operation of the target keyword on the result display page, displaying candidate keywords, the candidate keywords and the target keyword belonging to the same genre category; the candidate keywords are not used in the process of obtaining the first media file;
[0092] In response to a selection operation on the candidate keyword, taking the selected candidate keyword as a new target keyword;
[0093] In combination with the style of the media file represented by the new target keyword, the second media file is displayed on the result display page and the target keyword used by the second media file is obtained.
[0094] Furthermore, the result display page includes multiple display positions; the display position of the first media file is located at the Nth display position of the result display page; the third display module is further used to:
[0095] Displaying the second media file in the Nth display position of the result display page;
[0096] In response to the media file switching instruction for the Nth placement position, the second media file is switched to the first media file.
[0097] Further, the display state of the configuration page includes a first state and a second state; in the first state, the number of keywords included in the first area is less than the number of keywords included in the first area in the second state; the device also includes a first switching module;
[0098] The first switching module is used to switch the display state of the configuration page from the first state to the second state in response to a first preset trigger operation on the configuration page when the display state of the configuration page is the first state.
[0099] Furthermore, the device also includes a third display module, which is used to:
[0100] In response to a display instruction for an information flow page, the information flow page is displayed, the information flow page includes multiple media file display positions; the media file display positions are used to display media files; in the information flow page, multiple media files generated by the same generation iteration sequence occupy the same media file display position.
[0101] Further, the configuration page includes an image configuration page, a video configuration page and a music configuration page; the image configuration page, the video configuration page and the music configuration page are arranged in sequence according to a preset order to form a configuration page sequence; the device also includes a second switching module for:
[0102] The second switching module is used to switch the currently displayed configuration page to a next configuration page of the current configuration page in the configuration page sequence in response to a second triggering operation on the currently displayed configuration page.
[0103] The interactive device provided in the embodiment of the present disclosure can execute the steps executed by the client or server in the interactive method provided in the embodiment of the method of the present disclosure, and has execution steps and beneficial effects, which will not be repeated here.
[0104] Fig.11 Schematic diagram of the structure of an electronic device in the embodiment of the present disclosure. Fig.11 , which shows a schematic diagram of the structure of an electronic device 1000 suitable for implementing the embodiment of the present disclosure. The electronic device 1000 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 terminals (such as vehicle navigation terminals), wearable electronic devices, etc., and fixed terminals such as digital TVs, desktop computers, smart home devices, etc. Fig.11 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0105] like Fig.11 As shown, the electronic device 1000 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1008 to a random access memory (RAM) 1003 to implement the interactive method of the embodiment described in the present disclosure. In the RAM 1003, various programs and information required for the operation of the electronic device 1000 are also stored. The processing device 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0106] Typically, the following devices may be connected to the I / O interface 1005: an input device 1006 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1007 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1008 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 may allow the electronic device 1000 to communicate with other devices wirelessly or by wire to exchange information. Although Fig.11 The electronic device 1000 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0107] 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 contains a program code for executing the method shown in the flowchart, thereby implementing the interactive method as described above. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 1009, or installed from a storage device 1008, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0108] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, 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 containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include an information signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated information signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may 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 may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0109] In some embodiments, the client and the server may communicate using any known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital information 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 known or future developed network.
[0110] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0111] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:
[0112] Displaying a configuration page, the configuration page includes a first area and a second area; the first area includes a plurality of keywords; the keywords are used to characterize the style of the media file;
[0113] In response to a selection operation of a target keyword in the first area, displaying the target keyword in the second area of the configuration page;
[0114] In response to the confirmation operation instruction, the first media file is displayed in combination with the style of the media file represented by the target keyword displayed in the second area.
[0115] Optionally, when the above one or more programs are executed by the electronic device, the electronic device may also execute other steps described in the above embodiments.
[0116] 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 separate software package, partially on the user's computer and partially on a remote computer, or entirely on a 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).
[0117] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0118] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0119] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, 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 chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0120] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. 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, 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 may 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.
[0121] According to one or more embodiments of the present disclosure, the present disclosure provides an electronic device, including:
[0122] one or more processors;
[0123] A memory for storing one or more programs;
[0124] When the one or more programs are executed by the one or more processors, the one or more processors implement any interaction method provided in the present disclosure.
[0125] According to one or more embodiments of the present disclosure, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the program implements any of the interaction methods provided by the present disclosure.
[0126] The embodiments of the present disclosure further provide a computer program product, which includes a computer program or instructions, and the computer program or instructions implement the above-mentioned interaction method when executed by a processor.
[0127] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0128] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An interactive method, characterized in that: include: Displaying a configuration page, the configuration page includes a first area and a second area; the first area includes a plurality of keywords; the keywords are used to characterize the style of the media file; In response to a selection operation of a target keyword in the first area, displaying the target keyword in the second area of the configuration page; In response to the confirmation operation instruction, the first media file is displayed in combination with the style of the media file represented by the target keyword displayed in the second area.
2. The method according to claim 1, characterized in that The configuration page also includes a third area; the method also includes: Collecting and generating prompt information through the third area; Displaying the generation prompt information in the second area of the configuration page; The method of displaying the first media file in response to the confirmation operation instruction and combining the style of the media file represented by the target keyword displayed in the second area comprises: In response to the confirmation operation instruction, a first media file is generated and displayed in combination with the style of the media file represented by the target keyword displayed in the second area and the generation prompt information.
3. The method according to claim 1, characterized in that: The keywords displayed in the first area of the configuration page include first-category keywords and second-category keywords; the display position of the first-category keywords is located before the display position of the second-category keywords; the first-category keywords include multiple sub-keywords, and different sub-keywords correspond to different categories; In response to the selection operation of the target keyword in the first area, displaying the target keyword in the second area of the configuration page includes: In response to a selection operation on the target keyword in the first area, if the target keyword is a first category keyword, the sub-keywords included in the target keyword are displayed in the second area of the configuration page; if the target keyword is a second category keyword, the target keyword is displayed in the second area of the configuration page.
4. The method according to claim 1, characterized in that: The presenting of the first media file comprises: The first media file and the target keyword used to obtain the first media file are displayed on the result display page.
5. The method according to claim 4, characterized in that Also includes: In response to a selection operation of the target keyword on the result display page, displaying candidate keywords, the candidate keywords and the target keyword belonging to the same genre category; The candidate keyword is not used in the process of obtaining the first media file; In response to a selection operation on the candidate keyword, taking the selected candidate keyword as a new target keyword; In combination with the style of the media file represented by the new target keyword, the second media file is displayed on the result display page and the target keyword used by the second media file is obtained.
6. The method according to claim 5, characterized in that The result display page includes a plurality of display positions; the display position of the first media file is located at the Nth display position of the result display page; The displaying the second media file on the result display page includes: Displaying the second media file in the Nth display position of the result display page; In response to the media file switching instruction for the Nth placement position, the second media file is switched to the first media file.
7. The method according to claim 1, characterized in that The display state of the configuration page includes a first state and a second state; in the first state, the number of keywords included in the first area is less than the number of keywords included in the first area in the second state; The method may further comprise: When the display state of the configuration page is in a first state, in response to a first preset trigger operation on the configuration page, the display state of the configuration page is switched from the first state to a second state.
8. The method according to claim 1, characterized in that Also includes: In response to a display instruction for an information stream page, display the information stream page, wherein the information stream page includes a plurality of media file display positions; The media file display position is used to display media files; In the information flow page, multiple media files generated by the same generation iteration sequence occupy the same media file display position.
9. The method according to claim 1, characterized in that: The configuration page includes an image configuration page, a video configuration page and a music configuration page; the image configuration page, the video configuration page and the music configuration page are arranged in sequence according to a preset order to form a configuration page sequence; the method further includes: In response to a second triggering operation on the currently displayed configuration page, the currently displayed configuration page is switched to a configuration page next to the current configuration page in the configuration page sequence.
10. An interactive device, characterized in that: include: A first display module is used to display a configuration page, wherein the configuration page includes a first area and a second area; the first area includes a plurality of keywords; the keywords are used to characterize the style of the media file; A second display module, configured to display the target keyword in the second area of the configuration page in response to a selection operation of the target keyword in the first area; The generating module is configured to display the first media file in response to the confirmation operation instruction and in combination with the style of the media file represented by the target keyword displayed in the second area.
11. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing 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 method according to any one of claims 1 to 9.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
Citation Information
Cited By
Interaction method and apparatus, electronic device, and storage medium
WO2026138526A1