Method and device for processing media resources

By creating a virtual 'container' to manage media resources, users can interact by simulating real operations, solving the problems of simple traditional material organization methods and insufficient storage space, improving user experience and fun, and simplifying the material management and search process.

CN119052551BActive Publication Date: 2025-09-16VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411143822.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2025-09-16
Estimated Expiration
2044-08-20

AI Technical Summary

Technical Problem

The existing way of organizing shooting materials is relatively traditional, the way of interacting with users is relatively simple and less interesting, and the storage space of mobile electronic devices is insufficient, which affects the user experience.

Method used

By creating a virtual 'container' (such as a 'jar') to manage media resources, users can interact by simulating real operations, including shaking, rotating, and reversing, to achieve automatic classification, editing, and uploading of media resources, reducing device storage space usage.

Benefits of technology

It improves the interactive experience between users and media resources, increases the fun, effectively saves storage space on mobile devices, and simplifies the material management and search process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119052551B_ABST
    Figure CN119052551B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for processing media resources, belonging to the field of communication technology. The method includes: creating a first resource storage carrier; storing a target media resource in the first resource storage carrier, wherein the target media resource is a media resource selected by a user, or the target media resource is a media resource that meets the preset storage conditions corresponding to the first resource storage carrier; receiving a first input while displaying the first resource storage carrier; generating and displaying a target simulation animation in response to the first input, and performing target processing on the media resources in the first resource storage carrier, wherein the target simulation animation is an animation that simulates the execution of an event corresponding to the first input on the first resource storage carrier, and the target processing is related to the first input.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a method and device for processing media resources. Background Art

[0002] With the development of mobile Internet technology and the popularization of smart mobile devices, users have become accustomed to using electronic devices such as mobile phones to take photos, videos, and audio recordings in their daily lives. Usage scenarios include daily selfies, recording children's growth, recording group activities or important ceremonies, etc.

[0003] In the existing technology, various scene materials shot by users are usually stored in local albums by default in the order of shooting time. Users can classify and organize photos by creating new albums or folders, or they can select some materials and call editing software to integrate these materials to obtain media resources in the form of video.

[0004] It can be seen that the existing way of organizing shooting materials is relatively traditional, the way of interacting with users is relatively simple, and the interest is relatively poor. Summary of the Invention

[0005] The purpose of the embodiments of the present application is to provide a method and device for processing media resources, which can solve the problems that the existing method of organizing shooting materials is relatively traditional, the method of interacting with users is relatively simple, and the interest is poor.

[0006] In a first aspect, an embodiment of the present application provides a method for processing media resources, which is executed by an electronic device. The method includes:

[0007] Creating a first resource storage carrier, wherein the display style of the first resource storage carrier is a container;

[0008] Storing the target media resource in the first resource storage carrier, wherein the target media resource is a media resource selected by a user, or the target media resource is a media resource that meets the preset storage conditions corresponding to the first resource storage carrier;

[0009] receiving a first input while displaying the first resource storage carrier;

[0010] In response to the first input, a target simulation animation is generated and displayed, and target processing is performed on the media resources in the first resource storage carrier, wherein the target simulation animation is an animation that simulates executing an event corresponding to the first input on the first resource storage carrier, and the target processing is related to the first input.

[0011] In a second aspect, an embodiment of the present application provides a device for processing media resources, which is provided in an electronic device, and includes:

[0012] A creation module, configured to create a first resource storage carrier, wherein the display style of the first resource storage carrier is a container;

[0013] a storage module, configured to store a target media resource into the first resource storage carrier, wherein the target media resource is a media resource selected by a user, or the target media resource is a media resource that meets a preset storage condition corresponding to the first resource storage carrier;

[0014] A first receiving module, configured to receive a first input while displaying the first resource storage carrier;

[0015] The first processing module is used to generate and display a target simulation animation in response to the first input, and perform target processing on the media resources in the first resource storage carrier, wherein the target simulation animation is an animation that simulates executing an event corresponding to the first input on the first resource storage carrier, and the target processing is related to the first input.

[0016] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method for processing media resources as described in the first aspect are implemented.

[0017] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method for processing media resources as described in the first aspect are implemented.

[0018] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the media resource processing method as described in the first aspect.

[0019] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method for processing media resources as described in the first aspect.

[0020] In an embodiment of the present application, a first resource storage carrier is created, and the display style of the first resource storage carrier is a container; a target media resource is stored in the first resource storage carrier, wherein the target media resource is a media resource selected by the user, or the target media resource is a media resource that meets the preset storage conditions corresponding to the first resource storage carrier; while displaying the first resource storage carrier, a first input is received; in response to the first input, a target simulation animation is generated and displayed, and target processing is performed on the media resources in the first resource storage carrier, wherein the target simulation animation is an animation that simulates the execution of an event corresponding to the first input on the first resource storage carrier, and the target processing is related to the first input. In this way, by creatively proposing the concept of a container to manage and store media resources, i.e., filmed materials, and designing a novel interactive method that simulates related operations on the container, the fun of users interacting with electronic devices to manage media resources can be enhanced. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 This is a flowchart of a method for processing media resources provided in an embodiment of the present application;

[0022] Figure 2 This is a schematic diagram of the interface for creating a jar and adding captured footage to the corresponding jar according to the settings provided in an embodiment of the present application;

[0023] Figure 3 This is a schematic diagram of an interactive interface for shaking a can to trigger automatic editing of footage in the can, as provided in an embodiment of the present application;

[0024] Figure 4 This is a schematic diagram of the can setting interface provided in an embodiment of the present application;

[0025] Figure 5a and Figure 5b This is a schematic diagram of an interactive interface for pouring out and displaying filmed material from a can, provided in an embodiment of the present application;

[0026] Figure 6 This is an interactive flow chart of different interactive gameplay with the can provided in the embodiment of the present application;

[0027] Figure 7 This is a structural diagram of a media resource processing device provided in an embodiment of the present application;

[0028] Figure 8 is a structural diagram of an electronic device provided in an embodiment of the present application;

[0029] Figure 9 This is a hardware structure diagram of the electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0030] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0031] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0032] To make the embodiments of the present application clearer, the following first introduces the technical background, objectives, and improvements of the embodiments of the present application:

[0033] With the development of mobile internet and the widespread adoption of smart mobile devices, using mobile devices like phones to take photos, videos, and audio has become a daily habit for every user. However, because the footage captured or recorded by ordinary users is often sporadic and incomplete, users often lack the right "container" or focus when aggregating, searching, and categorizing relevant videos, images, audio, and other media resources. Furthermore, when the amount of footage captured or recorded becomes too large, locating it becomes extremely difficult, and the storage space on mobile devices can become stretched, making it impossible to effectively record information.

[0034] For the above scenario, in the existing technology, users can select part of the materials for editing through the editing function of the editing software, and aggregate the scattered resources into a whole media content; manage resources through folder classification, use the ability of artificial intelligence to recognize images to delete similar materials, and then upload the materials to the server to further improve user query efficiency.

[0035] However, the existing solutions still have shortcomings, which are mainly reflected in the following aspects:

[0036] 1) The editing function of editing software is still a "tool" rather than a "container". Only when users have recorded the data and have needs will they use editing software such as "Da× Editing" to aggregate resources. At the same time, the new content aggregated is not associated with the original scattered resources, which affects the user experience.

[0037] 2) Managing resources through folders is too monotonous, and file management itself lacks editing and clipping capabilities, making it more of a "container" than a "tool." Furthermore, as material continues to accumulate, storage space on mobile devices becomes increasingly problematic, impacting the user experience.

