Media resource input method and apparatus, device and storage medium
By presenting and replacing media resources based on user input information during media editing, the problem of cumbersome operations in traditional methods is solved, and efficient media resource management is achieved.
Patent Information
- Application Number
- PCT/CN2025/078655
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-02-23
- Filing Date
- 2025-02-21
- Publication Date
- 2025-08-28
AI Technical Summary
In the traditional content creation process, users need to perform tedious operations when adding and replacing media resources, which increases editing costs.
By presenting multiple media resources based on user input information, allowing selection and replacement of media resources, efficient switching is achieved in the media editing window using preset operations.
Improves the efficiency of media editing and reduces the operational complexity of users when adding and replacing media resources.
Smart Images

Figure CN2025078655_28082025_PF_FP_ABST
Abstract
Description
Media resource input method, device, equipment and storage medium
[0001] This application claims priority to the Chinese invention patent application entitled “Media Resource Input Method, Apparatus, Device and Storage Medium” filed on February 23, 2024, with application number 202410202949.3, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to a method, apparatus, device, and computer-readable storage medium for inputting media resources. Background Art
[0003] With the development of computer technology, the internet has become a vital platform for people to create and share content. In this process of sharing content online, various media resources (e.g., stickers) have become a means for people to express their personalization through sharing photos, videos, and other works. People expect to use more unique and diverse media resources in their content creation process. Summary of the Invention
[0004] In a first aspect of the present disclosure, a method for inputting a media resource is provided. The method includes: presenting multiple media resources based on user input information, where the multiple media resources are determined based on the input information; adding the first media resource to a media editing window based on a selection of a first media resource from the multiple media resources; and replacing the first media resource in the media editing window with a second media resource from the multiple media resources based on at least one preset operation for the first media resource.
[0005] In a second aspect of the present disclosure, a media resource input device is provided. The device includes: a presentation module configured to present multiple media resources based on user input information, where the multiple media resources are determined based on the input information; an addition module configured to add the first media resource to a media editing window based on a selection of the first media resource from the multiple media resources; and a replacement module configured to replace the first media resource in the media editing window with a second media resource from the multiple media resources based on at least one preset operation for the first media resource.
[0006] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.
[0007] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.
[0008] It should be understood that the content described in this summary section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0010] FIG1 shows a schematic diagram of an example environment in which embodiments according to the present disclosure may be implemented;
[0011] 2A-2B illustrate example interfaces according to some embodiments of the present disclosure;
[0012] 3A to 3C illustrate example interfaces according to some embodiments of the present disclosure;
[0013] FIG4 illustrates an example interface according to some embodiments of the present disclosure;
[0014] FIG5 illustrates a flow chart of an example media resource input process according to some embodiments of the present disclosure;
[0015] FIG6 shows a schematic structural block diagram of an example media resource input device according to some embodiments of the present disclosure; and
[0016] FIG7 shows a block diagram of an electronic device capable of implementing various embodiments of the present disclosure. DETAILED DESCRIPTION
[0017] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0018] It should be noted that the titles of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and any type of embodiment may be included under any section / subsection. Furthermore, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or in different sections / subsections.
[0019] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.
[0020] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects shall comply with the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user is aware of and confirms them. Accordingly, when implementing the various embodiments of the present disclosure, the types, scope of use, and usage scenarios of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method may vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.
[0021] If this specification and the solutions in the examples involve the processing of personal information, such processing will be done only with a legitimate basis (such as with the consent of the subject of personal information or as necessary for the performance of a contract) and only within the prescribed or agreed scope. A user's refusal to process personal information other than that required for basic functions will not affect the user's use of basic functions.
[0022] When people create and share content online, media resources such as stickers are important elements used to create and process their works. However, in traditional content creation, users need to perform tedious operations when adding and replacing media resources, which greatly increases their editing costs.
[0023] Embodiments of the present disclosure provide a media resource input solution. According to this solution, multiple media resources are presented based on user input information, and the multiple media resources are determined based on the input information. Furthermore, based on a selection of a first media resource from the multiple media resources, the first media resource can be added to a media editing window. Furthermore, based on at least one preset operation for the first media resource, the first media resource in the media editing window can be replaced with a second media resource from the multiple media resources.
[0024] In this way, embodiments of the present disclosure can efficiently switch different media resources for editing, thereby improving the efficiency of media editing.
[0025] Various example implementations of this solution are described in detail below in conjunction with the accompanying drawings.
[0026] Sample Environment
[0027] FIG1 shows a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in FIG1 , the example environment 100 may include an electronic device 110 .
[0028] In this example environment 100, electronic device 110 may run an application 120 that supports interface interaction. Application 120 may be any suitable type of application for interface interaction, examples of which may include, but are not limited to, video applications, social applications, or other suitable applications. User 140 may interact with application 120 via electronic device 110 and / or its attached devices.
[0029] In the environment 100 of FIG. 1 , if the application 120 is in an active state, the electronic device 110 may present an interface 150 for supporting interface interaction through the application 120 .
[0030] In some embodiments, the electronic device 110 communicates with the server 130 to enable the provision of services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a handheld computer, a portable game terminal, a VR / AR device, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a gaming device or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.).
[0031] The server 130 may be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms. For example, the server 130 may include a computing system / server such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. The server 130 may provide background services for the application 120 that supports virtual scenes in the electronic device 110.
[0032] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired or wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the server 130 and the electronic device 110 may implement signaling interaction through the communication connection between the two.
[0033] It should be understood that the structure and function of the various elements in the environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of the present disclosure.
[0034] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0035] Example Interaction
[0036] An example interaction process according to an embodiment of the present disclosure will be described below with reference to the accompanying drawings.
[0037] 2A and 2B illustrate example interfaces 200A and 200B according to some embodiments of the present disclosure. The interfaces 200A and 200B may be provided by the electronic device 110 shown in FIG. 1 .
[0038] As an example, the interface 200A may be a media editing interface for editing media content. The electronic device 110 may present the panel 280 in the interface 200A based on a user's request to add a media resource.
[0039] It should be understood that FIG2A uses stickers as an example of media resources, but media resources may also include any other appropriate media resources with visual content, including but not limited to static images, dynamic images, artistic text, emoticon resources, etc.
[0040] As shown in Figure 2A, after receiving a preset operation from the user, the electronic device 110 can call up a panel 280 in the interface 200A. As shown in Figure 2A, in the panel 280, the electronic device 110 can provide an input control 210. The input control 210 can be, for example, any appropriate type of control for inputting information.
[0041] Input control 210 can receive input information entered by the user. The input information can be a description of the sticker that the user desires to add to the media work. The input information can include nouns representing people or objects, verbs representing actions related to people or objects, adjectives, etc. The input information can be, for example, "a cat drinking water," "a cute puppy," "a little girl spinning in a skirt," etc., to meet the user's personalized creation of the media work.
[0042] The following specific embodiments further describe the exemplary process of the present disclosure by taking the example of input information being a “smiley face”.
[0043] As shown in FIG2A , in panel 280 , electronic device 110 receives input information, such as the text “smiley face,” inputted by a user in input control 210. Furthermore, electronic device 110 may receive a click of control 211 by the user and correspondingly provide multiple stickers determined based on the input information, including sticker 220-1, sticker 220-2, sticker 220-3, and sticker 220-4 (individually or collectively referred to as stickers 220).
[0044] In some embodiments, stickers 220 may be determined by electronic device 110 and / or server 130 based on input information (e.g., “smiley face”). As an example, electronic device 110 may search for local sticker resources or cloud sticker resources that match the input information based on the input information, and present the search results in panel 280.
[0045] In other embodiments, media resources (e.g., stickers 220) may also be generated using a model. Specifically, electronic device 110 and / or server 130 may generate a guide item to the model based on input information and may provide the guide item to the model. Furthermore, electronic device 110 and / or server 130 may obtain media resources, such as stickers 220, generated by the model based on the guide item.
[0046] In some embodiments, the stickers 220 may include stickers that are searched based on the input information and stickers that are generated based on the input information.
[0047] In some embodiments, the number of generated stickers displayed on the panel 280 may be limited to a preset threshold. For example, the number of stickers displayed on the panel 280 may be set to 4.
[0048] As shown in FIG2B , electronic device 110 may receive a user's selection instruction for sticker 220-2. Furthermore, electronic device 110 may add the selected sticker 220-2 to media editing window 270. For example, electronic device 110 may add sticker 220-2 to a user-specified location. For example, media editing window 270 of electronic device 110 may display the media work with sticker 220-2 added, presenting a preview of the media work to be edited.
[0049] In some embodiments, the electronic device 110 may further support adding multiple media resources to the media editing window 270. For example, the electronic device 110 may support the user to input new information to obtain stickers or other types of media resources, and may add the corresponding media resources to the media editing window 270.
[0050] As another example, the electronic device 110 may also support the user to select multiple stickers at one time from the stickers 220 provided by the panel 280 to add to the media editing window 270 .
[0051] The following further describes an example interaction process with reference to Figures 3A to 3C. Figures 3A to 3C illustrate example interfaces 300A to 300C according to some embodiments of the present disclosure. Interfaces 300A to 300C may be provided by the electronic device 110 shown in Figure 1. Each of interfaces 300A to 300C displays a media work (the specific content of the media work is not shown in the figure), covers the entire interface, and is in an editing state.
[0052] As shown in FIG3A , electronic device 110 may receive a user's selection instruction for added sticker 220-2 in media editing window 270. Based on the selection of added sticker 220-2, electronic device 110 may display setting panel 315. Setting panel 315 includes replacement entry 315-3, through which user may enter selection panel 310 to replace sticker 220-2.
[0053] In some embodiments, the settings panel 315 may also include other interactive portals. For example, the settings panel 315 may also include a fixed portal 315-1 and a duration setting portal 315-2. The fixed portal 315-1 and the duration setting portal 315-2 may be used to edit other items of the media work to which the sticker has been added.
[0054] As shown in FIG. 3A , the electronic device 110 may display a replacement entry 315 - 3 through an icon, with the word “Switch” displayed on the icon, to guide the user to use the entry to replace the sticker.
[0055] In addition, since multiple media resources can be added to a media work, when the settings panel 315 is called up by selecting an added media resource in the media editing window 270, the electronic device 110 can highlight the added media resource. For example, assuming that sticker 220-1 and sticker 220-2 are added to the media work in the media editing window 270, when sticker 220-2 is selected to call up the settings panel 315, the selected state can be indicated by adding a dotted box as shown in Figure 3A to sticker 220-2. The highlighted display of the selected state can be clearly distinguished from the display state of other stickers (such as sticker 220-1) added to the current media work.
[0056] 3B , in response to receiving a selection of replacement entry 315-3, electronic device 110 may display selection panel 310. For example, selection panel 310 may be located at the bottom of media editing window 270. In another embodiment, selection panel 310 may be located at any appropriate location, such as a side of media editing window 270.
[0057] In some embodiments, the selection panel 310 may be used to display at least some of the multiple media resources provided by the display panel 280 based on the input information, so as to enable the user to quickly switch to other media resources corresponding to the input information.
[0058] As an example, as shown in FIG3B , the selection panel 310 of the electronic device 110 can display some or all of the plurality of stickers 220 provided in the panel 280. Specifically, the number of stickers 220 displayed can be determined according to the display size of the selection panel 310. For example, if the panel 280 provides a large number of stickers 220, the electronic device 110 can allow the user to view other stickers that are not displayed by sliding in the selection panel 310.
[0059] 3B , the selection panel 310 may highlight the selected sticker 220 - 2 to be replaced. For example, the sticker 220 - 2 may have a color style, a border style, etc. that are different from those of the other stickers 220 .
[0060] Furthermore, the electronic device 110 may receive a user instruction to select another sticker in the selection panel 310 to replace the sticker 220-2 already added to the media editing window 270. As shown in FIG3C , the electronic device 110 receives a user instruction to select the sticker 220-3 in the selection panel 310 and replaces the original sticker 220-2 with the sticker 220-3.
[0061] In some embodiments, the position of the replaced sticker 220-3 may remain the same as the position of the original sticker 220-2. Alternatively, the electronic device 110 may receive a position change of the replaced sticker 220-3 by the user.
[0062] Furthermore, when the electronic device 110 receives a user selection instruction for the sticker 220 - 3 in the selection panel 310 to replace the original sticker 220 - 2 , the electronic device 110 may switch to highlighting the sticker 220 - 3 in the selection panel 310 .
[0063] In another embodiment, the selection panel 310 may display only a portion of the stickers 220 corresponding to the input information at a time. For example, when the electronic device 110 receives a user's call to the selection panel 310, the selection panel 310 may display only the sticker 220-2 to be replaced.
[0064] In some embodiments, the electronic device 110 can display different stickers accordingly by receiving left and right swipes from the user on the selection panel 310. For example, when sticker 220-2 is currently displayed, the electronic device 110 can receive a left swipe from the user on the selection panel 310 to display the next sticker 220-3, and the electronic device 110 can also receive a right swipe from the user on the selection panel 310 to display the previous sticker 220-1. In this case, the single sticker displayed each time by the selection panel 310 is the sticker to be replaced. For example, the electronic device 110 can receive a click from the user on the sticker 220-3 displayed on the selection panel 310, thereby replacing the sticker 220-2 originally added in the media editing window 270 with sticker 220-3.
[0065] In yet another embodiment, the selection panel 310 supports the user to swipe upward from the bottom to reveal more stickers.
[0066] The above describes an example interaction for switching stickers in conjunction with panel 310. In some embodiments, electronic device 110 can also support the user to quickly switch added stickers based on other appropriate interactive operations. As an example, when sticker 220-2 is in the selected state, electronic device 110 can, for example, replace sticker 220-2 with another sticker from the multiple stickers provided by panel 280 based on the user's sliding operation in a predetermined area.
[0067] Alternatively, the electronic device 110 may also provide controls such as “replace with next one” or “replace with previous one” to support the user to quickly replace the sticker with another sticker from the multiple stickers.
[0068] The above describes the example interactive process of media resource replacement with respect to sticker 220-2 as an example. In some embodiments, when other added media resources are included in the media editing window, such media resources may also support replacement through such an interactive manner.
[0069] As an example, the electronic device 110 may allow the user to obtain a corresponding set of emoticon resources through the description text, and may add the first emoticon resource in the emoticon resources to the media editing window. Furthermore, the electronic device 110 may allow the user to trigger the replacement of the first emoticon resource based on a similar interaction process as described above, and replace it with another emoticon resource in the set of emoticon resources corresponding to the description text.
[0070] Based on this approach, the embodiments of the present disclosure can avoid the user from re-searching / generating corresponding media resources, thereby improving the efficiency of adding media resources and editing media works.
[0071] In some embodiments, stickers added to a media work are considered used stickers, and the electronic device 110 will store these stickers locally. For example, even if the media work has not yet been published or has been abandoned, as long as the stickers have been added to the media work, they are considered used stickers. The electronic device 110 can store the used stickers in a local preset sticker library, allowing the user to search directly from the sticker library when they want to use them again, effectively improving the user's search efficiency for reusable stickers.
[0072] In another embodiment, all stickers generated once and displayed on the panel 280 will be added to the historical generation record, so that the user can directly search for the generated stickers for use, avoiding regeneration and saving the user's search time.
[0073] In some embodiments, the historical generation record may display the generated stickers in reverse order of generation time.
[0074] In some embodiments, the electronic device 110 may also receive a user's request to publish a media work and publish the media work accordingly. For example, the published media work may include media resources added or replaced by the process described above.
[0075] 4 illustrates an example interface 400 according to some embodiments of the present disclosure. Interface 400 may be, for example, a viewing interface for a published media work 410. Interface 400 may be provided by an appropriate electronic device 110, which may be the same as or different from the electronic device 110 used to edit and publish the media work 410.
[0076] As shown in Figure 4, media work 410 includes stickers 420 added based on user input information. In some embodiments, when stickers 420 are generated based on the input information using a model, electronic device 110 may also present an indicator element 430 associated with stickers 420 in viewing interface 400 of media work 410 to indicate that stickers 420 are generated based on the user input information using a model.
[0077] In some embodiments, indicator element 430 may be configured to direct to a resource generation panel, which is configured to provide media resources generated based on received input information. For example, when a user viewing media work 410 views interface 400, the corresponding client may present the resource generation panel based on the user's selection of indicator element 430. For example, the resource generation panel may refer to the description of panel 280 shown in FIG. 2A .
[0078] Specifically, the resource generation panel can be used to display media resources generated based on received input information, so as to facilitate users to add them to the media work.
[0079] It should be understood that although the above interactive process is described using stickers as an example, the above interactive process can also be applied to any other appropriate media resources, such as static images, dynamic images, artistic text, emoticon resources, etc.
[0080] Based on the process described above, the embodiments of the present disclosure can efficiently switch different media resources corresponding to the same input information for editing during the editing process of a media work, thereby improving the efficiency of media editing.
[0081] Example Process
[0082] FIG5 shows a flow chart of an example media resource input process 500 according to some embodiments of the present disclosure. The process 500 may be implemented at the electronic device 110. The process 500 is described below with reference to FIG1.
[0083] As shown in the figure, in block 510 , the electronic device 110 presents a plurality of media resources based on user input information, where the plurality of media resources are determined based on the input information.
[0084] In block 520 , the electronic device 110 adds the first media asset to the media editing window based on the selection of the first media asset from among the plurality of media assets.
[0085] In block 530 , based on at least one preset operation on the first media asset, the first media asset in the media editing window is replaced with a second media asset from the plurality of media assets.
[0086] In some embodiments, based on at least one preset operation for the first media resource, replacing the first media resource in the media editing window with the second media resource among multiple media resources includes: based on the selection of the first media resource, presenting at least one other media resource among multiple media resources; and based on the selection of the second media resource among at least one other media resource, replacing the first media resource in the media editing window with the second media resource.
[0087] In some embodiments, presenting at least one other media resource among the plurality of media resources includes: presenting an alternative portal based on selection of the first media resource; and presenting at least one other media resource among the plurality of media resources based on selection of the alternative portal.
[0088] In some embodiments, presenting at least one other media resource among the plurality of media resources includes presenting the plurality of media resources in a selection panel, wherein the first media resource is highlighted in the selection panel.
[0089] In some embodiments, adding the first media asset in the media editing window includes: adding the first media asset and the at least one third media asset in the media editing window based on selection of the first media asset and the at least one third media asset from the plurality of media assets.
[0090] In some embodiments, the input information is first input information, and process 500 also includes: displaying the added fourth media resource in the media editing window, where the fourth media resource is determined based on the second input information, and the second input information is different from the first input information; and based on the selection of the fourth media resource, replacing the fourth media resource with a fifth media resource corresponding to the second input information.
[0091] In some embodiments, process 500 further includes publishing the media work, the media work including the replaced second media asset.
[0092] In some embodiments, the plurality of media resources are generated by a model based on input information. In some embodiments, the playback interface of the media work is configured to present an indicator element associated with the second media resource, the indicator element being used to indicate that the second media resource is generated by the model.
[0093] In some embodiments, the indication element is configured to: direct to a resource generation panel configured to provide a media resource generated based on the received input information.
[0094] Example devices and equipment
[0095] Embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. FIG6 shows a schematic structural block diagram of an exemplary media resource input device 600 according to certain embodiments of the present disclosure. The device 600 can be implemented as or included in the electronic device 110. The various modules / components in the device 600 can be implemented by hardware, software, firmware, or any combination thereof.
[0096] As shown in Figure 6, the device 600 includes a presentation module 610, which is configured to present multiple media resources based on user input information, and the multiple media resources are determined based on the input information; an addition module 620, which is configured to add the first media resource in the media editing window based on the selection of the first media resource among the multiple media resources; and a replacement module 630, which is configured to replace the first media resource in the media editing window with the second media resource among the multiple media resources based on at least one preset operation for the first media resource.
[0097] In some embodiments, the replacement module 630 is configured to: present at least one other media resource from multiple media resources based on a selection of the first media resource; and replace the first media resource in the media editing window with the second media resource based on a selection of a second media resource from at least one other media resource.
[0098] In some embodiments, the replacement module 630 includes a replacement portal presentation module configured to: present a replacement portal based on the selection of the first media resource; and present at least one other media resource among the plurality of media resources based on the selection of the replacement portal.
[0099] In some embodiments, the alternative portal presentation module is further configured to: present a plurality of media resources in a selection panel, wherein a first media resource is highlighted in the selection panel.
[0100] In some embodiments, the adding module 620 is further configured to add the first media asset and the at least one third media asset in the media editing window based on the selection of the first media asset and the at least one third media asset from the plurality of media assets.
[0101] In some embodiments, the input information is first input information, and the device 600 also includes an adding module, which is configured to: display the added fourth media resource in the media editing window, where the fourth media resource is determined based on the second input information, and the second input information is different from the first input information; and based on the selection of the fourth media resource, replace the fourth media resource with a fifth media resource corresponding to the second input information.
[0102] In some embodiments, the apparatus 600 further includes a publishing module configured to: publish the media work, where the media work includes the replaced second media resource.
[0103] In some embodiments, the plurality of media resources are generated by a model based on input information. In some embodiments, the playback interface of the media work is configured to present an indicator element associated with the second media resource, the indicator element being used to indicate that the second media resource is generated by the model.
[0104] In some embodiments, the indication element is configured to: direct to a resource generation panel configured to provide a media resource generated based on the received input information.
[0105] FIG7 shows a block diagram of an electronic device 700 in which one or more embodiments of the present disclosure may be implemented. It should be understood that the electronic device 700 shown in FIG7 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 700 shown in FIG7 can be used to implement the electronic device 110 of FIG1 .
[0106] As shown in FIG7 , electronic device 700 is a general-purpose electronic device. Components of electronic device 700 may include, but are not limited to, one or more processors or processing units 710, memory 720, storage device 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. Processing unit 710 may be a real or virtual processor and is capable of performing various processes according to programs stored in memory 720. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to enhance the parallel processing capabilities of electronic device 700.
[0107] The electronic device 700 typically includes a plurality of computer storage media. Such media can be any accessible media that can be obtained by the electronic device 700, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 720 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 730 can be a removable or non-removable medium and can include a machine-readable medium, such as a flash drive, a disk, or any other medium that can be used to store information and / or data and can be accessed within the electronic device 700.
[0108] The electronic device 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 7 , a disk drive for reading from or writing to a removable, non-volatile disk (e.g., a “floppy disk”) and an optical drive for reading from or writing to a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data media interfaces. The memory 720 may include a computer program product 725 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.
[0109] The communication unit 740 enables communication with other electronic devices via a communication medium. Additionally, the functions of the components of the electronic device 700 can be implemented as a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the electronic device 700 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0110] Input device 750 may be one or more input devices, such as a mouse, keyboard, or trackball. Output device 760 may be one or more output devices, such as a display, a speaker, or a printer. Electronic device 700 may also communicate with one or more external devices (not shown) via communication unit 740 as needed, such as storage devices, display devices, or the like, with one or more devices that allow a user to interact with electronic device 700, or with any device that allows electronic device 700 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0111] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0112] Various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.
[0113] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, such that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0114] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0115] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple implementations of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part for a module, program segment or instruction, and a part for a module, program segment or instruction comprises one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0116] While various implementations of the present disclosure have been described above, the foregoing description is intended to be illustrative, not exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is selected to best explain the principles of the implementations, their practical applications, or improvements to existing technologies, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. A method for inputting media resources, comprising: Based on user input information, presenting a plurality of media resources, wherein the plurality of media resources are determined based on the input information; Based on the selection of a first media resource from the plurality of media resources, adding the first media resource in a media editing window; as well as Based on at least one preset operation on the first media resource, the first media resource in the media editing window is replaced with a second media resource from the plurality of media resources.
2. The method according to claim 1, wherein, based on at least one preset operation on the first media resource, replacing the first media resource in the media editing window with a second media resource from the plurality of media resources comprises: Based on the selection of the first media resource, presenting at least one other media resource from the plurality of media resources; as well as Based on selection of a second media resource among the at least one other media resource, the first media resource in the media editing window is replaced with the second media resource.
3. The method of claim 2, wherein presenting at least one other media resource among the plurality of media resources comprises: presenting an alternative entry based on the selection of the first media resource; as well as Based on the selection of the replacement entry, at least one other media resource among the plurality of media resources is presented.
4. The method according to claim 2, wherein presenting at least one other media resource among the plurality of media resources further comprises: The plurality of media assets are presented in a selection panel, wherein the first media asset is highlighted in the selection panel.
5. The method according to claim 1, wherein adding the first media resource in the media editing window comprises: Based on the selection of the first media resource and the at least one third media resource from the plurality of media resources, the first media resource and the at least one third media resource are added in the media editing window.
6. The method according to claim 1, wherein the input information is first input information, the method further comprising: displaying the added fourth media resource in the media editing window, where the fourth media resource is determined based on second input information, where the second input information is different from the first input information; as well as Based on the selection of the fourth media resource, the fourth media resource is replaced with a fifth media resource corresponding to the second input information.
7. The method according to claim 1, further comprising: A media work is published, the media work including the replaced second media asset. The method of claim 7 , wherein the plurality of media resources are generated by a model based on the input information.
9. The method according to claim 8, wherein the playback interface of the media work is configured to present an indication element in association with the second media resource, the indication element being used to represent that the second media resource is generated by the model, and the indication element being configured to guide to a resource generation panel, the resource generation panel being configured to provide media resources generated based on the received input information.
10. A method for inputting media resources, comprising: Receive user input information; Determining a plurality of media resources based on the input information; receiving a selection instruction for a first media resource among the plurality of media resources; Add the first media resource in the media editing window; receiving at least one preset operation instruction of the first media resource; as well as The first media resource in the media editing window is replaced with a second media resource among the multiple media resources.
11. The method according to claim 10, wherein replacing the first media asset in the media editing window with a second media asset from the plurality of media assets comprises: receiving a selection instruction for the first media resource; determining at least one other media resource among the plurality of media resources; receiving a selection instruction for a second media resource among the at least one other media resource; and The first media resource in the media editing window is replaced with the second media resource.
12. The method of claim 11, wherein determining at least one other media resource among the plurality of media resources comprises: receiving a selection instruction for the first media resource; receiving a selection instruction for a replacement entry provided based on the selection instruction; as well as At least one other media resource among the plurality of media resources is determined.
13. The method according to claim 10, wherein adding the first media resource in the media editing window comprises: receiving a selection instruction for the first media resource and at least one third media resource among the plurality of media resources; as well as The first media resource and the at least one third media resource are added in the media editing window.
14. The method according to claim 10, wherein the input information is first input information, the method further comprising: providing, in the media editing window, a fourth media resource that has been added, where the fourth media resource is determined based on second input information, where the second input information is different from the first input information; receiving a selection instruction for the fourth media resource; as well as The fourth media resource is replaced with a fifth media resource corresponding to the second input information.
15. The method according to claim 10, further comprising: A media work is published, the media work including the replaced second media asset. The method of claim 15 , wherein the plurality of media assets are generated by a model based on the input information.
17. A method according to claim 16, wherein the playback interface of the media work is configured to present an indication element in association with the second media resource, the indication element is used to represent that the second media resource is generated by the model, and the indication element is configured to guide to a resource generation panel, and the resource generation panel is configured to provide media resources generated based on the received input information.
18. A media resource input device, comprising: a presentation module configured to present a plurality of media resources based on user input information, wherein the plurality of media resources are determined based on the input information; an adding module, configured to add a first media resource from the plurality of media resources to the media editing window based on a selection of the first media resource; as well as The replacement module is configured to replace the first media resource in the media editing window with a second media resource among the multiple media resources based on at least one preset operation for the first media resource.
19. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the electronic device to perform the method according to any one of claims 1 to 9 or 10 to 17.
20. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 9 or 10 to 17.
Citation Information
Patent Citations
Media resource input method and device, equipment and storage medium
CN120540565A
Media content publishing method and device, electronic equipment and storage medium
CN116600164A
Method and device for determining interactive resources, equipment and storage medium
CN117177021A
Method and device for displaying works, equipment and storage medium
CN117492601A