A method for sharing media resources and an electronic device
By providing sharing controls and auto-save functionality in the camera app's preview interface, the problem of complex video sharing operations for users is solved, achieving a more efficient video sharing process.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2022-02-18
- Publication Date
- 2026-07-31
AI Technical Summary
In existing technologies, sharing videos after a user has captured them using an electronic device is a complex and inefficient process.
When displaying a video preview in the camera app, a sharing control is provided directly. Users can trigger sharing from the preview interface, avoiding the need to access the gallery app. The video is also automatically saved after shooting for easy sharing.
It simplifies the process of users sharing videos, improves sharing efficiency, reduces user operation steps, and enhances user experience.
Smart Images

Figure CN115480676B_ABST
Abstract
Description
[0001] This application claims priority to Chinese Patent Application No. 202110676709.3, filed with the State Intellectual Property Office of China on June 16, 2021, entitled "A User Video Creation Method and Electronic Device Based on Storyline Mode", and Chinese Patent Application No. 202111437225.X, filed with the State Intellectual Property Office of China on November 29, 2021, entitled "A Media Resource Sharing Method and Electronic Device", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of electronic devices, and more particularly to a media resource sharing method and an electronic device. Background Technology
[0003] Currently, mobile phones, tablets, and other electronic devices are generally equipped with multiple cameras, such as front-facing cameras, rear-facing cameras, and wide-angle cameras. To enhance the creative shooting experience, more and more electronic devices support simultaneous shooting by multiple cameras, such as multi-lens recording mode, allowing users to capture wonderful moments, touching scenes, and other beautiful images.
[0004] After a user completes the recording using an electronic device, the device can also share the recorded video with other users. Summary of the Invention
[0005] This application provides a media resource sharing method and electronic device, which can reduce the number of operations a user performs when sharing media resources captured by an electronic device and improve the user experience.
[0006] In some examples, when a user needs to share media resources, such as videos, captured by an electronic device, the user must first save the video on the device. After saving the video, the user can access the device's gallery application to share it. This makes sharing videos from electronic devices relatively complicated, resulting in low efficiency.
[0007] In a first aspect, embodiments of this application provide a media resource sharing method applied to an electronic device. The method may include: the electronic device activating its camera and displaying a first preview interface in response to a user's triggering operation on a camera application icon; the electronic device obtaining a first media resource in response to a user's triggering operation on the shooting control; the electronic device displaying a first interface including a preview of the first media resource and a first sharing control; the electronic device saving the first media resource in response to a user's triggering operation on the first sharing control; displaying a first sharing pop-up window after the first media resource is saved, the first sharing pop-up window including multiple icons; and the electronic device sharing the first media resource through the device corresponding to the first icon in response to a user's triggering operation on the first icon among the multiple icons.
[0008] Based on the media resource sharing method described in the first aspect, when an electronic device finishes shooting a video using a camera application, the electronic device can display a preview interface of the video in the camera application. This interface can include a sharing control, which the user can trigger to share the video. Compared to the prior art where the user first saves the video on the electronic device and then accesses the device's gallery application to share it, the solution in this application allows sharing via the sharing control included in the camera application, eliminating the need to access the device's gallery application. This reduces the user's operations when sharing videos shot on the electronic device, improves the user experience, and increases the efficiency of sharing media resources. Furthermore, the solution in this application automatically saves the media resources shot on the electronic device when sharing them, and then shares the saved media resources, further reducing the user's operations.
[0009] In conjunction with the first aspect, in another possible implementation, the electronic device saving the first media resource may include: the electronic device displaying a first prompt window, the first prompt window being used to prompt the user that the electronic device is saving the first media resource.
[0010] Based on this possible implementation, the electronic device displays a prompt window indicating that the electronic device is saving the recorded media resources, which can make it easy for the user to know that the electronic device has saved the recorded media resources.
[0011] In conjunction with the first aspect, in another possible implementation, the first sharing pop-up may further include a first cancellation control, which is used to trigger the electronic device to cancel sharing the first media resource. The media resource sharing method may further include: the electronic device displaying a first interface in response to the user's triggering operation on the first cancellation control; the first interface further including a first return control; the electronic device displaying a first preview interface in response to the user's triggering operation on the first return control if the electronic device has not modified the first media resource; and displaying a second prompt window in response to the user's triggering operation on the first return control, the second prompt window being used for the user to confirm whether to save the modified first media resource; the second prompt window including a confirmation option; and the electronic device saving the modified first media resource and displaying the first preview interface in response to the user's triggering operation on the confirmation option.
[0012] Based on this possible implementation, users can cancel sharing of recorded media resources from their electronic devices and return to the camera to re-shoot. When re-shooting, if the user hasn't modified the recorded media resources, since the resources are already saved on the electronic device, it can directly return to the camera to re-shoot without reminding the user to save them again. If the user has modified the recorded media resources, the electronic device can remind the user to save the changes, thus preventing users from forgetting to save modified media resources and improving the user experience.
[0013] In conjunction with the first aspect, in another possible implementation, after the electronic device displays the first interface, the media resource sharing method may further include: the electronic device responding to a user's triggering operation on the first sharing control, displaying a first sharing pop-up if the electronic device has not modified the first media resource; and displaying a second prompt window if the electronic device has modified the first media resource; the second prompt window includes a confirmation option; and the electronic device responding to a user's triggering operation on the confirmation option, saving the modified first media resource, and displaying the first sharing pop-up.
[0014] Based on this possible implementation, users can share media resources captured by their electronic devices again. When sharing captured media resources again, if the user hasn't modified them, the electronic device can directly display a share pop-up and share the media resources since they are already saved on the device, without needing to remind the user to save them again. If the user has modified the captured media resources, the electronic device can automatically save them and then share the saved media resources, thus reducing user operations.
[0015] In conjunction with the first aspect, in another possible implementation, after the electronic device has shared the first media resource through the first application, the media resource sharing method may further include: the electronic device displaying a first preview interface.
[0016] Based on this possible implementation, after the electronic device has completed sharing the captured media resources, it can display a viewfinder interface that has not yet started shooting, allowing the user to shoot again using the electronic device, thus improving the user experience.
[0017] In conjunction with the first aspect, in another possible implementation, the aforementioned first preview interface may further include a first template control, and the aforementioned media resource sharing method may further include: the electronic device responding to the user's triggering operation on the template control and displaying a first template pop-up window; wherein, the first template pop-up window includes multiple template options, each template option corresponding to a shooting template, the shooting template being used to add audio and video effects to the media resources shot by the electronic device; the electronic device responding to the user's selection operation on the target template option in the first template pop-up window, using the shooting template corresponding to the target template option to shoot the media resources, and displaying a third interface; the third interface is the viewfinder interface for shooting by the electronic device.
[0018] Based on this possible implementation, after the electronic device has completed sharing the captured media resources, it can display multiple shooting templates, allowing the user to select a template. After the user selects a template, the electronic device can use the selected template to shoot again, thereby improving the user experience.
[0019] In conjunction with the first aspect, in another possible implementation, the aforementioned third interface is the viewfinder interface of the electronic device in multi-lens recording mode, while the first preview interface is the viewfinder interface of the electronic device before it starts recording in multi-lens recording mode.
[0020] Based on this possible implementation, after the electronic device has completed sharing the recorded media resources, it can continue to use the multi-lens recording mode to record, thereby improving the user experience.
[0021] In conjunction with the first aspect, in another possible implementation, the aforementioned first media resource is an image.
[0022] In conjunction with the first aspect, in another possible implementation, the first media resource is video. The electronic device, in response to the user's triggering operation on the shooting control, obtains the first media resource by: the electronic device using a camera to capture the first media resource in response to the user's triggering operation on the shooting control; and the electronic device displaying a first interface in response to the user's further triggering operation on the shooting control.
[0023] Secondly, embodiments of this application provide a media resource sharing method applied to an electronic device. This media resource sharing may include: the electronic device displaying a gallery interface, the gallery interface including a second media resource; the electronic device, in response to a trigger operation on the second media resource, displaying a details interface of the second media resource; the details interface of the second media resource including a one-click creation control, the one-click creation control being used to trigger the electronic device to create a third media resource using the second media resource; the electronic device, in response to a user's trigger operation on the one-click creation control, displaying a fourth interface, the fourth interface including a preview of the third media resource and a second sharing control; the electronic device, in response to a user's trigger operation on the second sharing control, saving the third media resource; after the third media resource is saved, displaying a second sharing pop-up window, the second sharing pop-up window including multiple icons; and the electronic device, in response to a user's trigger operation on the second icon among the multiple icons, sharing the third media resource through the device corresponding to the second icon.
[0024] Based on the media resource sharing method described in the second aspect, when an electronic device shares a video created using a stored video, the video created by the electronic device can be automatically saved, and then the saved video can be shared, thereby reducing user operations and improving the efficiency of video sharing.
[0025] In conjunction with the second aspect, in another possible implementation, the electronic device saving a third media resource may include: the electronic device displaying a third prompt window, which is used to prompt the user that the electronic device is saving a third media resource.
[0026] Based on this possible implementation, the electronic device displays a prompt window indicating that the electronic device is saving the media resources it has created, which makes it easy for the user to know that the electronic device has saved the media resources it has created.
[0027] In conjunction with the second aspect, in another possible implementation, the aforementioned second sharing pop-up may further include a second cancellation control. The second cancellation control is used to trigger the electronic device to cancel sharing the third media resource. The media resource sharing method may further include: the electronic device, in response to the user's triggering operation on the second cancellation control, displays a fourth interface; the fourth interface further includes a second return control; the electronic device, in response to the user's triggering operation on the second return control, displays a details interface of the third media resource if the electronic device has not modified the third media resource; if the electronic device has modified the third media resource, it displays a fourth prompt window, used by the user to confirm whether to save the modified third media resource; the fourth prompt window includes a confirmation option; the electronic device, in response to the user's triggering operation on the confirmation option, saves the modified third media resource and displays a details interface of the modified third media resource.
[0028] Based on this possible implementation, users can cancel sharing media resources created by their electronic devices, and the device can display the details of the created media resource. When returning to the media resource details screen, if the user hasn't modified the created media resource, since it's already saved on the electronic device, the device can directly return to the details screen without reminding the user to save it again. If the user has modified the recorded media resource, the electronic device can remind the user to save the modified version, thus preventing users from forgetting to save modified media resources and improving the user experience.
[0029] In conjunction with the second aspect, in another possible implementation, after the electronic device displays the fourth interface, the media resource sharing method described above may further include: the electronic device, in response to a user's triggering operation on the second sharing control, displays a second sharing pop-up window if the electronic device has not modified the third media resource; and displays a fourth prompt window if the electronic device has modified the third media resource; the fourth prompt window includes a confirmation option; and the electronic device, in response to a user's triggering operation on the confirmation option, saves the modified third media resource and displays the second sharing pop-up window.
[0030] Based on this possible implementation, users can share media resources created on their electronic devices again. When sharing a created media resource again, if the user hasn't modified it, the device can directly display a share pop-up and share it since the resource is already saved on the device, without needing to remind the user to save it again. If the user has modified the created media resource, the device can automatically save it and then share the saved resource, thus reducing user operations.
[0031] In conjunction with the second aspect, in another possible implementation, after the electronic device has shared the third media resource through the second application, the method further includes: the electronic device displaying a details interface of the third media resource.
[0032] Based on this possible implementation, after the electronic device has finished sharing the created media resources, it can display a detailed interface of the created media resources, thereby enabling the media resources to be created again and improving the user experience.
[0033] Thirdly, embodiments of this application provide a media resource sharing device, which can be applied to electronic devices to implement the method described in the first aspect. The functions of this media resource sharing device can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the aforementioned functions, such as a startup module, a display module, a shooting module, a saving module, and a sharing module.
[0034] The startup module can be used to activate the camera of an electronic device in response to a user's triggering action on the camera application icon.
[0035] The display module can be used to respond to the user's trigger operation on the camera application icon and display a first preview interface, which includes shooting controls.
[0036] The shooting module can be used to obtain the first media resource in response to the user's trigger operation of the shooting control.
[0037] The display module can also be used to display the first interface; the first interface includes a preview of the first media resource and a first sharing control.
[0038] The save module can be used to save the first media resource in response to the user's trigger operation on the first sharing control.
[0039] The display module can also be used to display a first sharing pop-up after the first media resource is saved. The first sharing pop-up includes multiple icons.
[0040] The sharing module can be used to respond to a user's trigger operation on the first icon among multiple icons, and share the first media resource through the device corresponding to the first icon.
[0041] In conjunction with the third aspect, in another possible implementation, the display module can also be used to display a first prompt window, which is used to prompt the user that the electronic device is saving a first media resource.
[0042] In conjunction with the third aspect, in another possible implementation, the display module can also be used to display a first interface in response to a user's triggering operation on the first cancel control; the first interface also includes a first return control.
[0043] The display module can also be used to respond to the user's triggering operation on the first return control and display the first preview interface when the electronic device has not modified the first media resource.
[0044] The display module can also be used to display a second prompt window when the electronic device has modified the first media resource. The second prompt window is used for the user to confirm whether to save the modified first media resource.
[0045] The save module can also be used to save the modified first media resource in response to the user's confirmation of saving the modified first media resource.
[0046] The display module can also be used to display the first preview interface in response to the user's confirmation of saving the modified first media resource.
[0047] In conjunction with the third aspect, in another possible implementation, the display module can also be used to respond to the user's triggering operation on the first sharing control and display the first sharing pop-up window without the electronic device modifying the first media resource.
[0048] The display module can also be used to display a second prompt window when the electronic device has modified the first media resource.
[0049] The save module can also be used to save the modified first media resource in response to the user's confirmation of saving the modified first media resource.
[0050] The display module can also be used to display the first share pop-up window in response to the user's confirmation of saving the modified first media resource.
[0051] In conjunction with the third aspect, in another possible implementation, the display module can also be used to display a first preview interface on an electronic device.
[0052] In conjunction with the third aspect, in another possible implementation, the display module can also be used to display a first template pop-up window in response to the user's trigger operation on the template control; wherein the first template pop-up window includes multiple template options, each template option corresponding to a shooting template, and the shooting template is used to add audio and video effects to the media resources shot by the electronic device.
[0053] The shooting module can also be used to respond to the user's selection of the target template option in the first template pop-up window and use the shooting template corresponding to the target template option to shoot media resources.
[0054] The display module can also be used to display a third interface in response to the user's selection of the target template option in the first template pop-up window; the third interface is the viewfinder of the electronic device.
[0055] In conjunction with the third aspect, in another possible implementation, the third interface is the viewfinder of the electronic device in multi-lens recording mode, while the first preview interface is the viewfinder of the electronic device before it starts recording in multi-lens recording mode.
[0056] In conjunction with the third aspect, in another possible implementation, the first media resource is an image.
[0057] In conjunction with the third aspect, in another possible implementation, the first media resource is video, and the shooting module can also be used to respond to the user's trigger operation on the shooting control and use the camera to shoot the first media resource.
[0058] The shooting module can also be used to display the first interface in response to the user's repeated triggering of the shooting control.
[0059] Fourthly, embodiments of this application provide a media resource sharing device, which can be applied to electronic devices to implement the method described in the first aspect. The functions of this media resource sharing device can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the aforementioned functions, such as a display module, a saving module, and a sharing module.
[0060] The display module can be used to display the gallery interface, which includes secondary media resources.
[0061] The display module can also be used to display the details interface of the second media resource in response to a trigger operation on the second media resource; the details interface of the second media resource includes a one-click creation control, which is used to trigger the electronic device to create a third media resource using the second media resource.
[0062] The display module can also be used to respond to the user's trigger operation on the one-click video creation control and display a fourth interface, which includes a preview of the third media resource and a second sharing control.
[0063] The save module can be used to save third media resources in response to a user's triggering action on the second sharing control.
[0064] The display module can also be used to display a second sharing pop-up after the third media resource has been saved. The second sharing pop-up includes multiple icons.
[0065] The sharing module can be used to respond to a user's trigger action on the second icon among multiple icons, and share third media resources through the device corresponding to the second icon.
[0066] In conjunction with the fourth aspect, in another possible implementation, the display module can also be used to display a third prompt window, which is used to prompt the user that the electronic device is saving a third media resource.
[0067] In conjunction with the fourth aspect, in another possible implementation, the display module can also be used to display a fourth interface in response to a user's triggering operation on the second cancel control; the fourth interface also includes a second return control.
[0068] The display module can also be used to respond to the user's triggering operation on the second return control and display the details interface of the third media resource without the electronic device modifying the third media resource.
[0069] The display module can also be used to display a fourth prompt window when the third media resource has been modified on the electronic device. The fourth prompt window is used for the user to confirm whether to save the modified third media resource.
[0070] The save module can also be used to save modified third-party media resources in response to user confirmation of saving.
[0071] The display module can also be used to display the details interface of the modified third-party media resource in response to the user's confirmation of saving the modified third-party media resource.
[0072] In conjunction with the fourth aspect, in another possible implementation, the display module can also be used to display the second sharing pop-up window in response to a user's triggering operation on the second sharing control, provided that the electronic device has not modified the third media resource.
[0073] The display module can also be used to display a fourth prompt window when the electronic device has modified a third media resource.
[0074] The save module can also be used to save modified third-party media resources in response to user confirmation of saving.
[0075] The display module can also be used to display a second sharing pop-up window in response to the user's confirmation of saving the modified third-party media resource.
[0076] In conjunction with the fourth aspect, in another possible implementation, the display module can also be used to display the details interface of the third media resource.
[0077] Fifthly, embodiments of this application provide an electronic device, including: a processor and a memory for storing processor-executable instructions. The processor is configured to, when executing the aforementioned instructions, cause the electronic device to implement the media resource sharing method as described in any one of the first aspects or possible implementations of the first aspect; or, the processor is configured to, when executing the aforementioned instructions, cause the electronic device to implement the media resource sharing method as described in any one of the second aspects or possible implementations of the second aspect.
[0078] Sixthly, embodiments of this application provide a computer-readable storage medium storing computer program instructions thereon. When the computer program instructions are executed by an electronic device, the electronic device implements the media resource sharing method as described in any one of the first aspects or possible implementations of the first aspect; or, when the computer program instructions are executed by an electronic device, the electronic device implements the media resource sharing method as described in any one of the second aspects or possible implementations of the second aspect.
[0079] In a seventh aspect, embodiments of this application provide a computer program product including computer-readable code that, when executed in an electronic device, causes the electronic device to implement the media resource sharing method as described in any one of the first aspects or possible implementations of the first aspect; or, when executed in an electronic device, causes the electronic device to implement the media resource sharing method as described in any one of the second aspects or possible implementations of the second aspect.
[0080] It should be understood that the beneficial effects of the third to seventh aspects mentioned above can be found in the relevant descriptions in the first or second aspects mentioned above, and will not be repeated here. Attached Figure Description
[0081] Figure 1 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application;
[0082] Figure 2 A flowchart illustrating a media resource sharing method provided in this application embodiment. Figure 1 ;
[0083] Figure 3 A schematic diagram of the display interface of the electronic device provided in the embodiments of this application. Figure 1 ;
[0084] Figure 4 A schematic diagram of the display interface of the electronic device provided in the embodiments of this application. Figure 2 ;
[0085] Figure 5 A schematic diagram of the display interface of the electronic device provided in the embodiments of this application. Figure 3 ;
[0086] Figure 6 A schematic diagram of the display interface of the electronic device provided in the embodiments of this application. Figure 4 ;
[0087] Figure 7 A schematic diagram of the display interface of the electronic device provided in the embodiments of this application. Figure 5 ;
[0088] Figure 8A schematic diagram of the display interface of the electronic device provided in the embodiments of this application. Figure 6 ;
[0089] Figure 9 A schematic diagram of the display interface of the electronic device provided in the embodiments of this application. Figure 7 ;
[0090] Figure 10 A flowchart illustrating a media resource sharing method provided in this application embodiment. Figure 2 ;
[0091] Figure 11 A schematic diagram of the display interface of the electronic device provided in the embodiments of this application. Figure 8 ;
[0092] Figure 12 A schematic diagram of the structure of a media resource sharing device provided in this application embodiment. Figure 1 ;
[0093] Figure 13 A schematic diagram of the structure of a media resource sharing device provided in this application embodiment. Figure 2 . Detailed Implementation
[0094] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0095] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.
[0096] With the development of electronic technology, mobile phones, tablets, and other electronic devices are generally equipped with multiple cameras. For example, mobile phones typically have multiple cameras, such as a front-facing camera, a rear-facing camera, and a wide-angle camera. Mobile phones can also support single-camera shooting, such as using the front-facing camera or the rear-facing camera.
[0097] Mobile phones can also support simultaneous shooting with multiple cameras (also known as multi-camera recording), such as using both the front and rear cameras at the same time. In other words, mobile phones support multi-camera recording mode, allowing users to create short videos from the footage captured using both the front and rear cameras.
[0098] When a user needs to share media resources, such as videos, captured in multi-camera recording mode, they must first save the video on their electronic device. After saving, the user must access the device's gallery app before they can share the video. This cumbersome process of saving, accessing the gallery app, and then sharing videos in multi-camera recording mode results in low sharing efficiency.
[0099] To address the aforementioned issues, this application provides a media resource sharing method applied to an electronic device. When an electronic device finishes capturing a video using its camera application, the device can display a preview interface of the video within the camera application. This interface may include a sharing control, which the user can trigger to share the video. Compared to existing technologies where the user first saves the captured video and then accesses the device's gallery application to share it, this application's solution allows sharing via a sharing control included in the camera application, eliminating the need to access the gallery application. This reduces the user's steps when sharing videos, improves user experience, and ultimately increases the efficiency of media resource sharing.
[0100] Furthermore, the solution proposed in this application can automatically save the media resources captured by the electronic device when the electronic device shares the media resources, and then share the saved media resources, thereby further reducing the user's operations.
[0101] The media resource sharing method provided in the embodiments of this application is described below.
[0102] In some examples, the aforementioned electronic device may be a mobile phone, tablet computer, handheld computer, personal computer (PC), cellular phone, personal digital assistant (PDA), wearable device, or other electronic device including multiple cameras. This application does not limit the specific form of the electronic device.
[0103] For example, taking a mobile phone as an electronic device, Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown.
[0104] like Figure 1 As shown, the electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0105] It is understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0106] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0107] A controller can be the nerve center and command center of an electronic device. Based on the instruction opcode and timing signals, the controller generates operation control signals to control the fetching and execution of instructions.
[0108] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0109] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0110] The electronic device implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor that shares images, connecting the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0111] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a minimized display, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device may include one or N displays 194, where N is a positive integer greater than 1.
[0112] In this embodiment, the display screen 194 can be used to display the interface of an electronic device.
[0113] The electronic device can implement shooting functions through an ISP, camera 193, video codec, GPU, display 194, and application processor. In some embodiments, the electronic device may include one or N cameras 193, where N is a positive integer greater than 1.
[0114] Of course, it is understandable that the above... Figure 1 The illustration shown is merely an example when the electronic device is in the form of a mobile phone. If the electronic device is in the form of a tablet, handheld computer, PC, PDA, wearable device (such as a smartwatch, smart bracelet), or other similar device, the structure of the electronic device may include more advanced features. Figure 1 The fewer structures shown can also include more than Figure 1 The structures shown are not limited here.
[0115] Media resources shared by users can be those captured using a camera app on an electronic device. For example, after a user finishes capturing a video on their electronic device, they can use the device to share the captured media resources, such as a video, with other electronic devices or other applications on those devices. Media resources shared by users can also be created using media resources already stored on the electronic device. For instance, a user can select a video from their electronic device's photo album and use that video to create a video to share.
[0116] It is understood that media resources can be either videos or images, and this application embodiment does not limit the type of media resources. This application embodiment uses video as an example of media resources shared by electronic devices for illustrative purposes.
[0117] In other words, electronic devices can share videos captured using a camera app, as well as videos already stored on the device. Accordingly, the video sharing method provided in this application embodiment can include a "sharing captured video" process and a "sharing stored video" process.
[0118] The methods described in the following embodiments can all be implemented in an electronic device with the above-described hardware structure.
[0119] The following describes the "sharing of captured videos" process provided in the embodiments of this application. Figure 2 As shown, the “sharing the video” process may include the following S201-S213.
[0120] S201. The electronic device receives a user's trigger operation on the camera application icon.
[0121] When a user needs to take a picture using an electronic device, the user can click the camera application icon on the electronic device's desktop to trigger the electronic device to start the camera and take a picture.
[0122] S202. In response to the user's triggering operation on the camera application icon, the electronic device starts the camera and displays the camera preview interface, which includes a multi-lens recording option.
[0123] When an electronic device receives a user's trigger operation on the camera application icon on the electronic device's desktop, such as a click operation, the electronic device can activate the camera, such as the rear camera, and display a camera preview interface in response. In this embodiment of the application, the camera preview interface can be referred to as the first preview interface.
[0124] The camera preview interface may include a multi-camera recording option. This option can be used to trigger an electronic device to simultaneously activate multiple cameras, such as the rear and front cameras, allowing the device to capture images using multiple cameras at the same time. In other words, the electronic device can include a multi-camera recording mode.
[0125] For example, when a user takes a picture using an electronic device, the user can click the camera app icon on the device's home screen. When the electronic device receives this trigger action from the user on the camera app icon, such as a click, it responds as follows: Figure 3 As shown in (a), the electronic device can activate the rear camera and display a camera preview interface 301. The camera preview interface 301 may include a multi-camera recording option 302, meaning the electronic device may include a multi-camera recording mode.
[0126] S203. The electronic device receives the user's trigger operation for the multi-camera recording option.
[0127] When a user needs to use the multi-lens recording mode of an electronic device to take pictures, the user can trigger the multi-lens recording option included in the camera preview interface, so that the electronic device can start multiple cameras to shoot simultaneously.
[0128] For example, combining Figure 3 As shown in (a), the camera preview interface 301 includes a multi-lens recording option 302, which can be used to trigger the electronic device to activate multiple cameras. When a user needs to use the multi-lens recording mode for shooting, the user can click the multi-lens recording option 302 in the camera preview interface 301, thereby triggering the electronic device to use multiple lenses simultaneously for shooting, such as using the front camera and the rear camera simultaneously.
[0129] S204. In response to the user's triggering operation of the multi-camera recording option, the electronic device simultaneously activates the front camera and the rear camera, and displays the multi-camera recording preview interface.
[0130] When an electronic device receives a user's trigger operation on the multi-lens recording option included in the camera preview interface, such as a click operation, in response, the electronic device can simultaneously activate multiple cameras, such as simultaneously activating the front camera and the rear camera. In this embodiment of the application, the simultaneous activation of the front camera and the rear camera by the electronic device is used as an example for illustration.
[0131] When an electronic device activates multiple cameras simultaneously, it can display a multi-camera video preview interface. This interface can include preview images captured by multiple cameras, such as those captured by the front-facing camera and those captured by the rear-facing camera.
[0132] In some examples, the multi-camera video preview interface may include multiple preview areas, such as the display area corresponding to the preview image captured by the front camera and the display area corresponding to the preview image captured by the rear camera.
[0133] For example, combining Figure 3 As shown in (a), the camera preview interface 301 includes a multi-camera recording option 302. When the electronic device receives a user's trigger operation on the multi-camera recording option 302, such as a click operation, in response, as shown in (a)... Figure 3 As shown in (b), the electronic device can activate the front-facing camera and the rear-facing camera, and display a multi-camera video recording preview interface 303. The multi-camera video recording preview interface 303 may include a preview area 304 corresponding to the rear-facing camera and a preview area 305 corresponding to the front-facing camera. Preview area 304 can display the preview image captured by the rear-facing camera, and preview area 305 can display the preview image captured by the front-facing camera.
[0134] Afterwards, the user can use the electronic device's camera to take a picture of the subject. When the user uses the electronic device to point it at the subject, such as... Figure 3 As shown in (c), the electronic device can display the preview image captured by the rear camera in the preview area 304 included in the multi-camera video recording preview interface 303, and display the preview image captured by the front camera in the preview area 305 included in the multi-camera video recording preview interface 303.
[0135] S205. The electronic device receives a user's trigger operation on the shooting options included in the multi-lens video recording preview interface.
[0136] The multi-camera video preview interface displayed on the electronic device may include shooting options (also known as shooting controls), which are used to trigger the electronic device to simultaneously shoot using the front and rear cameras.
[0137] For example, such as Figure 3 As shown in (c), the electronic device displays a preview image captured by the rear camera in the preview area 304 of the multi-camera video recording preview interface 303, and a preview image captured by the front camera in the preview area 305 of the multi-camera video recording preview interface 303. When the user points the camera of the electronic device at a subject, the user can trigger the shooting option 306 included in the multi-camera video recording preview interface 303. When the electronic device receives a user's trigger operation on the shooting option 306 included in the multi-camera video recording preview interface 303, such as a click operation, in response, the electronic device can simultaneously use the front camera and the rear camera to take pictures, thereby obtaining media resources (i.e., videos or pictures).
[0138] S206. In response to the user's triggering operation of the shooting option, the electronic device uses the front camera and the rear camera to take pictures simultaneously.
[0139] After the electronic device displays the multi-camera recording preview interface, the user can trigger the shooting options included in the multi-camera recording preview interface, so that the electronic device can use the front camera and the rear camera to shoot simultaneously, thereby obtaining media resources (i.e., videos or pictures).
[0140] For example, combining Figure 3 As shown in (c), after the electronic device displays the multi-camera video preview interface 303, the user can use the electronic device to aim at the subject and take a picture. When the electronic device receives a trigger operation from the user on the shooting options 306 included in the multi-camera video preview interface 303, such as a click operation, in response, the electronic device can use the front camera and the rear camera to take pictures simultaneously.
[0141] Electronic devices can capture either photos or videos simultaneously using their front-facing and rear-facing cameras; this application does not limit the scope of the capture. This application's embodiments illustrate this by using a video captured simultaneously by the front-facing and rear-facing cameras as an example.
[0142] It should be noted that when a user takes a picture using an electronic device, the electronic device obtains the first media resource (i.e., the picture). This can be achieved when the electronic device receives a trigger operation from the user on the shooting controls included in the multi-camera recording preview interface, such as a click operation. In response, the electronic device can obtain the first media resource, i.e., the picture.
[0143] When a user uses an electronic device to record video, the electronic device obtains the first media resource (i.e., video). This can be achieved when the electronic device receives a trigger operation from the user on the shooting control included in the multi-camera recording preview interface, such as a click operation. In response, the electronic device can use the camera to record the first media resource (i.e., simultaneously recording video using the front and rear cameras). When the electronic device receives another trigger operation from the user on the shooting control, it can obtain the first media resource, i.e., video, in response. For example, the user can long-press the shooting control included in the multi-camera recording preview interface, allowing the electronic device to use the camera to record the first media resource. When the user's finger leaves the shooting control included in the multi-camera recording preview interface, i.e., when the electronic device receives another trigger operation from the user on the shooting control, the recording is complete, and the electronic device obtains the first media resource, such as video.
[0144] S207. After shooting is completed, the electronic device displays a preview interface for the final product, which includes a sharing option.
[0145] When a user points their electronic device at a subject, they trigger the shooting options in the multi-camera video preview interface, thus initiating the electronic device to take a picture. Upon receiving the user's trigger action on the shooting options in the multi-camera video preview interface, the electronic device can simultaneously capture images using both the front and rear cameras.
[0146] After the electronic device completes recording, it can display a preview interface for the final video. This preview interface allows users to preview the media resources recorded by the electronic device, such as videos recorded using a multi-camera recording mode. In this embodiment, the media resources recorded by the electronic device that can be previewed in the preview interface can be referred to as the first media resource; that is, the first interface can include a preview of the first media resource. If the first media resource is a video, it can be referred to as the first video. In this embodiment, the preview interface can be referred to as the first interface.
[0147] The preview interface may include sharing options, also known as sharing controls. These sharing options can be used to trigger an electronic device to share the video it captured; that is, the electronic device can send the captured video to other applications included with it or to other electronic devices. In this embodiment, the sharing option included in the preview interface may be referred to as the first sharing option.
[0148] For example, combining Figure 3 As shown in (c), when the electronic device receives a user's trigger operation on the shooting option 306 included in the multi-camera recording preview interface 303, such as a click operation, the electronic device can simultaneously shoot using both the front and rear cameras. When the electronic device finishes shooting, as shown in (c)... Figure 3 As shown in (d), the electronic device can display a preview interface 307, which may include a sharing option 308. The sharing option 308 is used to trigger the electronic device to send the captured video to other applications included with the electronic device or to other electronic devices.
[0149] In some examples, after the electronic device finishes recording, it can trigger the user to re-enable the shooting or stop recording options included in the multi-camera recording preview interface. That is, the user's triggering of the shooting or stop recording options in the multi-camera recording preview interface triggers the event that the electronic device has completed recording (or recording has finished). For example, taking the electronic device completing recording and triggering the stop recording option for the user as an example, combined with... Figure 3 As shown in (c), when the electronic device receives a user's trigger operation on the shooting option 306 included in the multi-camera recording preview interface 303, the electronic device uses the front camera and the rear camera to simultaneously shoot, and the electronic device displays as shown in (c). Figure 4As shown in (a) above, the shooting interface 309 includes a stop shooting option 310. When the electronic device receives a user's trigger operation on the stop shooting option 310 included in the shooting interface 309, and the user clicks the operation, the electronic device can confirm that the shooting is complete, and thus the electronic device can display as shown below. Figure 3 The preview interface 307 shown in (d) is the finished product preview interface.
[0150] In other examples, after the electronic device finishes recording, the video recording duration can reach a preset length. This preset duration can be set according to actual conditions, and this application embodiment does not limit it. For example, the preset duration can be 30 seconds. That is, when the electronic device receives a user's trigger operation on the shooting options included in the multi-camera recording preview interface, in response, the electronic device can use both the front and rear cameras to simultaneously record. When the electronic device uses both the front and rear cameras to simultaneously record for 30 seconds, the recording is complete, and the electronic device can then display the final preview interface.
[0151] For example, taking the completion of recording by an electronic device, where the video duration reaches the preset length of 30 seconds, combined with... Figure 3 As shown in (c), when the electronic device receives a user's trigger operation on the shooting option 306 included in the multi-camera recording preview interface 303, the electronic device uses the front camera and the rear camera to simultaneously shoot, and the electronic device displays as shown in (c). Figure 4 The shooting interface 309 shown in (b) includes a stop shooting option 310 and a progress bar 311 for the shooting duration, specifically a 30-second progress bar. When the shooting duration reaches 30 seconds, as indicated by the progress bar 311, the electronic device can confirm the shooting is complete and display the following information: Figure 3 The final preview interface 307 is shown in (d) above. The final preview interface 307 may also include a progress bar showing the duration of the captured video, i.e., 30 seconds.
[0152] In some examples, when the electronic device displays a preview interface, it can show the captured video in a default style or add default background music to the video. Users can change the display style of the video captured by the electronic device, and also change the background music of the captured video.
[0153] For example, the preview interface can also include save, return, and edit options. The save option triggers the electronic device to save the recorded video. The return option triggers the electronic device to cancel the current recording and return to the multi-camera recording preview interface. The edit options trigger the electronic device to modify the recorded video, such as changing the style, adding background music, or modifying the background music. Correspondingly, the edit options can include style options and music options. Style options allow the electronic device to change the style of the recorded video, such as changing it to black and white, warm color, cool color, or monochrome. Music options allow the electronic device to add or modify background music.
[0154] For example, combining Figure 3 As shown in (d), the preview interface 307 displayed on the electronic device includes a sharing option 308, such as... Figure 5 As shown in (a), the preview interface 307 displayed on the electronic device may also include a save option 312, a style option 313, a return option 314, and a music option 315. When the user needs to save the video recorded by the electronic device, the user can trigger the save option 312. That is, when the electronic device receives the user's trigger operation on the save option 312, such as a click operation, the electronic device can save the recorded video in response.
[0155] If a user is dissatisfied with the recorded video and needs to re-record, the user can trigger the re-record option 314. That is, upon receiving the user's trigger action (such as clicking) on the re-record option 314, the electronic device can cancel the current recording and return to the previous state. Figure 3 The multi-camera recording preview interface 303 is shown in (c) in the figure.
[0156] When a user needs to modify the style of a video shot by an electronic device, the user can trigger style option 313. That is, when the electronic device receives the user's trigger operation on style option 313, such as a click operation, the electronic device can display a style selection interface in response, allowing the user to select the corresponding style.
[0157] When a user needs to change the background music of a video recorded by the electronic device, the user can trigger the music option 315. That is, when the electronic device receives the user's trigger operation on the music option 315, such as a click operation, the electronic device can display a music selection interface in response, so that the user can select the corresponding music.
[0158] S208. The electronic device receives a user's trigger operation for the sharing option.
[0159] When a user wants to share a video recorded by their electronic device, they can trigger the share option included in the preview interface. That is, when the electronic device receives the user's trigger action for the share option, such as a click, it can save the video to be shared. After the electronic device has saved the video, it can then share it.
[0160] In some examples, when the electronic device receives a user's trigger action for the sharing option, such as a click, in response, the electronic device can determine whether the video to be shared has been saved. If the electronic device has not saved the video to be shared, it can save it. After the electronic device has finished saving the video to be shared, it can share the video. That is, the electronic device can continue to execute S209-S213 below.
[0161] S209. In response to the user's triggering of the sharing option, the electronic device determines whether the recorded video has been saved.
[0162] When the electronic device receives a user's trigger action for the sharing option, in response, the electronic device can determine whether it has saved the video (i.e., the first media resource) captured using the multi-camera recording mode. If the electronic device determines that it has not saved the captured video, it can save the video and display a first prompt window to inform the user that it is saving the video to be shared; that is, the electronic device can continue to execute S210. If the electronic device determines that it has saved the captured video, it can display a first sharing pop-up window; that is, the electronic device can continue to execute S211.
[0163] For example, combining Figure 5 As shown in (a), the preview interface 307 displayed on the electronic device may include a sharing option 308. When a user needs to share a video captured by the electronic device, the user can trigger the sharing option 308. Upon receiving a trigger operation from the user on the sharing option 308, such as a click operation, the electronic device can determine whether the captured video has been saved.
[0164] In some examples, an electronic device can determine whether it has saved the recorded video by determining whether the user has triggered the save option included in the preview interface. If the electronic device determines that the user has triggered the save option included in the preview interface, it can determine that the recorded video has been saved. If the electronic device determines that the user has not triggered the save option included in the preview interface, it can determine that the recorded video has not been saved.
[0165] For example, combining Figure 5As shown in (a), the preview interface 307 displayed by the electronic device may also include a save option 312. When the user needs to save the video captured by the electronic device, the user can trigger the save option 312. When the electronic device receives the user's trigger operation on the save option 312, such as a click operation, the electronic device can determine that the user has triggered the save option 312 included in the preview interface 307, that is, the electronic device can determine that the captured video has been saved.
[0166] After the user triggers the save option 312, meaning the electronic device saves the recorded video, the user can trigger the share option 308 included in the preview interface 307 when they need to share the video. Upon receiving the user's trigger operation on the share option 308, such as a click, the electronic device, in response, confirms that the recorded video has been saved, and thus the electronic device can display... Figure 5 The sharing pop-up window 316 shown in (b) may include multiple application icons and a cancel option 317. That is, when the electronic device determines that the recorded video has been saved, the electronic device may continue to execute S211 as described below.
[0167] However, before the user needs to share the video captured by the electronic device, that is, before the user triggers the share option 308 included in the final preview interface 307, and before the user has triggered the save option 312 included in the final preview interface 307, the electronic device determines that the captured video has not been saved.
[0168] When the electronic device receives a user's trigger operation on the sharing option 308, such as a click operation, in response, the electronic device determines that it did not receive a user's trigger operation on the save option 312 before receiving the user's trigger operation on the sharing option 308. Therefore, the electronic device can determine that no recorded video has been saved, and thus the electronic device can display as follows: Figure 5 The prompt window 318 shown in (c) is used to notify the user that the video to be shared is being saved. When the electronic device determines that the video has been saved successfully, it may display something like... Figure 5 The sharing pop-up window 316 shown in (b) allows the user to share the saved video with other applications or other electronic devices. That is, if the electronic device determines that no video has been saved, the electronic device can continue to execute S210-S211 below.
[0169] In other examples, the electronic device can determine whether the recorded video has been saved by determining whether the user triggered the save option included in the final preview interface after triggering the modification options. If the electronic device determines that the user triggered both the modification and save options in the final preview interface, the electronic device can determine that the recorded video has been saved. If the electronic device determines that the user did not trigger the save option after triggering the modification options in the final preview interface, the electronic device can determine that the recorded video has not been saved.
[0170] Editing options allow you to modify videos recorded by electronic devices, such as changing the style of the video, changing the background music, or editing the video itself. Accordingly, editing options can include style options, music options, or editing options.
[0171] In some examples, the modification options include style options. For example, combining... Figure 5 As shown in (a), the preview interface 307 displayed by the electronic device may include a save option 312, and the preview interface 307 may also include a style option 313. When the user needs to modify the style of the video captured by the electronic device, the user can trigger the style option 313 included in the preview interface 307, thereby enabling the modification of the style of the captured video. That is, when the electronic device receives a trigger operation from the user on the style option 313, such as a click operation, in response, the electronic device may display, as shown in (a). Figure 6 The style pop-up window 319 is shown in (a) above. Style pop-up window 319 may include multiple style options, such as black and white, warm, cool, or monochrome. Users can trigger different style options, allowing the electronic device to modify the style of the captured video to the user-selected style. After the user triggers different style options, the electronic device can continue to display, such as... Figure 6 The preview interface 307 shown in (b) is the finished product preview interface.
[0172] After the user modifies the style of the captured video, the modified video can be saved. Specifically, when the electronic device receives a user's trigger operation (such as a click) on the save option 312 included in the final preview interface 307, the electronic device can save the modified video. Afterwards, the user can share the modified video. Specifically, when the electronic device receives a user's trigger operation (such as a click) on the share option 308 included in the final preview interface 307, the electronic device can determine that the user has triggered the modification options (such as style option 313) included in the final preview interface 307, and that the user has triggered the save option 312 included in the final preview interface 307. Therefore, the electronic device can determine that the modified video has been saved, and thus the electronic device can display the modified video as shown below. Figure 6 The sharing pop-up 316 shown in (c) can include multiple application icons and a cancel option 317, so that the user can share the saved video with other applications or other electronic devices.
[0173] However, if the user has triggered the style option 313 included in the preview interface 307 but has not triggered the save option 312 included in the preview interface 307, the electronic device can determine that the recorded video has not been saved. That is, when the electronic device receives a user's trigger operation on the share option 308, such as a click operation, in response, the electronic device determines that it had not received a user's trigger operation on the save option 312 before receiving the user's trigger operation on the share option 308. Therefore, the electronic device can determine that the recorded video has not been saved, and thus the electronic device can display... Figure 6 The prompt window 318 shown in (d) is used to notify the user that the video to be shared is being saved. When the electronic device determines that the video has finished saving, it may display something like... Figure 6 The sharing pop-up 316 shown in (c) allows users to share the saved video with other applications or other electronic devices.
[0174] In some examples, the modification options include music options. For example, combining... Figure 5 As shown in (a), the preview interface 307 displayed by the electronic device may include a save option 312, and the preview interface 307 may also include a music option 315. When a user needs to modify the background music of the video recorded by the electronic device, the user can trigger the music option 315 in the preview interface 307, thereby enabling the modification of the background music of the recorded video. That is, when the electronic device receives a trigger operation from the user on the music option 315, such as a click operation, in response, the electronic device may display as follows: Figure 7The music pop-up window 320 shown in (a) is an example. The style pop-up window 320 can include multiple music options, such as Music 1, Music 2, Music 3, and Music 4. The user can trigger different music options, allowing the electronic device to change the background music of the recorded video to the user-selected music option. After the user triggers different music options, the electronic device can continue to display... Figure 7 The preview interface 307 shown in (b) is the finished product preview interface.
[0175] After the user modifies the background music of the recorded video, the modified video can be saved. Specifically, when the electronic device receives a user's trigger operation on the save option 312 included in the preview interface 307 (e.g., a click operation), the electronic device can save the modified video. Afterwards, the user can share the modified video. Specifically, when the electronic device receives a user's trigger operation on the share option 308 included in the preview interface 307 (e.g., a click operation), the electronic device can determine that after the user triggered a modification option (such as music option 315) included in the preview interface 307, the user also triggered the save option 312 included in the preview interface 307. Therefore, the electronic device can determine that the modified video has been saved, and thus the electronic device can display the modified video as shown below. Figure 7 The sharing pop-up 316 shown in (c) can include multiple application icons and a cancel option 317, so that the user can share the saved video with other applications or other electronic devices.
[0176] However, if the user has triggered the style option 313 included in the preview interface 307 but has not triggered the save option 312 included in the preview interface 307, the electronic device can determine that the recorded video has not been saved. That is, when the electronic device receives a user's trigger operation on the share option 308, such as a click operation, in response, the electronic device determines that it had not received a user's trigger operation on the save option 312 before receiving the user's trigger operation on the share option 308. Therefore, the electronic device can determine that the recorded video has not been saved, and thus the electronic device can display... Figure 7 The prompt window 318 shown in (d) is used to notify the user that the video to be shared is being saved. When the electronic device determines that the video has finished saving, it may display something like... Figure 7 The sharing pop-up 316 shown in (c) allows users to share the saved video with other applications or other electronic devices.
[0177] S210: The electronic device saves the recorded video and displays a prompt window to inform the user that the video is being saved for sharing.
[0178] When an electronic device receives a user's trigger action to share the video, and the electronic device determines that it has not saved the recorded video, it may save the recorded video and display a first prompt window. The first prompt window serves to inform the user that the electronic device is saving the video to be shared; that is, the first prompt window indicates that the electronic device is saving a first media resource.
[0179] For example, combining Figure 5 As shown in (a), the preview interface 307 displayed on the electronic device may include a sharing option 308. When the electronic device receives a user's trigger operation on the sharing option 308, such as a click, in response, the electronic device can determine whether the recorded video has been saved. If the electronic device determines that the recorded video has not been saved, it can save the recorded video. The electronic device can also display a first prompt window to notify the user that the video to be shared is being saved. Figure 5 As shown in (c), the electronic device can display a first prompt window 318 in the preview interface 307 to indicate to the user that the video to be shared is being saved. The first prompt window 318 may include the words "Saving video to be shared", and may also include a progress bar and progress percentage to indicate to the user the progress of saving the video to be shared.
[0180] S211. An electronic device displays a sharing pop-up window, which includes multiple icons and a cancel option.
[0181] Once the electronic device has finished saving the captured video (i.e., the first media resource), it can display a first sharing pop-up. This first sharing pop-up may include multiple icons, such as application icons, indicating that the electronic device can send the captured video to these applications or to other electronic devices through these applications. In other words, when the user selects an application icon from the multiple application icons included in the first sharing pop-up, such as an icon designated as the first application, the electronic device can share the first media resource through that first application. These icons can also be icons of other devices or user avatar icons, meaning the electronic device can send the captured video to the device corresponding to that other device's icon or to the device corresponding to that user avatar icon.
[0182] For example, combining Figure 5 As shown in (a), the preview interface 307 displayed by the electronic device may include a sharing option 308. When the electronic device receives a user's trigger action on the sharing option 308, such as a click, in response, the electronic device can determine whether the recorded video has been saved. If the electronic device determines that the recorded video has been saved, a sharing pop-up window 316 may be displayed. The sharing pop-up window 316 may include multiple icons, such as icons for multiple applications.
[0183] The sharing pop-up may also include a cancellation option, also known as a cancellation control. In this embodiment, the cancellation control may be referred to as the first cancellation control. The cancellation option can be used to cancel the current sharing operation; that is, the cancellation option can be used to trigger the electronic device to cancel sharing the first media resource.
[0184] For example, combining Figure 5 As shown in (c), the electronic device displays a first prompt window in the final preview interface 307 to inform the user that the video to be shared is being saved. Once the electronic device has finished saving the captured video, as... Figure 5 As shown in (b), the electronic device may display a share pop-up 316. The share pop-up 316 may include multiple application icons and a cancel option 317.
[0185] S212. When the electronic device receives a user's trigger operation on the first icon among multiple icons, the electronic device shares the captured video through the device corresponding to the first icon.
[0186] Once the electronic device has saved the recorded video, it can display a sharing pop-up. This pop-up can include multiple application icons, icons for a second device, or user avatar icons. For example, when the electronic device receives a user's trigger action on the first icon included in the sharing pop-up (such as a click), it can send the saved video to the device corresponding to the first icon. In other words, the electronic device can share the first media resource through the device corresponding to the first application.
[0187] After the electronic device can share the first media resource through the device corresponding to the first icon, the electronic device can display a template selection interface. In this embodiment, the template selection interface can be referred to as the second interface. The second interface can be the viewfinder interface before the electronic device starts shooting, for example, the second interface can be the viewfinder interface before the electronic device starts shooting in multi-lens recording mode. The template selection interface can also include a first template option, which can also be referred to as a first template control. The first template control is used to trigger the electronic device to display multiple template options. That is, when the electronic device receives a user's trigger operation on the first template control, such as a click operation, the electronic device can display a first template pop-up window in response. The first template pop-up window can include multiple template options, each template option corresponding to a shooting template. The shooting template is used to add audio and video effects to the media resource shot by the electronic device. The shooting template can include templates such as soothing, summer, dynamic, or happy. Different templates can include different display styles and different background music.
[0188] For example, combining Figure 5 As shown in (c), after the electronic device has finished saving the captured video, the electronic device can display the following: Figure 5The sharing pop-up 316 is shown in (b) above. The sharing pop-up 316 includes multiple application icons. When the electronic device receives a user's trigger action on one of the application icons included in the sharing pop-up 316, such as a click, the electronic device can send the saved video to the corresponding application. After the electronic device sends the saved video to the corresponding application, such as... Figure 8 As shown in (a), the electronic device can display a template selection interface 321. The template selection interface 321 may include a first template control, such as a one-click control. When the electronic device receives a user's trigger operation on the one-click control, such as a click operation, in response, the electronic device can display a first template pop-up window. The first template pop-up window may include multiple template options, such as soothing, summer, dynamic, or happy template options, so that the user can select different templates.
[0189] In some examples, after receiving a user's selection of a shooting template—that is, after the electronic device determines the corresponding background music and style—it can display a multi-camera recording preview interface. The user can then continue shooting using the electronic device. In this embodiment, the multi-camera recording preview interface can be referred to as the third interface, which is the viewfinder of the electronic device during shooting, such as the viewfinder of the electronic device shooting in multi-camera recording mode. In other words, after the user selects different shooting templates, the electronic device can continue shooting video using the corresponding background music and style. The user can choose different shooting templates and reshoot using them. Specifically, the electronic device responds to the user's selection of a target template option in the first template pop-up window and uses the shooting template corresponding to the target template option to shoot media resources.
[0190] For example, combined with Figure 8 As shown in (a), after the electronic device receives a user's selection operation on the shooting template included in the display template selection interface 801, such as a click operation, the electronic device can display as shown in (a). Figure 8 The multi-camera video recording preview interface 303 is shown in (b) above. When the electronic device receives a user's trigger operation on the shooting options 306 included in the multi-camera video recording preview interface 303, such as a click operation, the electronic device can simultaneously shoot using both the front and rear cameras. The style of the shot video is the style corresponding to the shooting template selected by the user, and the background music of the shot video is the background music corresponding to the shooting template selected by the user. That is, the electronic device can reshoot using this shooting template.
[0191] S213. When the electronic device receives a user's trigger operation for the cancel option, the electronic device displays a preview interface of the finished product.
[0192] Once the electronic device has finished saving the recorded video, it can display a share pop-up. This pop-up may include multiple application icons and a first cancellation option. If the user does not wish to share the recorded video, they can trigger the first cancellation option to cancel the sharing operation.
[0193] When the electronic device receives a user's trigger action on the first cancellation option, such as a click, in response, the electronic device can display a preview interface, that is, the electronic device can display the first interface.
[0194] For example, combining Figure 5 As shown in (c), after the electronic device has finished saving the captured video, the electronic device can display the following: Figure 5 The first sharing pop-up window 316 is shown in (b) above. The first sharing pop-up window 316 includes multiple application icons and a first cancel option 317. When the electronic device receives a user's trigger operation on the first cancel option 317, such as a click operation, the electronic device can cancel the current sharing operation and display the following: Figure 5 The preview interface 307 shown in (a) is the finished product preview interface.
[0195] In some examples, after the electronic device displays a preview of the video, it can further modify the video it has recorded. After modifying the video (such as changing its style or background music), the electronic device can then share or save the modified video again. For example, combined with... Figure 6 As shown in (a), after the electronic device modifies the captured video (e.g., changes its style), the electronic device can continue to display the video as shown in (a). Figure 6 The preview interface 307 shown in (b) may include a share option 308 and a save option 312. When the electronic device receives a user's trigger operation on the save option 312, in response, the electronic device may save the modified video and display as shown in (b). Figure 6 The prompt window shown in (d) is used to inform the user that the video is being saved.
[0196] When the electronic device receives a user's trigger action on sharing option 308, the electronic device can further determine whether the modified video has been saved. If it is determined that the modified video has been saved, the electronic device can display the following: Figure 6 The sharing pop-up 316 shown in (c) allows the modified video to be shared. If it is confirmed that the modified video has not been saved before, the electronic device can save the modified video and display the following: Figure 6 As shown in (d) of the diagram, the electronic device can display the following prompt window 318 after the device saves the modified video: Figure 6 The sharing pop-up 316 shown in (c) allows the modified video to be shared.
[0197] After the electronic device modifies the video, when the electronic device receives a user's trigger operation on the save option included in the preview interface, the electronic device can save the modified video in response and display a prompt window to inform the user that the video is being saved.
[0198] For example, combining Figure 7 As shown in (c), when the electronic device receives a user's trigger operation on the first cancellation option 317, such as a click operation, the electronic device can cancel the current sharing operation and display as shown in (c). Figure 7 The preview interface 307 shown in (b) is shown below. Afterwards, when the electronic device receives a user's trigger operation on the music option 315 included in the preview interface 307, the electronic device can modify the background music of the captured video and display, as shown below. Figure 7 The music pop-up window 320 is shown in (a) in the image.
[0199] After the electronic device modifies the captured video, it can continue to display such... Figure 7 The preview interface 307 shown in (b) is as follows. When the electronic device receives a user's trigger operation on the save option 312 included in the preview interface 307, such as a click operation, the electronic device can save the modified video in response and display the following: Figure 7 The prompt window shown in (d) indicates that the video is being saved. This prompt window may include the words "Saving video," a progress bar, and a progress percentage to indicate the saving progress.
[0200] After the electronic device modifies the captured video, it receives a user's trigger action on the sharing options included in the preview interface. For example, upon clicking the option, the electronic device can determine whether the modified video has been saved. If the electronic device determines that the modified video has not been saved, it can display a prompt window to inform the user that the video is being saved for sharing. If the electronic device determines that the modified video has been saved, it can display a share pop-up window. In other words, the process of sharing the modified video after it has been modified by the electronic device can be referred to S208-S213 above.
[0201] For example, combining Figure 7 As shown in (c), when the electronic device receives a user's trigger operation on the first cancellation option 317, such as a click operation, the electronic device can cancel the current sharing operation and display as shown in (c). Figure 7The preview interface 307 shown in (b) is shown below. Afterwards, when the electronic device receives a user's trigger operation on the music option 315 included in the preview interface 307, the electronic device can modify the background music of the captured video and display, as shown below. Figure 7 The music pop-up window 320 is shown in (a) in the image.
[0202] After the electronic device modifies the captured video, it can continue to display such... Figure 7 The preview interface 307 shown in (b) is as follows. When the electronic device receives a user's trigger operation on the sharing option 308 included in the preview interface 307, such as a click operation, the electronic device can determine whether the modified video has been saved in response. If the electronic device determines that the modified video has not been saved, the electronic device can save the modified video and display it as shown in (b). Figure 7 The prompt window 318 shown in (d) is used to notify the user that a video to be shared is being saved. If the electronic device determines that a modified video has been saved, the electronic device displays the following... Figure 7 The sharing pop-up window 316 shown in (c) is shown in the image.
[0203] In some examples, the preview interface may also include a return option, also known as a return control. In this embodiment, the return control may be referred to as the first return control. The return option can be used to trigger the electronic device to cancel the current recording and return to the multi-camera recording preview interface.
[0204] For example, after the electronic device modifies the captured video, it receives a user's trigger operation on the first return option included in the final preview interface. In response, such as clicking, the electronic device can determine whether the modified video has been saved. If the electronic device determines that the modified video has been saved, it can display the aforementioned multi-camera recording preview interface, i.e., the third interface. Alternatively, it can display the aforementioned template selection interface, i.e., the second interface. If the electronic device determines that the modified video has not been saved, it can display a prompt window asking the user whether to save the video; in this embodiment, this prompt window can be referred to as the second prompt window.
[0205] For example, such as Figure 5 As shown in (b), when the electronic device receives a user's trigger operation on the first cancellation option 317, in response, the electronic device cancels the current sharing operation and displays as shown in Figure (b). Figure 9The preview interface 307 shown in (a) is shown in the figure. The preview interface 307 may also include a return option 314 and modification options (such as style option 313 and music option 315). When the electronic device receives a user's trigger operation on the modification options, such as a click operation, the electronic device can make corresponding modifications to the captured video (such as changing the style of the captured video or changing the background music of the captured video). After the electronic device can make corresponding modifications to the captured video, the electronic device can continue to display, such as Figure 9 The preview interface 307 shown in (a) is shown below. Subsequently, when the electronic device receives a user's trigger operation on the first return option 314 included in the preview interface 307, such as a click operation, in response, as shown below... Figure 9 As shown in (b), the electronic device can display a prompt window in the finished video preview interface 307 asking the user whether to save the modified video. This prompt window may include the words "Save video?" and may also include two options: yes and no.
[0206] When an electronic device receives a user's "Yes" (confirmation) response in the prompt window, such as a click, the device can save the modified video. The electronic device can also display... Figure 9 The prompt window 318 shown in (c) indicates that the video is being saved. After the electronic device has finished saving the video, it can display the following: Figure 9 The multi-camera recording preview interface 303 is shown in (d) above. When the electronic device receives a user's trigger operation on the "No" option in the prompt window, such as a click operation, the electronic device can display as shown below. Figure 9 The multi-camera video preview interface 303 is shown in (d) in the figure.
[0207] In some examples, after the electronic device receives a user's trigger action to cancel the option and displays the final preview interface, the electronic device may not modify the video it recorded. At this point, the electronic device can also share the video again. When the electronic device receives a user's trigger action to the first share option included in the final preview interface, the electronic device can display the share pop-up again.
[0208] For example, combining Figure 5 As shown in (b), when the electronic device receives a user's trigger operation on the first cancellation option 317, such as a click operation, the electronic device can cancel the current sharing operation and display as shown in Figure (b). Figure 5 The preview interface 307 shown in (a) is shown in the image. After the electronic device receives a trigger operation from the user on the first sharing option 308 included in the preview interface 307, the electronic device can display, as shown in the image... Figure 5The first sharing pop-up 501 shown in (b) allows the electronic device to share the video it has captured.
[0209] If the electronic device does not modify the video it records, and the electronic device receives a trigger operation from the user's preview interface including the first return option, such as a click operation, the electronic device can display the aforementioned multi-camera recording preview interface in response, that is, the electronic device can display the third interface, so that the user can continue to use the electronic device to continue recording.
[0210] If the electronic device does not modify the video it captures, and the electronic device receives a user's trigger operation on the save option included in the preview interface, such as a click operation, the electronic device may, in response, not save the captured video again.
[0211] The solution of this application allows an electronic device to display a preview interface of the video within its camera application after recording video. This preview interface can include a sharing control, which the user can trigger to share the video. Compared to existing technologies where the user first saves the video and then accesses the device's gallery application to share it, this solution allows sharing via the sharing control within the camera application, eliminating the need to access the gallery application. This reduces the user's steps when sharing videos, improves user experience, and increases the efficiency of sharing media resources. Furthermore, the solution automatically saves the recorded media resources before sharing them, further reducing user operations.
[0212] The following describes the "sharing stored video" process provided in the embodiments of this application. Figure 10 As shown, the “Share Stored Video” process may include the following S1001-S1009.
[0213] S1001 The electronic device displays a video details interface, which includes a one-click video creation option.
[0214] When a user needs to create a shareable video using videos already stored on their electronic device, they can select the corresponding video from the device's photo album or gallery. Upon selecting a video, the electronic device can display the video's details page.
[0215] For example, an electronic device can display a gallery interface, which may include multiple media resources, such as videos or photos. When the electronic device receives a user's trigger action on a second media resource in the gallery interface, such as a click, in response, the electronic device can display a details interface corresponding to the second media resource, such as a video details interface.
[0216] The details interface of a second media resource may include a one-click creation option, also known as a one-click creation control. This option can trigger an electronic device to create a third media resource using the second media resource. For example, when an electronic device receives a user's trigger action (such as clicking the one-click creation option on the details interface of the second media resource), in response, the device can create a third media resource using the second media resource. That is, the electronic device can display a preview of the second media resource and edit the video, such as displaying it in the default style and adding default background music. Thus, the user can create a video using a stored video, and this edited video can be called a third media resource.
[0217] For example, when a user selects a video in the photo album, such as Figure 11 As shown in (a), the electronic device can display a video details interface 1101 for the video. The video details interface 1101 may include a one-click video creation option 1102.
[0218] The video stored in the electronic device can be video captured using a multi-camera recording mode included in the electronic device. This application does not limit this scope.
[0219] S1002, The electronic device receives the user's trigger operation for the one-click image creation option.
[0220] For example, when a user needs to create a shared video from a selected, stored video, the user can trigger the one-click video creation option in the video details interface corresponding to that video.
[0221] S1003. In response to the user's triggering of the one-click video creation option, the electronic device displays a video preview interface, which includes a sharing option.
[0222] When an electronic device receives a user's trigger operation for the one-click video creation option, such as a click, in response, the electronic device can display a video preview interface and process the second media resource (such as a video), such as displaying the video in a default style and adding default background music, thereby generating a third media resource. In this embodiment, the video preview interface can be referred to as a fourth interface, which is used to preview the third media resource created by the electronic device. The video preview interface may include a sharing option, also referred to as a sharing control, which can be referred to as a second sharing control in this embodiment. The sharing option can be used to trigger the electronic device to share the third media resource created by the electronic device, such as a video. The electronic device can share the third media resource through an application, such as sending the created video to other applications included in the electronic device or to other electronic devices.
[0223] For example, combining Figure 11 As shown in (a), when the electronic device receives a user's trigger operation on the one-click video creation option 1102 included in the video details interface 1101, such as a click operation, as a response, such as... Figure 11 As shown in (b), the electronic device can display a preview interface 1103. The preview interface 1103 may include a sharing option 1104. The sharing option 1104 is used to trigger the electronic device to share the created video through an application, that is, to send the created video to other applications included in the electronic device or to other electronic devices.
[0224] In some examples, the preview interface may also include save, return, and edit options. The save option triggers the electronic device to save the created video. The return option triggers the electronic device to cancel the one-click video creation and return to the video details screen. The edit option triggers the electronic device to modify the saved video, such as changing its style, adding background music, or modifying the background music. Accordingly, the edit options may include style options and music options. Style options allow the electronic device to change the style of the saved video, such as changing it to black and white, warm colors, cool colors, or monochrome. Music options allow the electronic device to add or modify background music in the saved video.
[0225] For example, combining Figure 11As shown in (b), the preview interface 1103 displayed on the electronic device may also include a save option 1105, a style option 1106, a return option 1107, and a music option 1108. When a user needs to save the video created by the electronic device, the user can trigger the save option 1105. That is, when the electronic device receives a user's trigger operation on the save option 1105, such as a click operation, the electronic device can save the created video in response. When a user needs to cancel the one-click video creation, the user can trigger the return option 1107 included in the preview interface 1103. That is, when the electronic device receives a user's trigger operation on the return option 1107 included in the preview interface 1103, such as a click operation, the electronic device can cancel the one-click video creation and return to the previous screen. Figure 11 The video details interface 1101 shown in (a) is shown in the image.
[0226] When a user needs to modify the style of a video stored on the electronic device, the user can trigger style option 1106. That is, when the electronic device receives a trigger operation from the user on style option 1106, such as a click operation, the electronic device can display a style selection interface in response, so that the user can select the corresponding style.
[0227] When a user needs to change the background music of a video stored on the electronic device, the user can trigger the music option 1108. That is, when the electronic device receives the user's trigger operation on the music option 1108, such as a click operation, the electronic device can display a music selection interface in response, so that the user can select the corresponding music.
[0228] In some examples, when the electronic device receives a user's trigger action on the preview interface including the return option, such as a click, the device can determine whether the created video has been saved. If the electronic device determines that the created video has not been saved, it can display the video details interface corresponding to the original video (i.e., the video already stored in the electronic device). If the electronic device determines that the created video (i.e., the video created by the electronic device using one-click editing) has been saved, it can display the video details interface corresponding to the created video.
[0229] S1004. The electronic device receives the user's trigger operation for the sharing option.
[0230] When a user wants to share a video created using videos already stored on their electronic device, they can trigger the share option in the preview interface. In other words, when the electronic device receives the user's trigger action for the share option, such as a click, it can save the created video in response. After the electronic device has saved the video, it can then share it.
[0231] In some examples, when the electronic device receives a user's trigger action on the sharing option, such as a click, in response, the electronic device can determine whether the created video has been saved. If the electronic device determines that the created video has not been saved, it can save the created video. After the electronic device has finished saving the created video, it can share the created video. That is, the electronic device can continue to execute S1005-S1009 below.
[0232] S1005. In response to the user's triggering of the sharing option, the electronic device determines whether the created video has been saved.
[0233] When the electronic device receives a user's trigger action for the sharing option, in response, the electronic device can determine whether the created video has been saved. If the electronic device determines that the created video has not been saved, the electronic device can save the created video and display a prompt window to inform the user that the video to be shared, i.e., the third media resource, and the electronic device can continue to execute S1006. In this embodiment, this prompt window can be referred to as the third prompt window. If the electronic device determines that the created video has been saved, the electronic device can display a second sharing pop-up window, and the electronic device can continue to execute S1007.
[0234] For example, combining Figure 11 As shown in (b), the preview interface 1103 displayed by the electronic device may include a second sharing option 1104. When a user needs to share a video created by the electronic device, the user can trigger the second sharing option 1104. When the electronic device receives a trigger operation from the user on the second sharing option 1104, such as a click operation, the electronic device can determine whether the video created by the electronic device has been saved in response.
[0235] In some examples, an electronic device can determine whether it has saved the produced video by determining whether the user has triggered the save option included in the preview interface. If the electronic device determines that the user has triggered the save option included in the preview interface, it can determine that the produced video has been saved. If the electronic device determines that the user has not triggered the save option included in the preview interface, it can determine that the produced video has not been saved.
[0236] For example, combining Figure 11As shown in (b), the preview interface 1103 displayed by the electronic device may also include a save option 1105. When the user needs to save the video created by the electronic device, the user can trigger the save option 1105. When the electronic device receives the user's trigger operation on the save option 1105, such as a click operation, the electronic device can determine that the user has triggered the save option 1105 included in the preview interface 1103, that is, the electronic device can determine that the created video has been saved.
[0237] In other examples, the electronic device can determine whether the produced video has been saved by determining whether the user, after triggering the modification options included in the final preview interface, also triggered the save option. If the electronic device determines that the user triggered both the modification and save options in the final preview interface, the electronic device can determine that the produced video has been saved. If the electronic device determines that the user did not trigger the save option in the final preview interface, the electronic device can determine that the produced video has not been saved.
[0238] For example, combining Figure 11 As shown in (b), the preview interface 1103 displayed on the electronic device may include a save option 1105, a share option 1104, and a style option 1106. When a user needs to modify the style of the video, the user can trigger the style option 1106 to modify the video style. After the user modifies the style of the video, the modified video can be saved. That is, when the electronic device receives a user's trigger operation on the save option 1105, such as a click operation, the electronic device can save the modified video. Afterwards, the user can share the modified video. That is, when the electronic device receives a user's trigger operation on the share option 1104, such as a click operation, the electronic device can determine that after the user has triggered the modification options (such as the style option 1106) included in the preview interface 106, the user has triggered the save option 1105 included in the preview interface 1103, that is, the electronic device can determine that the produced video has been saved.
[0239] It should be noted that the specific implementation method for determining whether a video has been saved by an electronic device can refer to the implementation method for determining whether a video has been saved by an electronic device in S209 above. This application embodiment will not repeat the details here.
[0240] S1006. The electronic device saves the created video and displays a prompt window to inform the user that the video is being saved for sharing.
[0241] When an electronic device receives a user's trigger action to share the video, and determines that the created video has not been saved, the electronic device may save the created video, i.e., the third-party media resource, and may also display a prompt window. The prompt window can be used to inform the user that the video to be shared is being saved; in this embodiment, this prompt window can be referred to as a third prompt window.
[0242] For example, combining Figure 11 As shown in (b), the preview interface 1103 displayed on the electronic device may include a sharing option 1104. When the electronic device receives a user's trigger action on the sharing option 1104, such as a click, in response, the electronic device can determine whether the produced video has been saved. If the electronic device determines that no recorded video has been saved, it can save the produced video. The electronic device can also display... Figure 11 The prompt window 1111 shown in (d) is used to inform the user that the video to be shared is being saved. This prompt window 1111 may include the words "Saving video to be shared," and may also include a progress bar and a progress percentage to indicate the progress of saving the video to be shared. After the electronic device has finished saving the video, the electronic device may display something like... Figure 11 The sharing pop-up shown in (c) allows you to share the saved video.
[0243] S1007. The electronic device displays a sharing pop-up window, which includes multiple icons and a cancel option.
[0244] When the electronic device has finished saving the video it created (i.e., the third media resource), or when the electronic device has determined that it has saved the video it created, the electronic device may display a sharing pop-up window. In this embodiment of the application, this sharing pop-up window may be referred to as the second sharing pop-up window.
[0245] The second sharing pop-up window may include multiple icons, such as application icons, indicating that the electronic device can send the created video to these applications or send it to other electronic devices through these applications. These icons can also be icons of other devices or user avatar icons, indicating that the electronic device can send the captured video to the device corresponding to the icon of another device or to the device corresponding to the user avatar icon. The sharing pop-up window may also include a cancellation option, also known as a cancellation control; in this embodiment, this cancellation control can be referred to as the second cancellation control. The cancellation option can be used to cancel the current sharing operation.
[0246] For example, combining Figure 11 As shown in (d), the electronic device displays a prompt window in the finished video preview interface to inform the user that the video is being saved for sharing. Once the electronic device has finished saving the video, as shown in (d), Figure 11As shown in (c), the electronic device can display a sharing pop-up 1109. The sharing pop-up 1109 may include multiple icons (such as icons of multiple applications) and a cancel option 1110.
[0247] S1008. When the electronic device receives a user's trigger operation on the second icon, the electronic device shares the saved video through the device corresponding to the second icon.
[0248] Once the electronic device has saved the created video, it can display a sharing pop-up. This pop-up may include multiple icons. When the electronic device receives a user's trigger action on the second icon among the multiple icons in the sharing pop-up, such as a click, the electronic device can share the saved video (i.e., the third media resource) through the device corresponding to the second icon, that is, send the saved video to the corresponding device.
[0249] After the electronic device shares and saves the video through the device corresponding to the second icon, the electronic device can display the video details interface, that is, the video details interface of the third media resource.
[0250] For example, combining Figure 11 As shown in (d), when the electronic device has finished saving the created video, the electronic device displays as follows: Figure 11 (c) Share pop-up 1109. Share pop-up 1109 includes multiple application icons. When the electronic device receives a user's trigger action on an application icon, such as a click, the electronic device can send the saved video to the corresponding application. After the electronic device sends the saved video to the corresponding application, such as... Figure 11 As shown in (b) above, the electronic device can display as follows: Figure 11 The video details interface 1101 corresponding to the video produced as shown in (a) is shown in the image.
[0251] S1009. When the electronic device receives a user's trigger operation for the cancel option, the electronic device displays a preview interface of the finished product.
[0252] Once the electronic device has finished saving the video, or has confirmed that it has saved the video, it may display a share pop-up. The share pop-up may include multiple application icons and a cancel option. If the user does not wish to share the video, they can trigger the cancel option to cancel the sharing operation.
[0253] For example, combining Figure 11 As shown in (d), when the electronic device has finished saving the created video, the electronic device displays as follows: Figure 11The sharing pop-up 1109 is shown in (c) above. The sharing pop-up 1109 includes multiple application icons and a cancel option 1110. When the electronic device receives a user's trigger action on the cancel option 1110, such as a click, the electronic device can cancel the current sharing operation and display the following: Figure 11 The preview interface 1103 shown in (b) is the finished product preview interface.
[0254] In some examples, after the electronic device receives a user's trigger action to cancel the option and displays a preview interface, the device can further modify the video it created. After further modifications (such as changing the style or background music), the device can share or save the modified video again. The modification options can be used to edit videos recorded by the electronic device, such as changing the style, changing the background music, or performing editing. Accordingly, modification options can include style options, music options, or editing options.
[0255] After the electronic device modifies the video, when the electronic device receives a user's trigger operation on the save option included in the preview interface, the electronic device can save the modified video in response and display a prompt window to inform the user that the video is being saved.
[0256] For example, combining Figure 11 As shown in (c), when the electronic device receives a user's trigger operation on the cancel option 1109, such as a click operation, the electronic device can cancel the current sharing operation and display as shown in (c). Figure 11 The preview interface 1103 is shown in (b) above. Afterwards, upon receiving a user's trigger operation on the style option 1106 included in the preview interface 1103, the electronic device can modify the style of the produced video. Alternatively, upon receiving a user's trigger operation on the music option 1108 included in the preview interface 1103, the electronic device can modify the background music of the produced video. Afterwards, upon receiving a user's trigger operation on the save option 1105 included in the preview interface 1103, the electronic device can save the modified video and display a prompt window to indicate to the user that the video is being saved. This prompt window may include the words "Saving video," and may also include a progress bar and a progress percentage to indicate the progress of saving the video.
[0257] After the electronic device modifies the video, when it receives a user's trigger action on the share option included in the preview interface, it can determine whether the modified video has been saved. If the electronic device determines that the modified video has not been saved, it can display a prompt window to inform the user that the video is being saved for sharing. If the electronic device determines that the modified video has been saved, it can display a share pop-up window. In other words, the process of sharing the modified video after it has been modified by the electronic device can be referred to S1004-S1009 above.
[0258] For example, combining Figure 11 As shown in (c), when the electronic device receives a user's trigger operation on the cancel option 1110, the electronic device cancels the current sharing operation and displays as shown in (c). Figure 11 The preview interface 1103 is shown in (b) above. Afterwards, upon receiving a user's trigger operation on the style option 1106 included in the preview interface 1103, the electronic device can modify the style of the captured video. Afterwards, upon receiving a user's trigger operation on the share option 1104 included in the preview interface 1103, the electronic device can determine whether the modified video has been saved. If the electronic device determines that the modified video has not been saved, it can save the modified video and display it as shown below. Figure 11 The prompt window shown in (d) indicates that the user is saving a video to be shared. If the electronic device determines that a modified video has been saved, the electronic device displays the following: Figure 11 The sharing pop-up shown in (d) is shown in the image.
[0259] After the electronic device modifies the produced video, when the electronic device receives a user's trigger operation on the return option included in the final preview interface (i.e., the fourth interface), the electronic device can determine whether the modified video has been saved. If the electronic device determines that the modified video has not been saved, the electronic device can display a prompt window asking the user whether to save the video. In this embodiment, this prompt window can be referred to as the fourth prompt window.
[0260] For example, combining Figure 11 As shown in (d), when the electronic device receives a user's trigger operation on the cancel option 1110, the electronic device cancels the current sharing operation and displays as shown in Figure (d). Figure 11The preview interface 1103 is shown in (b) above. Subsequently, when the electronic device receives a user's trigger operation on the return option 1107 included in the preview interface 1103, such as a click operation, in response, the electronic device can display a prompt window in the preview interface asking the user whether to save the video. This prompt window may include the words "Save video?" and may also include two options: yes and no.
[0261] When an electronic device receives a user's "Yes" (confirmation) response in the prompt window, such as a click, the device can save the modified video. The electronic device can also display... Figure 7 The window shown indicates that a video is being saved.
[0262] When an electronic device receives a user's trigger action on the "No" option in the prompt window, such as a click, the electronic device can display something like this: Figure 11 The video details interface 1101 shown in (a) is shown in the image.
[0263] In some examples, after the electronic device displays the preview interface, it can leave the video unmodified. At this point, the electronic device can also share the video again. When the electronic device receives a user's trigger action on the sharing options included in the preview interface, it can display a share pop-up.
[0264] For example, combining Figure 11 As shown in (c), when the electronic device receives a user's trigger operation on the cancel option 1110, such as a click operation, the electronic device can cancel the current sharing operation and display as shown in (c). Figure 11 The preview interface 1103 shown in (b) is shown in the diagram. Afterwards, upon receiving a user's trigger operation on the sharing option 1104 included in the preview interface 1103, the electronic device can, as shown in the diagram... Figure 11 The sharing pop-up 1109 shown in (c) allows the electronic device to share videos created by the electronic device.
[0265] When the electronic device does not modify the video created by the electronic device, and the electronic device receives a trigger operation from the user's preview interface including the return option, the electronic device can display the preview interface in response, so that the user can continue to create the video to share.
[0266] When an electronic device does not modify the video it captures, and the electronic device receives a trigger operation from the user's preview interface including the save option, the electronic device may, in response, not save the captured video again.
[0267] The solution proposed in this application allows for the automatic saving of videos created using stored video files when sharing them on electronic devices. The saved videos can then be shared, thereby reducing user operations and improving the efficiency of video sharing.
[0268] Corresponding to the methods in the foregoing embodiments, this application also provides a media resource sharing device. This media resource sharing device can be applied to electronic devices to implement the methods in the foregoing embodiments. The functions of this device can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0269] For example, Figure 12 A schematic diagram of the structure of a media resource sharing device 12 is shown, as follows: Figure 12 As shown, the media resource sharing device 12 may include: a startup module 1201, a display module 1202, a shooting module 1203, a saving module 1204, and a sharing module 1205, etc.
[0270] The startup module 1201 can be used to start the camera of the electronic device in response to the user's trigger operation on the camera application icon.
[0271] The display module 1202 can be used to display a first preview interface in response to a user's trigger operation on the camera application icon. The first preview interface includes shooting controls.
[0272] The shooting module 1203 can be used to obtain the first media resource in response to the user's trigger operation on the shooting control.
[0273] The display module 1202 can also be used to display a first interface; the first interface includes a preview screen of the first media resource and a first sharing control.
[0274] The save module 1204 can be used to save the first media resource in response to the user's trigger operation on the first sharing control.
[0275] The display module 1202 can also be used to display a first sharing pop-up window after the first media resource is saved. The first sharing pop-up window includes multiple icons.
[0276] The sharing module 1205 can be used to respond to a user's trigger operation on the first icon among multiple icons, and share the first media resource through the device corresponding to the first icon.
[0277] In another possible implementation, the display module 1202 can also be used to display a first prompt window, which is used to prompt the user that the electronic device is saving a first media resource.
[0278] In conjunction with the third aspect, in another possible implementation, the display module 1202 can also be used to display a first interface in response to a user's triggering operation on the first cancel control; the first interface also includes a first return control.
[0279] The display module 1202 can also be used to respond to the user's trigger operation on the first return control and display the first preview interface when the electronic device has not modified the first media resource.
[0280] The display module 1202 can also be used to display a second prompt window when the electronic device has modified the first media resource. The second prompt window is used for the user to confirm whether to save the modified first media resource. The second prompt window includes a confirmation option.
[0281] The save module 1204 can also be used to save the modified first media resource in response to the user's confirmation option.
[0282] The display module 1202 can also be used to display the first preview interface in response to the user's confirmation of saving the modified first media resource.
[0283] In another possible implementation, the display module 1202 can also be used to display the first sharing pop-up window in response to a user's triggering operation on the first sharing control, provided that the electronic device has not modified the first media resource.
[0284] The display module 1202 can also be used to display a second prompt window when the electronic device has modified the first media resource; the second prompt window includes a confirmation option.
[0285] The save module 1204 can also be used to save the modified first media resource in response to the user's confirmation option.
[0286] The display module 1202 can also be used to display the first sharing pop-up window in response to the user's confirmation of saving the modified first media resource.
[0287] In another possible implementation, the display module 1202 can also be used by an electronic device to display a first preview interface.
[0288] In another possible implementation, the display module 1202 can also be used to display a first template pop-up window in response to a user's trigger operation on the template control; wherein the first template pop-up window includes multiple template options, each template option corresponding to a shooting template, and the shooting template is used to add audio and video effects to media resources shot by the electronic device.
[0289] The shooting module 1203 can also be used to shoot media resources using the shooting template corresponding to the target template option in the first template pop-up window in response to the user's selection operation of the target template option.
[0290] The display module 1202 can also be used to display a third interface in response to the user's selection of the target template option in the first template pop-up window; the third interface is the viewfinder interface for shooting by the electronic device.
[0291] In another possible implementation, the third interface is the viewfinder of the electronic device in multi-lens recording mode, while the first preview interface is the viewfinder of the electronic device before it starts recording in multi-lens recording mode.
[0292] In another possible implementation, the first media resource is an image.
[0293] In another possible implementation, the first media resource is video, and the shooting module 1203 can also be used to shoot the first media resource using a camera in response to a user's trigger operation on the shooting control.
[0294] The shooting module 1203 can also be used to display the first interface in response to the user's triggering operation on the shooting control again.
[0295] For example, Figure 13 A schematic diagram of the structure of a media resource sharing device 13 is shown, as follows: Figure 13 As shown, the media resource sharing device 13 may include: a display module 1301, a storage module 1302, and a sharing module 1303, etc.
[0296] The display module 1301 can be used to display a gallery interface, which includes a second media resource.
[0297] The display module 1301 can also be used to display the details interface of the second media resource in response to a trigger operation on the second media resource; the details interface of the second media resource includes a one-click creation control, which is used to trigger the electronic device to create a third media resource using the second media resource.
[0298] The display module 1301 can also be used to display a fourth interface in response to the user's trigger operation on the one-click video creation control. The fourth interface includes a preview screen of the third media resource and a second sharing control.
[0299] The save module 1302 can be used to save the third media resource in response to the user's trigger operation on the second sharing control.
[0300] The display module 1301 can also be used to display a second sharing pop-up window after the third media resource has been saved. The second sharing pop-up window includes multiple icons.
[0301] The sharing module 1303 can be used to share third media resources through the device corresponding to the second icon in response to a user's trigger operation on the second icon among multiple icons.
[0302] In another possible implementation, the display module 1301 can also be used to display a third prompt window, which is used to prompt the user that the electronic device is saving a third media resource.
[0303] In another possible implementation, the display module 1301 can also be used to display a fourth interface in response to a user's triggering operation on the second cancel control; the fourth interface also includes a second return control.
[0304] The display module 1301 can also be used to respond to the user's trigger operation on the second return control and display the details interface of the third media resource without modifying the third media resource on the electronic device.
[0305] The display module 1301 can also be used to display a fourth prompt window when the third media resource has been modified on the electronic device. The fourth prompt window is used for the user to confirm whether to save the modified third media resource. The fourth prompt window includes a confirmation option.
[0306] The save module 1302 can also be used to save modified third-party media resources in response to a user's confirmation option.
[0307] The display module 1301 can also be used to display the details interface of the modified third-party media resource in response to the user's confirmation of saving the modified third-party media resource.
[0308] In another possible implementation, the display module 1301 can also be used to display a second sharing pop-up window in response to a user's triggering operation on the second sharing control, provided that the electronic device has not modified the third media resource.
[0309] The display module 1301 can also be used to display a fourth prompt window when the electronic device has modified a third media resource; the fourth prompt window includes a confirmation option.
[0310] The save module 1302 can also be used to save modified third-party media resources in response to a user's confirmation option.
[0311] The display module 1301 can also be used to display a second sharing pop-up window in response to the user's confirmation of saving the modified third media resource.
[0312] In another possible implementation, the display module 1301 can also be used to display the details interface of a third media resource.
[0313] It should be understood that the division of units or modules (hereinafter referred to as units) in the above device is only a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, all units in the device can be implemented in software through processing element calls; all units can be implemented in hardware; or some units can be implemented in software through processing element calls, and some units can be implemented in hardware.
[0314] For example, each unit can be a separate processing element, or it can be integrated into a chip within the device. Alternatively, it can be stored as a program in memory, invoked and executed by a processing element within the device. Furthermore, these units can be integrated in whole or in part, or implemented independently. The processing element described here can also be called a processor, which can be an integrated circuit with signal processing capabilities. In implementation, each step of the above method or each of the above units can be implemented through integrated logic circuits in the processor element or through software invoked by the processing element.
[0315] In one example, the unit in the above device may be one or more integrated circuits configured to implement the above methods, such as one or more ASICs, or one or more DSPs, or one or more FPGAs, or a combination of at least two of these integrated circuit forms.
[0316] For example, when the units in the device can be implemented through a processing element scheduler, the processing element can be a general-purpose processor, such as a CPU or other processor capable of calling programs. Alternatively, these units can be integrated together to form a system-on-a-chip (SOC).
[0317] In one implementation, the units that implement the corresponding steps in the above methods can be implemented in the form of a processing element scheduler. For example, the device may include a processing element and a storage element, wherein the processing element calls a program stored in the storage element to execute the methods described in the above embodiments. The storage element may be a storage element located on the same chip as the processing element, i.e., an on-chip storage element.
[0318] In another implementation, the program used to perform the above methods can be located on a storage element on a different chip than the processing element, i.e., an off-chip storage element. In this case, the processing element calls or loads the program from the off-chip storage element onto the on-chip storage element to call and execute the methods described in the above method embodiments.
[0319] For example, embodiments of this application may also provide an apparatus, such as an electronic device, which may include a processor and a memory for storing processor-executable instructions. When the processor is configured to execute the aforementioned instructions, the electronic device implements the media resource sharing method as described in the foregoing embodiments. The memory may be located within or outside the electronic device. Furthermore, the processor may include one or more processors.
[0320] In another implementation, the unit implementing each step of the above method can be configured as one or more processing elements, which can be disposed on the corresponding electronic device described above. These processing elements can be integrated circuits, such as one or more ASICs, one or more DSPs, one or more FPGAs, or combinations of these types of integrated circuits. These integrated circuits can be integrated together to form a chip.
[0321] For example, this application also provides a chip that can be applied to the aforementioned electronic device. The chip includes one or more interface circuits and one or more processors; the interface circuits and processors are interconnected via lines; the processor receives and executes computer instructions from the electronic device's memory through the interface circuits to implement the methods described in the above method embodiments.
[0322] This application also provides a computer program product, including computer instructions for operation of the electronic device described above.
[0323] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0324] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0325] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0326] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0327] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product, such as a program. This software product is stored in a program product, such as a computer-readable storage medium, and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0328] For example, embodiments of this application may also provide a computer-readable storage medium storing computer program instructions thereon. When the computer program instructions are executed by an electronic device, the electronic device causes the electronic device to implement the media resource sharing method as described in the foregoing method embodiments.
[0329] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A media resource sharing method, characterized in that, Applied to electronic devices, the method includes: In response to a user's triggering operation on the camera application icon, the electronic device activates its camera and displays a first preview interface, which includes shooting controls. The electronic device responds to the user's trigger operation on the shooting control to obtain the first media resource; the electronic device displays a first interface; the first interface includes a preview screen of the first media resource and a first sharing control; The electronic device, in response to a user's triggering operation on the first sharing control, saves the first media resource if the electronic device determines that it has not saved the first media resource before; after the first media resource is saved, a first sharing pop-up window is displayed, which includes multiple icons and a first cancel control, the first cancel control being used to trigger the electronic device to cancel sharing the first media resource; if the electronic device determines that the first media resource has been saved before, the first sharing pop-up window is displayed; wherein, saving the first media resource includes: the electronic device displaying a first prompt window, the first prompt window being used to prompt the user that the electronic device is saving the first media resource; The electronic device responds to the user's trigger operation on the first icon among the plurality of icons and shares the first media resource through the device corresponding to the first icon; The electronic device displays the first interface in response to a user's triggering operation on the first cancel control; the first interface also includes a first return control; In response to the user's triggering operation on the first return control, the electronic device displays the first preview interface without modifying the first media resource. If the electronic device has modified the first media resource, a second prompt window is displayed. The second prompt window is used by the user to confirm whether to save the modified first media resource. The second prompt window includes a confirmation option. In response to the user's confirmation option, the electronic device saves the modified first media resource and displays the first preview interface. Wherein, saving the first media resource when the electronic device determines that it has not saved the first media resource includes: If the electronic device has modified the first media resource, the second prompt window is displayed; the second prompt window also includes a non-confirmation option; in response to the user's triggering operation on the non-confirmation option, the electronic device determines that the first media resource has not been saved, and saves the first media resource; after the first media resource is saved, a first sharing pop-up window is displayed; When the electronic device determines that the first media resource has been saved, displaying the first sharing pop-up includes: If the electronic device has modified the first media resource and the electronic device has responded to the user's trigger operation on the confirmation option, the electronic device determines that the first media resource has been saved and displays the first sharing pop-up.
2. The method according to claim 1, characterized in that, After the electronic device has shared the first media resource via the first icon, the method further includes: The electronic device displays the first preview interface.
3. The method according to claim 1 or 2, characterized in that, The first preview interface includes a first template control, and the method further includes: The electronic device responds to the user's trigger operation on the template control and displays a first template pop-up window; wherein, the first template pop-up window includes multiple template options, each template option corresponding to a shooting template, and the shooting template is used to add audio and video effects to the media resources shot by the electronic device; The electronic device responds to the user's selection of a target template option in the first template pop-up window, uses the shooting template corresponding to the target template option to shoot media resources, and displays a third interface; the third interface is the viewfinder interface for shooting by the electronic device.
4. The method according to claim 3, characterized in that, The third interface is the viewfinder of the electronic device when it is recording in multi-lens video mode, while the first preview interface is the viewfinder of the electronic device before it starts recording in multi-lens video mode.
5. The method according to claim 1, characterized in that, The first media resource is an image.
6. The method according to claim 1, characterized in that, The first media resource is a video. The electronic device, in response to a user's triggering operation on the shooting control, obtains the first media resource, which includes: The electronic device responds to the user's trigger operation on the shooting control and uses the camera to capture the first media resource; The electronic device displays the first interface in response to the user's renewed triggering of the shooting control.
7. A method for sharing media resources, characterized in that, Applied to electronic devices, the method includes: The electronic device displays a gallery interface, which includes a second media resource. In response to a trigger operation on the second media resource, the electronic device displays a details interface of the second media resource; the details interface of the second media resource includes a one-click creation control, which is used to trigger the electronic device to create a third media resource using the second media resource; The electronic device responds to the user's trigger operation on the one-click video creation control and displays a fourth interface, which includes a preview screen of the third media resource and a second sharing control. The electronic device, in response to a user's triggering operation on the second sharing control, saves the third media resource; wherein, the electronic device saving the third media resource includes: the electronic device displaying a third prompt window, the third prompt window being used to prompt the user that the electronic device is saving the third media resource; After the third media resource is saved, a second sharing pop-up window is displayed. The second sharing pop-up window includes multiple icons and a second cancellation control. The second cancellation control is used to trigger the electronic device to cancel sharing the third media resource. The electronic device responds to a user's trigger operation on the first icon among the plurality of icons and shares the third media resource through the device corresponding to the first icon; The electronic device displays the fourth interface in response to a user's triggering operation on the second cancel control; the fourth interface also includes a second return control; In response to the user's triggering operation on the second return control, the electronic device displays the details interface of the third media resource if the electronic device has not modified the third media resource. If the electronic device has modified the third media resource, a fourth prompt window is displayed. The fourth prompt window is used by the user to confirm whether to save the modified third media resource. The fourth prompt window includes a confirmation option. In response to the user's confirmation option, the electronic device saves the modified third media resource and displays a details interface of the modified third media resource.
8. The method according to claim 7, characterized in that, After the electronic device displays the fourth interface, the method further includes: In response to the user's triggering operation on the second sharing control, the electronic device displays the second sharing pop-up window if the electronic device has not modified the third media resource; If the electronic device has modified the third media resource, the fourth prompt window is displayed; the fourth prompt window includes a confirmation option. In response to the user's confirmation option, the electronic device saves the modified third media resource and displays the second sharing pop-up.
9. The method according to claim 7 or 8, characterized in that, After the electronic device has shared the third media resource via the first icon, the method further includes: The electronic device displays a details interface of the third media resource.
10. An electronic device, characterized in that, The electronic device includes a processor and a memory for storing processor-executable instructions; the processor is configured to, when executing the instructions, cause the electronic device to perform the method as described in any one of claims 1 to 9.
11. A computer-readable storage medium having computer program instructions stored thereon; characterized in that, When the computer program instructions are executed by the electronic device, the electronic device performs the method as described in any one of claims 1 to 9.