[0038] 3) By adding artificial intelligence image recognition capabilities to the folder classification management of resources, deleting similar materials, and then uploading the materials to the server, the problem of insufficient storage space on mobile electronic devices can be solved, but it will affect the user's experience of the completeness and continuity of the recorded resources.

[0039] To this end, the embodiment of the present application proposes a new resource recording and interaction method, namely a new recording container, which can be called a recording "jar". Users can create a recording "jar" and put recorded media resources such as photos, videos, and audio recordings into the "jar" according to content type for content management; information recorded by different events can be put into different "jars" for content classification; the "jar" can also be associated with editing software, and the resources put into the "jar" can be reintegrated into new content as an overall information flow output for user convenience; the resources stored in the "jar" can also be uploaded to the server to free up storage space on mobile electronic devices. After that, the user only needs to operate the "jar" as needed to operate the original material or processed media content.

[0040] In summary, the embodiments of the present application have the following improvements:

[0041] First, the innovative interactive method improves the user experience of the resource classification management module, increases the interactivity between users and recorded content, and provides a more user-friendly operation experience.

[0042] Second, it is more user-friendly. It improves the user experience of editing software and makes it easier for users to aggregate, search, and analyze original and processed content.

[0043] The third is to save storage space on mobile electronic devices and reduce the storage burden of devices by uploading scattered resources to the server.

[0044] The following describes in detail the method for processing media resources provided by the embodiments of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0045] See Figure 1 , Figure 1 The flowchart of the method for processing media resources provided in the embodiment of the present application is executed by an electronic device, such as Figure 1 As shown, the method includes the following steps:

[0046] Step 101: Create a first resource storage carrier, where the display style of the first resource storage carrier is a container.

[0047] The resource storage carrier mentioned in the embodiments of the present application can be displayed in the appearance style of a container, that is, it is a container-style resource storage tool. The container referred to in the embodiments of the present application can be a new media resource recording tool, which is a new resource management tool that exists in the form of a container, different from a folder. When users use containers to record media resources, they can simulate the habits and methods of users in real life when using containers such as "cans" to interact with the container and then manage the media resources in the container. For the convenience of explanation and understanding, the embodiments of the present application are mainly explained by referring to the resource storage carrier as a "container" as an example, so the above-mentioned first resource storage carrier can be understood as the first container.

[0048] In a specific implementation, the container can be used to display and store media resources in the form of a "can" or "bottle". In some implementations, the container "can" can be an independent recording app that can be used to manage media content such as images and videos in the album, and even recordings in the voicemail.

[0049] The creation of the first resource storage carrier can be done by the system automatically creating a container, or by creating a container based on a user creation operation. The automatic creation method can be that when the system recognizes that the user is shooting a large amount of material for a specific theme event, it automatically creates a container related to the theme to store the material of the theme event shot by the user; the user creation method can be that the user creates a new container and names it. Later, the user can manually select some materials of related themes to add to the container, or set the conditions that the materials automatically stored in the container must meet at the time of creation.

[0050] For example, taking the creation of a "jar" as an example, the user can create a new "jar" in the album and name the "jar" to create a theme jar.

[0051] Step 102: Store the target media resource into the first resource storage carrier, wherein the target media resource is a media resource selected by the user, or the target media resource is a media resource that meets the preset storage conditions corresponding to the first resource storage carrier.

[0052] In this step, some target media resources can be stored in the created first resource storage medium, i.e., the first container. In some embodiments, the user can manually select desired media resources, such as images and videos captured on a particular day, or photos and videos of a particular event, and add these media resources to the first container. Alternatively, each time a photo or video is captured, the user is presented with existing containers, and the user selects the container they wish to add. The system then stores the currently captured material in the user-selected container.

[0053] In other embodiments, manual selection by the user may be eliminated, and the system may automatically add the footage, such as by smart addition. For example, based on the theme of the container created by the user, or the smart addition conditions set when creating the container, the system may automatically identify the filming materials that meet the theme of the container or the smart addition conditions of the container, and automatically add them to the corresponding container.

[0054] Optionally, after step 101 and before step 102, the method further includes:

[0055] Setting the media resource storage mode of the first resource storage carrier to a first adding mode, and setting the preset storage condition corresponding to the first adding mode;

[0056] The step 102 includes:

[0057] When the user obtains the target media resource by photographing or recording, it is determined whether the target media resource meets the preset storage condition, and if the target media resource meets the preset storage condition, the target media resource is stored in the first resource storage carrier.

[0058] That is, in some embodiments, the user can set the media resource storage method of the container when creating the container, or set or change the media resource storage method of the container after the container is created. When setting, the user can specifically choose manual addition or smart addition as the media resource storage method of the container. When setting it as smart addition, the user can also set the smart addition conditions, that is, the preset storage conditions that the media resources added to the container must meet. Therefore, when the user shoots or records media resource materials, the target media resources can be added to the container according to the set media resource storage method. It can be understood that the smart addition method is the first addition method mentioned above.

[0059] For example, Figure 2As shown, still taking the creation of a "jar" as an example, the user can create a new "jar" in the album. In the interface 20 for creating the "jar", the user can enter and edit the "jar name" and can choose how to associate the media files, that is, choose the media resource storage method. Specifically, the user can choose the "manual addition" method 21 or the "smart addition" method 22.

[0060] When the user chooses to join manually, each time a photo, video or audio is completed and before the corresponding resource file is saved, the user will be shown the existing "jars". The user can select one or more of them to save the file in the selected "jar".

[0061] When the user selects Smart Join, Figure 2 As shown, you can choose to add the media resources to the "jar" under the conditions 23, which may include time range conditions such as all materials within a certain period of time, character conditions such as all materials related to a certain character, which can be implemented by intelligently identifying characters through images, and location conditions such as all materials related to a certain location. When the material that meets the conditions is generated, that is, when taking a photo, video, or audio recording is completed, the material that meets the conditions for adding a "jar" will be directly added to the "jar". Figure 2 As shown, when the baby photo 24 taken meets the character conditions set in the “Kiss Baby” jar 25 , the baby photo 24 will be automatically added to the “Kiss Baby” jar 25 .

[0062] In this way, in this embodiment, by pre-setting the storage conditions of the container, various types of shooting materials can be automatically added to the corresponding container, that is, various media resources can be automatically and efficiently classified and stored through the container, which not only reduces the user's operation of selecting classified storage containers, but also improves the efficiency of recording and storing media resources through containers.

[0063] Step 103: Receive a first input while displaying the first resource storage medium.

[0064] The above-mentioned display of the first resource storage carrier may be an independent display of the first container on the display interface of the electronic device, or may be a simultaneous display of the first container and other containers on the display interface of the electronic device. In this case, the user can implement interactive management operations on the first container through specific input to the electronic device or to the first container, that is, the above-mentioned first input may be to the electronic device, or to the first container displayed on the display interface of the electronic device. Exemplarily, the first input may include but is not limited to inputs such as shaking, jiggling, rotating, and reversing the electronic device, and may also include but is not limited to inputs such as clicking, continuous clicking, sliding, and dragging the first container. In the embodiment of the present application, shaking and shaking can be understood as equivalent. In addition, the first input may also be voice input, air gesture input, etc., such as user voice input of the control instructions, or air manipulation of the first container.

[0065] It should be noted that, in the embodiment of the present application, the above-mentioned first input to the electronic device or the first container can be a simulation of the use operation of a real container, such as the input of shaking the electronic device is a simulation of the operation of shaking the can, the input of rotating the electronic device is a simulation of the operation of tilting the can, the input of reversing the electronic device is a simulation of the operation of reversing the can, and the input of continuously clicking the first container is a simulation of the operation of hammering the can.

[0066] Step 104: In response to the first input, generate and display a target simulation animation, and perform target processing on the media resources in the first resource storage carrier, wherein the target simulation animation is an animation that simulates executing an event corresponding to the first input on the first resource storage carrier, and the target processing is related to the first input.

[0067] Accordingly, in an embodiment of the present application, when responding to the first input, the response can also be to simulate the result of the user actually operating the real container, perform corresponding processing on the container and the media resources in the container, and generate an animation simulating the real operation of the container to vividly simulate the result of the interactive operation on the container.

[0068] That is, in step 104, in response to the first input, a corresponding animation of performing the interactive operation on the first container can be generated by simulating an event of executing the first input on the first container, and the media resources in the first container can be processed accordingly based on the specific method of the first input. In some embodiments, the specific processing method of the target processing can also be performed by simulating the result of performing the input on the first container.

[0069] Exemplarily, for inputs of shaking the electronic device, an animation simulating the shaking of a jar can be generated, and the media resources in the jar can be sorted in shuffled order, reordered, or integrated and edited; for inputs of rotating the electronic device, an animation simulating the tilting of the jar and the flow of water (actually pouring out pictures and videos) can be generated according to the tilt angle, and the media resources in the jar can be taken out, viewed, and displayed; for inputs of reversing the electronic device, an animation simulating the reversal of a large amount of water (actually pouring out a large number of pictures and videos quickly) can be generated, and the media resources in the jar can be taken out, viewed, and displayed, or transferred to the jar of other devices; for inputs of continuously clicking on the first container, an animation simulating the hammering of the jar can be generated, and the media resources in the jar can be returned to the original file storage path.

[0070] Optionally, when the first resource storage carrier and other containers are displayed on the electronic device, the method further includes:

[0071] receiving a second input to the first resource storage medium;

[0072] In response to the second input, the first resource storage carrier is enlarged and displayed, and the media resource stream in the first resource storage carrier is played in the display area of ​​the first resource storage carrier, or the first fused media resource in the first resource storage carrier is played, wherein the first fused media resource is obtained by editing the media resources in the first resource storage carrier.

[0073] In some embodiments, the user may be supported to perform other interactive inputs on the container that are not simulated container usage, such as clicking on the container to view the media resource stream in the container or quickly overview the media resource stream in the container.

[0074] The second input may include, but is not limited to, click, double-click, long press, specific gesture sliding, and the like. Playing the media resource stream in the first container may refer to sequentially and cyclically playing the original media resources stored in the first container. The original media resources refer to the unedited materials originally added to the container. Playing the first fused media resource in the first container may refer to playing a fused media resource that is the result of integrating and editing the original media resources stored in the first container. That is, the first fused media resource may be a fused video formed by editing all the original media resources stored in the first container.

[0075] For example, when the user selects a "jar" in the jar list, that is, the second input is the input of clicking to select the jar, or when the user clicks the play button in the center of the jar, Figure 3As shown, the can 30 will be enlarged and displayed in the center of the screen of the electronic device, and the central area of ​​the "can" will start to play the "material stream" therein, or generate new media content 31 previously edited by editing software.

[0076] In this way, through this implementation, users can be supported to quickly overview the media content in the container, and the resource search efficiency can also be improved.

[0077] Optionally, the first input is an input of shaking the electronic device along a first direction, and the target simulation animation is an animation of shaking the first resource storage carrier along the first direction;

[0078] The performing target processing on the media resource in the first resource storage carrier includes:

[0079] Editing the media resources in the first resource storage medium;

[0080] When the first fusion media resource is obtained through editing, the target simulation animation is stopped from being displayed, and the first fusion media resource is displayed in the display area of ​​the first resource storage carrier.

[0081] In some embodiments, the user can simulate the operation of shaking the container by shaking the electronic device, and the interactive method of shaking the container can trigger the integration and editing of the media resources in the container to generate a fused media resource such as a clipped video. The specific implementation method can be that the container supports the editing function, or is associated with editing software, so that the associated editing software can be called in response to the shaking input to perform one-click editing of the media resources in the container.

[0082] Specifically, in this embodiment, the first input may be shaking the electronic device in a first direction. The first direction may be a horizontal direction, such as shaking the electronic device left and right, or a vertical direction, such as shaking the electronic device up and down. In response to the first input, an animation simulating shaking the first container in the first direction may be generated, triggering a one-click editing of the media resources in the first container. During the editing process, a corresponding prompt may be output in the central area of ​​the first container. After the editing is complete, the simulated animation may be stopped, and the edited fused media content may be displayed in the central area of ​​the first container.

[0083] It should be noted that the shaking input signal can be detected based on the gyroscope function of the electronic device and transmitted to the controller to trigger a response to the input.

[0084] For example, Figure 3As shown, if a user wants to create new content using editing software by combining the original material previously added to the "jar," they can simply shake their phone left and right to simulate shaking a real jar. The "jar" app receives gyroscope data, and the feedback triggers the editing function. The original material in the jar is then "mixed" just like adding multiple paints to a jar in the real world. The user is prompted during the editing process, such as a prompt 32 in the center of the jar stating "Materials are being merged. Please wait..." The original material in the jar is then created into new media content 31 and displayed in the center of the "jar." Afterward, the user can play or re-edit the merged new media content 31 as needed. This interactive method significantly enhances the user experience with the editing software and is very user-friendly.

[0085] Through this implementation, users can quickly shake the electronic device to trigger one-click editing of the media content in the integrated container and quickly generate fused media content. This not only eliminates the need for users to enter the editing software, select editing materials, perform specific editing and other series of operations, but also greatly improves the management efficiency of media resources. In addition, the interaction method is novel and interesting, and this gameplay can enhance users' interest in using containers to record media resources.

[0086] Optionally, after step 102, the method further includes:

[0087] Uploading the first media resource in the first resource storage carrier to the server, and performing space release processing on the first resource storage carrier, wherein the space release processing includes at least one of the following:

[0088] Deleting part or all of the first media resources in the first resource storage medium;

[0089] compressing the media resources in the first resource storage medium;

[0090] Only the first fused media resource in the first resource storage carrier is retained, wherein the first fused media resource is obtained by editing the media resources in the first resource storage carrier;

[0091] The first media resource includes all or part of the media resources in the first resource storage carrier.

[0092] In some embodiments, considering that the materials shot by users in practice often accumulate over time and take up a lot of storage space, in order to reduce the storage space occupied by electronic devices, the media resources stored in the container can be uploaded to the server, and the space of the media resources stored in the container can be released at the same time.

[0093] Specifically, all media resources stored in the container can be uploaded to the server, or only a portion of the media resources can be uploaded to the server, such as periodically uploading footage shot a month ago. That is, the first media resource mentioned above can refer to a portion of the media resources in the first container, such as footage shot a month ago or video footage, or it can refer to all media resources.

[0094] After uploading the media resources in the first container to the server, only part of the original media resources can be retained in the first container, or only the fused media resources obtained by editing the original media resources in the first container can be retained. This can be achieved by setting retention rules, such as retaining materials shot in the last week, retaining only photos, retaining materials within a certain size, etc., or retaining a small part of the original media resources and the fused media resources at the same time, or compressing the media resources in the first container for storage so that only low-resolution original media resources are retained in the container.

[0095] In one implementation, you can also pre-set whether to upload the media resources in the container to the server. If the upload server is set, the media resources stored in the container can be automatically uploaded to the server. This can be set in the container settings interface. It should be noted that in this settings interface, you can also set whether to associate editing software, such as setting it to associate with a certain editing software that comes with the system, so that when appropriate, the associated editing software is triggered to be called to edit and integrate the media resources in the container.

[0096] For example, you can open the system settings of your phone, find the settings item for the album, and then open the "jar" from the album settings item to enter the following settings: Figure 4 The "jar" settings interface 40 shown in the figure allows users to select whether to automatically upload files added to the "jar" to the server, such as by selecting the automatic upload option 43. Furthermore, users can select the media content storage method option 42 to prioritize the use of "jars" for storing media content, and can also associate it with a specific editing software, such as by selecting the "Big X Editing" option 41.

[0097] In this way, if the user sets the automatic upload of resources in the jar to the server, only part of the original material or the cropped material will be retained in the "jar", or even if the user agrees, only the media content synthesized by "big × editing" will be retained to save device storage space.

[0098] Through this implementation, the device storage space occupied by the shooting material can be greatly reduced. By retaining some original material or edited material, users can also quickly view some original material records in the local container.

[0099] Optionally, the first input is an input of rotating the electronic device by at least a preset angle, and the target simulated animation is an animation of media resources flowing out of the first resource storage medium;

[0100] The performing target processing on the media resource in the first resource storage carrier includes:

[0101] Each media resource in the first media resource is downloaded from the server in sequence to the first resource storage medium according to a preset time sequence, and each time a media resource is downloaded, the media resource is displayed.

[0102] In some embodiments, after uploading the first media resource in the first container to the server, in order to meet the user's need to view the media resources in the container that have been uploaded to the server, the user can be supported to simulate the operation of tilting the container to pour out the items stored in the container through the rotation input of the electronic device, and the event of pouring out the stored media resources from the container for viewing can be triggered through this interactive operation. Specifically, it can trigger the downloading of the media resources in the container that have been previously uploaded to the server from the server in sequence, and the media resources downloaded each time, such as photos, can be displayed to the user for viewing.

[0103] Specifically, in this embodiment, the first input can be an input that rotates the electronic device by a certain angle. For example, rotating the electronic device vertically 180 degrees is equivalent to turning the electronic device upside down. This input simulates the operation of tilting or turning a can so that the bottle mouth is tilted or facing downward to pour out the contents of the can. Accordingly, in response to this rotation input, an animation simulating the outflow of media resources such as images and videos from the first container can be generated, and a request can be triggered from the server to download the various media resources in the container that were previously uploaded to the server for storage. Specifically, the various media resources can be downloaded sequentially according to a preset time sequence. For example, based on the user's habit of viewing captured footage, a "reverse time sequence" can be selected to download and view the various media resources in the container.

[0104] In a specific implementation, the user can also slide to view each media resource one by one. Each time the user slides to request to view the next media resource, the next media resource is downloaded from the server and displayed separately, meeting the user's needs to zoom in and view each media resource one by one.

[0105] It should be noted that the input signal for rotating the electronic device by at least a preset angle may also be detected based on the gyroscope function of the electronic device and transmitted to the controller to trigger a response to the input.

[0106] For example, Figure 5aAs shown, if the user wants to view a specific raw material in the jar, or view all the materials in it through the time flow, they only need to rotate the phone vertically 180 degrees, thereby turning the jar 50 upside down, simulating pouring water from a real jar. The "jar" application receives gyroscope data feedback to trigger network transmission, and the raw materials in the current jar are downloaded from the server in sequence. The user will view the latest media materials in the "reverse time flow". The downloaded photos are displayed separately, and the display interface 51 is as shown. Figure 5a As shown in the middle right image, swiping down on the photo triggers a download and allows you to view the next one. This viewing mode offers the advantage of faster download speeds and virtually no waiting, as the material is displayed individually.

[0107] Through this implementation, users can trigger the downloading of original materials in the container in sequence by quickly rotating or reversing the electronic device, and the download speed is fast and there is no need to wait. In addition, this interactive method is novel and interesting, and this gameplay can enhance users' interest in using containers to record media resources.

[0108] Optionally, the first input includes an input of inverting the electronic device, and an input of shaking the electronic device in a second direction after inverting the electronic device; the target simulation animation is an animation of shaking the first resource storage carrier in the second direction while the first resource storage carrier is in an inverted state and streaming media resources from the first resource storage carrier;

[0109] The performing target processing on the media resource in the first resource storage carrier includes:

[0110] All media resources in the first media resource are downloaded from the server to the first resource storage medium, and when all media resources in the first media resource are downloaded, a preview image of each media resource in the first media resource is displayed.

[0111] In other embodiments, in order to meet the user's need to quickly and centrally overview the media resources in the container that have been uploaded to the server, the user can be supported to further shake the electronic device when the electronic device is inverted to simulate the operation of shaking the container, to simulate the operation of shaking the container to quickly pour out the items stored in the container, and this interactive operation can trigger an event of quickly pouring out all the media resources stored in the container for centralized browsing, specifically, it can trigger a batch download from the server of all the media resources in the container that have been previously uploaded to the server, and after waiting for all the media resources to be downloaded, they can be displayed in a list for the user to view.

[0112] Specifically, in this embodiment, the first input can be an input of first turning the electronic device upside down, such as rotating it vertically 180 degrees, and then shaking the electronic device in the upside-down state in a second direction. The second direction can be a vertical direction, such as shaking the electronic device up and down, or a horizontal direction, such as shaking the electronic device left and right. This input simulates the operation of turning the can upside down so that the bottle mouth is tilted or facing downward, and shaking it to speed up the pouring of the contents of the can. Accordingly, in response to the turning and shaking input, an animation simulating the rapid outflow of a large number of media resources such as pictures and videos from the first container can be generated, and triggering a request from the server to download all media resources in the container that were originally uploaded to the server for storage. That is, all media resources in the container can be downloaded at one time, and then the downloaded media resources can be displayed in a unified list for the user to browse.

[0113] It should be noted that the above-mentioned inversion and shaking input signals can be detected based on the gyroscope function of the electronic device and transmitted to the controller to trigger a response to the input.

[0114] For example, Figure 5b As shown, if the user wants to browse all the media resources in the container in a list format, he only needs to continue shaking the electronic device upside down. The "jar" application receives gyroscope data feedback and downloads all the contents of the "jar". It can also output relevant prompts 52 in the center of the jar, such as prompting the user "The material is being poured out, please wait..." After all the contents in the jar are downloaded, the original material set in the jar is displayed in a list format, and the display interface 53 is as shown. Figure 5b As shown in the middle right picture.

[0115] Through this implementation, users can trigger a unified download to view all the original materials in the container by quickly turning the electronic device over and shaking it, which allows users to quickly and centrally overview the materials in the container. In addition, this interactive method is novel and interesting, and this gameplay can enhance users' interest in using containers to record media resources.

[0116] Optionally, the first input is a continuous click input on the first resource storage carrier, and the target simulation animation is an animation of hammering the first resource storage carrier and breaking the first resource storage carrier;

[0117] The performing target processing on the media resource in the first resource storage carrier includes:

[0118] The first resource storage carrier is deleted, and the media resources in the first resource storage carrier before deletion are stored back to the original storage location, wherein the original storage location is the default storage location of the media resources in the local folder.

[0119] In some embodiments, the user can also simulate the operation of hammering the container to break the container by continuously clicking on the container, and the interactive method of hammering the container can be used to trigger the destruction of the container, that is, delete the container, and return the media resources stored in the container to the original folder path, such as the album folder path where the material is stored by default during shooting.

[0120] Specifically, in this embodiment, the first input can be an input of continuously clicking on the first container, that is, the input simulates the operation of hammering the container. By accumulating a certain number of hammerings or after user confirmation, the container can be broken, thereby triggering the event of destroying the container. In this way, in response to the first input, an animation of hammering the first container can be generated. After the number of hammerings reaches a certain number or after the user is asked for confirmation, an animation simulating the breaking of the first container can be further generated, and the destruction / deletion of the first container can be triggered. Since the storage container is destroyed, the media resources originally stored in the first container need to be returned to the original storage location, such as returning the captured photos and videos to the default storage location in the local album folder.

[0121] For example, beyond the standard "jar" operation described above, there are more ways to play. When the user repeatedly clicks the "jar" to simulate hammering, a prompt box will pop up asking if they want to break the jar, preventing accidental operation. After breaking the "jar," the original material inside will be returned to the file list.

[0122] Through this implementation, the user can trigger the destruction of the container by continuously clicking on the container. This interactive method is novel and interesting, and this gameplay can enhance the user's interest in using the container to record media resources.

[0123] Optionally, the first input is an input of dragging the first resource storage carrier to a third resource storage carrier displayed on the electronic device, the display style of the third resource storage carrier is a container, and the target simulation animation is an animation of pouring the media resources in the first resource storage carrier into the third resource storage carrier;

[0124] The performing target processing on the media resource in the first resource storage carrier includes:

[0125] The media resources in the first resource storage carrier are stored in the third resource storage carrier, and the first resource storage carrier is deleted.

[0126] The third resource storage medium can be understood as a third container. In some embodiments, the user can simulate the operation of pouring items from one container into another by dragging the container to another container. This interactive method can also trigger the merging of two containers or even the re-fusion of media resources in the two containers to generate a new fused media resource.

[0127] Specifically, in this embodiment, the first input can be an input of dragging the first container to another container, namely, a second container. This input simulates the operation of pouring water from a container, thereby triggering an event of pouring the media resources in the container into the other container. Accordingly, in response to the drag input, an animation of aligning the mouth of the first container with the mouth of the second container and pouring the media resources in the first container into the second container can be generated. This can also simultaneously trigger the transfer of the media resources in the first container to the second container, and delete the first container after the transfer is complete.

[0128] In some embodiments, the first input can also trigger the editing of the media resources in the first container and the media resources in the second container to generate a new second fused media resource. That is, after the media resources in the first container are stored in the second container, editing software is further invoked to combine the media resources from the two containers to produce a new video.

[0129] For example, the user can drag one of the "jars" in the "jar" list onto another "jar", and by simulating pouring water from a jar, trigger the merging of the media resources in the two "jars", and combine the original material collections of the two "jars" to create new media content.

[0130] Through this implementation, the user can trigger the fusion of media resources in the two containers by dragging a container to another container. This interactive method is novel and interesting, and this gameplay can enhance the user's interest in using containers to record media resources.

[0131] Optionally, the electronic device is connected to a first device, a second resource storage carrier is displayed on the first device, the second resource storage carrier is displayed as a container, and the first device is in an upright state; the first input is an input for turning the electronic device upside down, and the target simulated animation is an animation of transmitting media resources in the first resource storage carrier outward;

[0132] The performing target processing on the media resource in the first resource storage carrier includes:

[0133] The media resources in the first resource storage carrier are transmitted to the first device, wherein the media resources successfully transmitted in the first resource storage carrier are stored in the second resource storage carrier.

[0134] The second resource storage carrier can be understood as a second container. In some embodiments, users can also interact with other devices that have also enabled container storage functions through the container to meet the user's needs for quickly sharing media resources in the container through interesting container interaction methods.

[0135] Specifically, the user can establish a connection between the electronic device and other devices through Bluetooth, hotspot, etc., and then open the container interface of each device. While the receiving party remains upright, the other party, as the sending party, performs an input to invert the electronic device, that is, simulates the operation of pouring the items in its container into the other party's container, and can trigger the transmission of media resources in the sender's container to the receiver's container through this interaction.

[0136] In this embodiment, the electronic device can establish a connection with a first device, and a first container is displayed on the electronic device, and a third container is displayed on the first device. When it is necessary to transmit media resources to the first device through container interaction, the first device as the receiver can remain in an upright state, even if the third container is in an upright display state. The electronic device as the sender can receive user input, specifically input to invert the electronic device, so that the electronic device is in an inverted state, which is equivalent to simulating the inversion of the first container to transmit the media resources in the first container to the third container in the first device. The first device can be a mobile electronic device such as a mobile phone or tablet like the electronic device, or it can be a different mobile electronic device.

[0137] Correspondingly, when responding to an inverted input to the electronic device while establishing a connection with the first device, an animation can be generated to transmit the media resources in the first container outward, and the transmission of the media resources in the first container to the first device can be synchronously triggered. After receiving the media resources, the first device automatically stores them in the third container.

[0138] In some embodiments, after receiving the media resources, the recipient may further edit the new media resources stored in the third container to generate a new third fused media resource. That is, after transferring the media resources in the first container to the third container of the first device, the first device further invokes editing software to combine the media resources from the two containers to produce a new video.

[0139] For example, users can also "interact" with phones that have also opened "jars." For example, if two users participating in the same event want to aggregate and edit the event content they each filmed, they only need to create a "jar" on their respective phones, shoot the material, and add it to their own "own jars." Finally, the two phones are connected via Bluetooth, hotspot, or other methods. After opening their "jars," the person who wants to receive the material only needs to turn their phone upright and wait for the other person to turn their phone upside down. After receiving the gyroscope data, the "jar" application of the upside-down party determines that a Bluetooth device is connected and attempts to transfer the material to the connected device. At this point, the receiving party only needs to agree to the transfer, and the media content sent by the sender will be automatically received in its jar. After receiving the media resources, the new media resource materials in the current container can be integrated and processed through "Big × Editing", which greatly improves production efficiency.

[0140] Through this implementation, users can interact with other devices through the container to achieve resource sharing or cross-device media resource integration. This interaction method is novel and interesting, and this gameplay can enhance users' interest in using containers to record media resources.

[0141] Optionally, the electronic device is connected to a second device, the electronic device is in an upright state, the second device is in an inverted state, and a fourth container is displayed on the second device; the method further includes:

[0142] The media resource in the fourth container transmitted by the second device to the electronic device is received, and the successfully received media resource is stored in the first resource storage carrier.

[0143] That is, corresponding to the implementation method of transmitting resources through interaction with other electronic devices through a container in the aforementioned embodiment, in some embodiments, the electronic device can also act as a receiver and, when a connection is established with a second device, wait for the interactive operation of the second device to receive the media resources in the container transmitted from the second device.

[0144] In this embodiment, the electronic device can establish a connection with a second device, and a first container is displayed on the electronic device, and a fourth container is displayed on the second device. When it is necessary to receive media resources transmitted from the second device through container interaction, the electronic device as the receiver can remain in an upright state. Even if the first container is in an upright display state, the second device as the sender can receive user input, specifically input to invert the second device, so that the second device is in an inverted state, which is equivalent to simulating the inversion of the fourth container to transfer the media resources in the fourth container to the first container in the electronic device. After receiving the media resources transmitted by the second device, the electronic device automatically stores them in the first container. The second device can be a mobile electronic device such as a mobile phone or tablet like the electronic device, or it can be a different mobile electronic device.

[0145] In some embodiments, after receiving the media resources, the electronic device, as the recipient, may further edit the new media resources stored in the first container to generate a new fourth fused media resource. Specifically, after receiving the media resources in the fourth container transmitted by the second device to the first container, the electronic device further invokes editing software to combine the media resources from the two containers to produce a new video.

[0146] Through this implementation, users can interact with other devices through the container to achieve resource sharing or cross-device media resource integration. This interaction method is novel and interesting, and this gameplay can enhance users' interest in using containers to record media resources.

[0147] Through the above implementation, through the relevant settings of the container and the interactive processing method simulating the real operation of the container, it is possible to realize the interactive processes such as intelligent aggregation, search, and classification of media resources through the container tool. Taking "jar" as an example, the corresponding interactive processes can be as follows: Figure 6 shown.

[0148] In summary, the embodiment of the present application utilizes the gyroscope function of the mobile phone to simulate the user's actual habit of using items such as "jars" to manage media resource files. Users store media resources of different categories in different "jars" to distinguish the types of materials. After the media resources are placed in the "jar", by shaking the phone, the "Big× Editing" APP can be used to aggregate the recorded content to generate a new aggregated video, compress the original material, and upload the existing recorded material to the server, saving space on the user's mobile phone and helping the user create new audio and video integrated content. In addition, the user can also re-download the recalled content from the server to the mobile phone by turning the phone 180 degrees vertically to check the original media resources. At the same time, a variety of different "play methods" can be derived based on the characteristics of the "jar".

[0149] The embodiments of this application provide users with a more intelligent and convenient way to manage media content, significantly improving the user experience of using editing applications, thereby increasing market demand and user stickiness for related services. As users' demand for aggregating, summarizing, and editing media content continues to increase, the embodiments of this application have broad market application prospects.

[0150] The method for processing media resources in the embodiment of the present application creates a first resource storage carrier, the display style of the first resource storage carrier is a container; stores the target media resource in the first resource storage carrier, wherein the target media resource is a media resource selected by the user, or the target media resource is a media resource that meets the preset storage conditions corresponding to the first resource storage carrier; receives a first input while displaying the first resource storage carrier; generates and displays a target simulation animation in response to the first input, and performs target processing on the media resources in the first resource storage carrier, wherein the target simulation animation is an animation that simulates the execution of an event corresponding to the first input on the first resource storage carrier, and the target processing is related to the first input. In this way, by creatively proposing the concept of a container to manage and store media resources, i.e., filmed materials, and designing a novel interactive method that simulates related operations on the container, the fun of users interacting with electronic devices to manage media resources can be enhanced.

[0151] The media resource processing method provided in the embodiment of the present application can be executed by a media resource processing device, which is provided in an electronic device. In the embodiment of the present application, the media resource processing device provided in the embodiment of the present application is described by taking the execution of the media resource processing method by the media resource processing device as an example.

[0152] See Figure 7 , Figure 7 A structural diagram of a media resource processing device provided in an embodiment of the present application is shown in FIG. Figure 7As shown, the media resource processing device 700 includes:

[0153] A creation module 701 is used to create a first resource storage carrier, wherein the display style of the first resource storage carrier is a container;

[0154] The storage module 702 is configured to store the target media resource in the first resource storage carrier, wherein the target media resource is a media resource selected by the user, or the target media resource is a media resource that meets the preset storage conditions corresponding to the first resource storage carrier;

[0155] A first receiving module 703 is configured to receive a first input when the first resource storage carrier is displayed;

[0156] The first processing module 704 is used to generate and display a target simulation animation in response to the first input, and perform target processing on the media resources in the first resource storage carrier, wherein the target simulation animation is an animation that simulates executing an event corresponding to the first input on the first resource storage carrier, and the target processing is related to the first input.

[0157] Optionally, the first input is an input of shaking the electronic device along a first direction, and the target simulation animation is an animation of shaking the first resource storage carrier along the first direction;

[0158] A first processing module 704 is configured to edit the media resource in the first resource storage medium;

[0159] When the first fusion media resource is obtained through editing, the target simulation animation is stopped from being displayed, and the first fusion media resource is displayed in the display area of ​​the first resource storage carrier.

[0160] Optionally, the media resource processing device 700 further includes:

[0161] The second processing module is configured to upload the first media resource in the first resource storage carrier to the server and perform space release processing on the first resource storage carrier, wherein the space release processing includes at least one of the following:

[0162] Deleting part or all of the first media resources in the first resource storage medium;

[0163] compressing the media resources in the first resource storage medium;

[0164] Only the first fused media resource in the first resource storage carrier is retained, wherein the first fused media resource is obtained by editing the media resources in the first resource storage carrier;

[0165] The first media resource includes all or part of the media resources in the first resource storage carrier.

[0166] Optionally, the first input is an input of rotating the electronic device by at least a preset angle, and the target simulated animation is an animation of media resources flowing out of the first resource storage medium;

[0167] The first processing module 704 is configured to download each of the first media resources from the server to the first resource storage medium in sequence according to a preset time sequence, and display each media resource after downloading the media resource.

[0168] Optionally, the first input includes an input of inverting the electronic device, and an input of shaking the electronic device in a second direction after inverting the electronic device; the target simulation animation is an animation of shaking the first resource storage carrier in the second direction while the first resource storage carrier is in an inverted state and streaming media resources from the first resource storage carrier;

[0169] The first processing module 704 is configured to download all media resources in the first media resource from the server to the first resource storage medium, and display a preview of each media resource in the first media resource after all media resources in the first media resource are downloaded.

[0170] Optionally, the first input is a continuous click input on the first resource storage carrier, and the target simulation animation is an animation of hammering the first resource storage carrier and breaking the first resource storage carrier;

[0171] The first processing module 704 is configured to delete the first resource storage carrier and store the media resources in the first resource storage carrier before deletion back to the original storage location, wherein the original storage location is the default storage location of the media resources in the local folder.

[0172] Optionally, the first input is an input of dragging the first resource storage carrier to a third resource storage carrier displayed on the electronic device, the display style of the third resource storage carrier is a container, and the target simulation animation is an animation of pouring the media resources in the first resource storage carrier into the third resource storage carrier;

[0173] The first processing module 704 is configured to store the media resources in the first resource storage carrier into the third resource storage carrier, and delete the first resource storage carrier.

[0174] Optionally, the electronic device is connected to a first device, a second resource storage carrier is displayed on the first device, the second resource storage carrier is displayed as a container, and the first device is in an upright state; the first input is an input for turning the electronic device upside down, and the target simulated animation is an animation of transmitting media resources in the first resource storage carrier outward;

[0175] The first processing module 704 is configured to transmit the media resources in the first resource storage carrier to the first device, wherein the media resources successfully transmitted in the first resource storage carrier are stored in the second resource storage carrier.

[0176] Optionally, the electronic device is connected to a second device, the electronic device is in an upright state, the second device is in an inverted state, and a fourth container is displayed on the second device;

[0177] The media resource processing device 700 further includes:

[0178] The second receiving module is configured to receive the media resources in the fourth container transmitted by the second device to the electronic device, and store the successfully received media resources into the first resource storage carrier.

[0179] Optionally, the media resource processing device 700 further includes:

[0180] a setting module, configured to set the media resource storage mode of the first resource storage carrier to a first adding mode, and to set the preset storage condition corresponding to the first adding mode;

[0181] The storage module 702 is used to determine whether the target media resource meets the preset storage condition when the user photographs or records the target media resource, and store the target media resource in the first resource storage carrier if the target media resource meets the preset storage condition.

[0182] Optionally, when the first resource storage carrier and other containers are displayed on the electronic device, the media resource processing device 700 further includes:

[0183] a third receiving module, configured to receive a second input to the first resource storage carrier;

[0184] The third processing module is used to respond to the second input, enlarge the display of the first resource storage carrier, and play the media resource stream in the first resource storage carrier in the display area of ​​the first resource storage carrier, or play the first fused media resource in the first resource storage carrier, wherein the first fused media resource is obtained by editing the media resources in the first resource storage carrier.

[0185] The media resource processing device 700 in the embodiment of the present application creates a first resource storage carrier, the display style of the first resource storage carrier is a container; stores the target media resource in the first resource storage carrier, wherein the target media resource is a media resource selected by the user, or the target media resource is a media resource that meets the preset storage conditions corresponding to the first resource storage carrier; receives a first input while displaying the first resource storage carrier; generates and displays a target simulation animation in response to the first input, and performs target processing on the media resources in the first resource storage carrier, wherein the target simulation animation is an animation that simulates the execution of an event corresponding to the first input on the first resource storage carrier, and the target processing is related to the first input. In this way, by creatively proposing the concept of a container to manage and store media resources, i.e., filmed materials, and designing a novel interactive method that simulates related operations on the container, the fun of users interacting with electronic devices to manage media resources can be enhanced.

[0186] The media resource processing device in the embodiments of the present application can be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other device other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., and the embodiments of the present application are not specifically limited.

[0187] The media resource processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0188] The media resource processing device provided in the embodiment of the present application can achieve Figures 1 to 6The various processes implemented by the method embodiment can achieve the same technical effect, and to avoid repetition, they will not be described here.

[0189] Alternatively, as Figure 8 As shown, an embodiment of the present application also provides an electronic device 800, including a processor 801 and a memory 802, wherein the memory 802 stores a program or instruction that can be run on the processor 801, and when the program or instruction is executed by the processor 801, the various steps of the above-mentioned media resource processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0190] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0191] Figure 9 A schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.

[0192] The electronic device 900 includes but is not limited to components such as a radio frequency unit 901 , a network module 902 , an audio output unit 903 , an input unit 904 , a sensor 905 , a display unit 906 , a user input unit 907 , an interface unit 908 , a memory 909 , and a processor 910 .

[0193] Those skilled in the art will understand that the electronic device 900 may also include a power source (such as a battery) to power each component, and the power source may be logically connected to the processor 910 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system. Figure 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be repeated here.

[0194] The processor 910 is configured to:

[0195] Creating a first resource storage carrier, wherein the display style of the first resource storage carrier is a container;

[0196] Storing the target media resource in the first resource storage carrier, wherein the target media resource is a media resource selected by a user, or the target media resource is a media resource that meets the preset storage conditions corresponding to the first resource storage carrier;

[0197] When the first resource storage carrier is displayed, controlling the user input unit 907 to receive a first input;

[0198] In response to the first input, the control display unit 906 generates and displays a target simulation animation, and performs target processing on the media resources in the first resource storage carrier, wherein the target simulation animation is an animation that simulates executing an event corresponding to the first input on the first resource storage carrier, and the target processing is related to the first input.

[0199] Optionally, the first input is an input of shaking the electronic device along a first direction, and the target simulation animation is an animation of shaking the first resource storage carrier along the first direction;

[0200] The processor 910 is further configured to:

[0201] Editing the media resources in the first resource storage medium;

[0202] When the first fusion media resource is obtained through editing, the target simulation animation is stopped from being displayed, and the first fusion media resource is displayed in the display area of ​​the first resource storage carrier.

[0203] Optionally, the processor 910 is further configured to:

[0204] Uploading the first media resource in the first resource storage carrier to the server, and performing space release processing on the first resource storage carrier, wherein the space release processing includes at least one of the following:

[0205] Deleting part or all of the first media resources in the first resource storage medium;

[0206] compressing the media resources in the first resource storage medium;

[0207] Only the first fused media resource in the first resource storage carrier is retained, wherein the first fused media resource is obtained by editing the media resources in the first resource storage carrier;

[0208] The first media resource includes all or part of the media resources in the first resource storage carrier.

[0209] Optionally, the first input is an input of rotating the electronic device by at least a preset angle, and the target simulated animation is an animation of media resources flowing out of the first resource storage medium;

[0210] The processor 910 is further configured to:

[0211] Each media resource in the first media resource is downloaded from the server in sequence to the first resource storage medium according to a preset time sequence, and each time a media resource is downloaded, the media resource is displayed.

[0212] Optionally, the first input includes an input of inverting the electronic device, and an input of shaking the electronic device in a second direction after inverting the electronic device; the target simulation animation is an animation of shaking the first resource storage carrier in the second direction while the first resource storage carrier is in an inverted state and streaming media resources from the first resource storage carrier;

[0213] The processor 910 is further configured to:

[0214] All media resources in the first media resource are downloaded from the server to the first resource storage medium, and when all media resources in the first media resource are downloaded, the display unit 906 is controlled to display a preview image of each media resource in the first media resource.

[0215] Optionally, the first input is a continuous click input on the first resource storage carrier, and the target simulation animation is an animation of hammering the first resource storage carrier and breaking the first resource storage carrier;

[0216] The processor 910 is further configured to:

[0217] The first resource storage carrier is deleted, and the media resources in the first resource storage carrier before deletion are stored back to the original storage location, wherein the original storage location is the default storage location of the media resources in the local folder.

[0218] Optionally, the first input is an input of dragging the first resource storage carrier to a third resource storage carrier displayed on the electronic device, the display style of the third resource storage carrier is a container, and the target simulation animation is an animation of pouring the media resources in the first resource storage carrier into the third resource storage carrier;

[0219] The processor 910 is further configured to:

[0220] The media resources in the first resource storage carrier are stored in the third resource storage carrier, and the first resource storage carrier is deleted.

[0221] Optionally, the electronic device is connected to a first device, a second resource storage carrier is displayed on the first device, the second resource storage carrier is displayed as a container, and the first device is in an upright state; the first input is an input for turning the electronic device upside down, and the target simulated animation is an animation of transmitting media resources in the first resource storage carrier outward;

[0222] The processor 910 is further configured to:

[0223] The media resources in the first resource storage carrier are transmitted to the first device, wherein the media resources successfully transmitted in the first resource storage carrier are stored in the second resource storage carrier.

[0224] Optionally, the electronic device is connected to a second device, the electronic device is in an upright state, the second device is in an inverted state, and a fourth container is displayed on the second device;

[0225] The processor 910 is further configured to:

[0226] The media resource in the fourth container transmitted by the second device to the electronic device is received, and the successfully received media resource is stored in the first resource storage carrier.

[0227] Optionally, after creating the first resource storage carrier and before storing the target media resource in the first resource storage carrier, the media resource storage mode of the first resource storage carrier is set to a first adding mode, and the preset storage condition corresponding to the first adding mode is set;

[0228] When the user obtains the target media resource by photographing or recording, it is determined whether the target media resource meets the preset storage condition, and if the target media resource meets the preset storage condition, the target media resource is stored in the first resource storage carrier.

[0229] Optionally, when the first resource storage carrier and other containers are displayed on the electronic device, the processor 910 is further configured to:

[0230] receiving a second input to the first resource storage medium;

[0231] In response to the second input, the control display unit 906 enlarges and displays the first resource storage carrier, and plays the media resource stream in the first resource storage carrier in the display area of ​​the first resource storage carrier, or plays the first fused media resource in the first resource storage carrier, wherein the first fused media resource is obtained by editing the media resources in the first resource storage carrier.

[0232] It should be understood that in an embodiment of the present application, the input unit 904 may include a graphics processing unit (GPU) 9041 and a microphone 9042, and the graphics processor 9041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 907 includes a touch panel 9071 and at least one of other input devices 9072. The touch panel 9071 is also called a touch screen. The touch panel 9071 may include two parts: a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and an operating stick, which will not be repeated here.

[0233] The memory 909 can be used to store software programs and various data. The memory 909 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 909 may include a volatile memory or a non-volatile memory, or the memory 909 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 909 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0234] Processor 910 may include one or more processing units. Optionally, processor 910 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 910.

[0235] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned media resource processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0236] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0237] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned media resource processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0238] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0239] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned media resource processing method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0240] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising 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, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0241] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0242] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A method for processing media resources, characterized in that: Executed by an electronic device, the method includes: Creating a first resource storage carrier, wherein the display style of the first resource storage carrier is a container; Storing the target media resource in the first resource storage carrier, wherein the target media resource is a media resource selected by a user, or the target media resource is a media resource that meets the preset storage conditions corresponding to the first resource storage carrier; receiving a first input while displaying the first resource storage carrier; In response to the first input, a target simulation animation is generated and displayed, and target processing is performed on the media resources in the first resource storage carrier, wherein the target simulation animation is an animation that simulates executing an event corresponding to the first input on the first resource storage carrier, and the target processing is related to the first input.

2. The method according to claim 1, characterized in that The first input is an input of shaking the electronic device along a first direction, and the target simulation animation is an animation of shaking the first resource storage carrier along the first direction; The performing target processing on the media resource in the first resource storage carrier includes: Editing the media resources in the first resource storage medium; When the first fusion media resource is obtained through editing, the target simulation animation is stopped from being displayed, and the first fusion media resource is displayed in the display area of ​​the first resource storage carrier.

3. The method according to claim 1, characterized in that After storing the target media resource in the first resource storage medium, the method further includes: Uploading the first media resource in the first resource storage carrier to the server, and performing space release processing on the first resource storage carrier, wherein the space release processing includes at least one of the following: Deleting part or all of the first media resources in the first resource storage medium; compressing the media resources in the first resource storage medium; Only the first fused media resource in the first resource storage carrier is retained, wherein the first fused media resource is obtained by editing the media resources in the first resource storage carrier; The first media resource includes all or part of the media resources in the first resource storage carrier.

4. The method according to claim 3, characterized in that The first input is an input of rotating the electronic device by at least a preset angle, and the target simulated animation is an animation of media resources flowing out of the first resource storage medium; The performing target processing on the media resource in the first resource storage carrier includes: Each media resource in the first media resource is downloaded from the server in sequence to the first resource storage medium according to a preset time sequence, and each time a media resource is downloaded, the media resource is displayed.

5. The method according to claim 3, characterized in that The first input includes an input of inverting the electronic device, and an input of shaking the electronic device in a second direction after inverting the electronic device; the target simulation animation is an animation of shaking the first resource storage carrier in the second direction while the first resource storage carrier is in an inverted state, and streaming media resources from the first resource storage carrier; The performing target processing on the media resource in the first resource storage carrier includes: All media resources in the first media resource are downloaded from the server to the first resource storage medium, and when all media resources in the first media resource are downloaded, a preview image of each media resource in the first media resource is displayed.

6. The method according to claim 1, wherein The electronic device is connected to a first device, a second resource storage carrier is displayed on the first device, the second resource storage carrier is displayed as a container, and the first device is in an upright state; the first input is an input for turning the electronic device upside down, and the target simulated animation is an animation of transmitting media resources in the first resource storage carrier outward; The performing target processing on the media resource in the first resource storage carrier includes: The media resources in the first resource storage carrier are transmitted to the first device, wherein the media resources successfully transmitted in the first resource storage carrier are stored in the second resource storage carrier.

7. A media resource processing device, characterized in that: Provided in an electronic device, the device comprises: A creation module, configured to create a first resource storage carrier, wherein the display style of the first resource storage carrier is a container; a storage module, configured to store a target media resource into the first resource storage carrier, wherein the target media resource is a media resource selected by a user, or the target media resource is a media resource that meets a preset storage condition corresponding to the first resource storage carrier; A first receiving module, configured to receive a first input while displaying the first resource storage carrier; The first processing module is used to generate and display a target simulation animation in response to the first input, and perform target processing on the media resources in the first resource storage carrier, wherein the target simulation animation is an animation that simulates executing an event corresponding to the first input on the first resource storage carrier, and the target processing is related to the first input.

8. The media resource processing device according to claim 7, characterized in that: The first input is an input of shaking the electronic device along a first direction, and the target simulation animation is an animation of shaking the first resource storage carrier along the first direction; The first processing module is configured to edit the media resources in the first resource storage medium; When the first fusion media resource is obtained through editing, the target simulation animation is stopped from being displayed, and the first fusion media resource is displayed in the display area of ​​the first resource storage carrier.

9. The media resource processing device according to claim 7, characterized in that: The media resource processing device further includes: The second processing module is configured to upload the first media resource in the first resource storage carrier to the server and perform space release processing on the first resource storage carrier, wherein the space release processing includes at least one of the following: Deleting part or all of the first media resources in the first resource storage medium; compressing the media resources in the first resource storage medium; Only the first fused media resource in the first resource storage carrier is retained, wherein the first fused media resource is obtained by editing the media resources in the first resource storage carrier; The first media resource includes all or part of the media resources in the first resource storage carrier.

10. The media resource processing device according to claim 9, characterized in that: The first input is an input of rotating the electronic device by at least a preset angle, and the target simulated animation is an animation of media resources flowing out of the first resource storage medium; The first processing module is configured to download each of the first media resources from the server to the first resource storage medium in sequence according to a preset time sequence, and display each media resource after downloading the media resource.

11. The media resource processing device according to claim 9, characterized in that: The first input includes an input of inverting the electronic device, and an input of shaking the electronic device in a second direction after inverting the electronic device; the target simulation animation is an animation of shaking the first resource storage carrier in the second direction while the first resource storage carrier is in an inverted state, and streaming media resources from the first resource storage carrier; The first processing module is configured to download all media resources in the first media resource from the server to the first resource storage medium, and display a preview image of each media resource in the first media resource after downloading all media resources in the first media resource is completed.

12. The media resource processing device according to claim 7, characterized in that: The electronic device is connected to a first device, a second resource storage carrier is displayed on the first device, the second resource storage carrier is displayed as a container, and the first device is in an upright state; the first input is an input for turning the electronic device upside down, and the target simulated animation is an animation of transmitting media resources in the first resource storage carrier outward; The first processing module is configured to transmit the media resources in the first resource storage carrier to the first device, wherein the successfully transmitted media resources in the first resource storage carrier are stored in the second resource storage carrier.

Citation Information

Patent Citations

  • Multimedia file management method and apparatus, electronic device, and medium

    WO2023151512A1

  • KR20200091094A