CN115484397A - Multimedia resource sharing method and electronic equipment - Google Patents

Multimedia resource sharing method and electronic equipment Download PDF

Info

Publication number
CN115484397A
CN115484397A CN202210039510.4A CN202210039510A CN115484397A CN 115484397 A CN115484397 A CN 115484397A CN 202210039510 A CN202210039510 A CN 202210039510A CN 115484397 A CN115484397 A CN 115484397A
Authority
CN
China
Prior art keywords
interface
sharing
multimedia resource
user
video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210039510.4A
Other languages
Chinese (zh)
Other versions
CN115484397B (en
Inventor
韩笑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Publication of CN115484397A publication Critical patent/CN115484397A/en
Application granted granted Critical
Publication of CN115484397B publication Critical patent/CN115484397B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The application provides a multimedia resource sharing method and electronic equipment, relates to the field of electronic equipment, and can reduce user operation and improve user experience. The method comprises the following steps: the electronic equipment responds to a first event for triggering the electronic equipment to finish shooting, and displays a first interface; the first interface is used for previewing a first multimedia resource shot by the electronic equipment and also comprises a first sharing control for triggering the electronic equipment to share the first multimedia resource; the electronic equipment responds to the triggering operation of a user on a first sharing control, and displays a first sharing popup window, wherein the first sharing popup window comprises a plurality of icons of application programs used for sharing a first multimedia resource; the electronic equipment responds to the selection operation of a user on an icon of a first application program in the first sharing popup window, and shares a first multimedia resource through the first application program; after the electronic equipment shares the first video through the first application program, displaying a second interface; and the second interface is a view interface which is not shot by the electronic equipment.

Description

Multimedia resource sharing method and electronic equipment
The present application claims priority of chinese patent application entitled "a method and electronic device for creating a video for a user based on a story line mode" filed by the national intellectual property office on 16/06/16/2021 with application number 202110676709.3, the entire contents of which are incorporated herein by reference.
The present application claims priority of chinese patent application entitled "a multimedia resource sharing method and electronic device" filed by the national intellectual property office on 29/11/29/2021, with application number 202111434032.9, the entire contents of which are incorporated herein by reference.
Technical Field
The application relates to the field of terminals, in particular to a multimedia resource sharing method and electronic equipment.
Background
To improve user experience, electronic devices such as mobile phones and tablet computers are usually equipped with multiple cameras (e.g., front camera and rear camera). The user can select a corresponding shooting mode according to the requirement of the user, such as a single-mirror shooting mode or a multi-mirror shooting mode.
After the user finishes shooting by using the electronic equipment, the electronic equipment also supports the user to share the shot video or the video generated according to the shot picture to other users through other applications by implementing sharing operation. In the existing sharing mode, under the condition of successful sharing, a user needs to perform a return operation for many times to return to an interface before the user can perform the sharing operation, the user operation is complex, and the user experience is not good enough.
Disclosure of Invention
The embodiment of the application provides a multimedia resource sharing method and electronic equipment, which can reduce user operation and improve user experience.
In order to achieve the above purpose, the embodiments of the present application adopt the following technical solutions:
in a first aspect, the present application provides a multimedia resource sharing method, which may be applied to an electronic device, where the electronic device includes a plurality of cameras. The method comprises the following steps: the electronic equipment responds to a first event and displays a first interface; the first interface is used for previewing a first multimedia resource shot by the electronic equipment, and further comprises a first sharing control used for triggering the electronic equipment to share the first multimedia resource; the electronic equipment responds to the triggering operation of a user on a first sharing control, and displays a first sharing popup window, wherein the first sharing popup window comprises a plurality of icons of application programs used for sharing a first multimedia resource; the electronic equipment responds to the selection operation of a user on an icon of a first application program in the first sharing popup window, and shares a first multimedia resource through the first application program; after the electronic equipment shares the first multimedia resource through the first application program, displaying a second interface; and the second interface is a view interface which is not shot by the electronic equipment.
Based on the above embodiment, after the electronic device shares the first multimedia resource (e.g., the multi-lens video) that is completely photographed (e.g., the electronic device receives the return operation of the user after sharing the first multimedia resource), the electronic device may directly return to the view interface that is not photographed before the interface that can receive the sharing operation (i.e., the interface that the user can perform the sharing operation), so that the user can continue to photograph the next time. The user operation is reduced, and the user experience is improved.
In a possible design of the first aspect, before the electronic device displays the first interface in response to the first event, the method further includes: the electronic equipment displays a third interface; the third interface is a view interface which is not shot by the electronic equipment; the third interface further comprises a template control; the electronic equipment responds to the triggering operation of a user on the template control and displays the template popup; the template popup window comprises a plurality of template options, each template option corresponds to one shooting template, and the shooting templates are used for adding audio and video effects to multimedia resources shot by the electronic equipment; the electronic device responds to the user's selection operation of the target template option in the template popup, shooting the multimedia resource by adopting a shooting template corresponding to the target template option, and displaying a fourth interface; the fourth interface is a viewfinder interface that the electronic device is shooting.
In this way, the electronic device can select an appropriate shooting template according to its own needs before shooting the multimedia resource (photo or video). And then, when shooting, the shooting template can be used for increasing the audio and video effect of the multimedia resources obtained by shooting, and the use experience of the user is improved.
In a first aspect among the possible ways of designing the device, it is, the second interface also includes a template pop-up window.
Based on the above scheme, in a scene that a user needs to select a shooting template in a process of shooting a multimedia resource by the user, after the electronic device shares a first multimedia resource (for example, a multi-lens video) that is completely shot (for example, after the electronic device shares the first multimedia resource, a return operation of the user is received), the template selection interface before an interface that can receive the sharing operation (that is, an interface that the user can implement the sharing operation) can be directly returned, so that the user can continue shooting next time. The user operation is reduced, and the user experience is improved.
In a possible design manner of the first aspect, the first sharing popup further includes a first cancel option, where the first cancel option is used to trigger the electronic device to cancel sharing of the first multimedia resource; the method further comprises the following steps: the electronic equipment responds to the selection operation of the user on the first cancel option and displays a first interface.
When the user performs the triggering operation on the cancel option, it indicates that the user may need to perform other processing on the shot first multimedia resource, and then determines whether to share the first multimedia resource. Therefore, based on the scheme, when the user needs to perform other processing on the shot video, the user can timely return to the first interface (namely the film preview interface) through corresponding operation (namely triggering the first cancel option), so that the user can conveniently perform other processing.
In a possible design manner of the first aspect, the fourth interface is a view interface on which the electronic device is recording in the multi-lens recording mode, the first multimedia resource is a first video, and the third interface is a view interface on which the electronic device has not started recording in the multi-lens recording mode.
Based on the above scheme, the technical scheme provided by the embodiment of the application can be smoothly applied to the multi-mirror video recording mode of the electronic device, after the electronic device shares the first multimedia resource (for example, the multi-mirror video recording) which is completely shot (for example, the electronic device receives the returning operation of the user after sharing the first multimedia resource), the template selection interface before the interface which can receive the sharing operation (that is, the interface which can implement the sharing operation by the user) can be directly returned, so that the user can continue shooting the multi-mirror video recording next time. The user operation is reduced, and the user experience is improved.
In a second aspect, the present application provides a multimedia resource sharing method, which is applied to an electronic device including a plurality of cameras. The method comprises the following steps: the electronic equipment displays a gallery display interface; the gallery display interface comprises a plurality of multimedia resources; the multimedia resource is a video or a photo; the electronic equipment receives the triggering operation of a user on a second multimedia resource in the gallery display interface, responds to the triggering operation on the second multimedia resource, and displays a detailed interface of the second multimedia resource; the detail interface of the second multimedia resource comprises a second sharing control; the second sharing control is used for triggering the electronic equipment to share a second multimedia resource; the electronic equipment responds to the click operation of the user on the second sharing control and displays a second sharing popup window; the second sharing popup window comprises a plurality of icons of application programs for sharing the second multimedia resource; the electronic equipment responds to the selection operation of the user on the icon of the second application program in the second sharing popup window, and shares the second multimedia resource through the second application program; and after the electronic equipment shares the second multimedia resource through the second application program, displaying a detailed interface of the second multimedia resource.
Based on the technical solution provided by the above embodiment, after the electronic device shares the stored second multimedia resource (e.g., the electronic device receives a return operation of the user after sharing the second multimedia resource), the electronic device may directly return to an interface (i.e., a detailed interface of the second multimedia resource) that can receive the sharing operation, so that the user may quickly enter into other processing on the second multimedia resource after sharing is completed. The user operation is reduced, and the user experience is improved.
In a possible design manner of the second aspect, the second sharing popup window further includes a second cancel option, and the second cancel option is used for triggering the electronic device to cancel sharing of the second video; the method further comprises the following steps: and the electronic equipment responds to the selection operation of the user on the second cancel option and displays a detail interface of the second multimedia resource.
When the user performs the trigger operation on the cancel option, it indicates that the user may need to perform other processing on the second multimedia resource, and then determines whether to share the second multimedia resource. Therefore, based on the scheme, when the user needs to perform other processing on the stored second multimedia resource, the user can timely return to the detailed interface of the second multimedia resource through corresponding operation (namely triggering the second cancel option), so that the user can perform other processing conveniently.
In a possible design manner of the second aspect, the detail interface of the second multimedia resource further includes a template configuration control, the template configuration control is used for triggering the electronic device to randomly add a shooting template for the second multimedia resource, and the shooting template is used for adding an audio/video effect for the second multimedia resource; the method further comprises the following steps: the electronic equipment receives the triggering operation of the user on the template configuration control, responds to the triggering operation on the template configuration control, and displays a piece preview interface of the second multimedia resource; the piece previewing interface of the second multimedia resource is used for previewing a third multimedia resource, and the third multimedia resource is the second multimedia resource after a shooting template is randomly added; the sheet preview interface further comprises a third sharing control, and the third sharing control is used for triggering the electronic equipment to share a third multimedia resource; responding to the triggering operation of the user on the third sharing control, and displaying a third sharing popup window by the electronic equipment; the third sharing popup window comprises a plurality of icons of application programs for sharing the third multimedia resource; the electronic equipment responds to the selection operation of the user on the icon of the third application program in the third sharing popup window, and shares the third multimedia resource through the third application program; and after the electronic equipment shares the third multimedia resource through the third application program, displaying a detailed interface of the third multimedia resource.
Based on the technical solution provided by the above embodiment, after the electronic device shares the third multimedia resource manufactured by using the stored second multimedia resource (for example, the electronic device receives the return operation of the user after sharing the third media resource), the electronic device may directly return to the interface (that is, the detailed interface of the third multimedia resource) capable of receiving the sharing operation, so that the user may quickly enter into other processing on the third multimedia resource after sharing is completed. The user operation is reduced, and the user experience is improved.
In a possible design manner of the second aspect, the third sharing popup further includes a third cancel option, where the third cancel option is used to trigger the electronic device to cancel sharing of the third multimedia resource; the method further comprises the following steps: and the electronic equipment responds to the selection operation of the user on the third cancel option and displays a piece preview interface of the third multimedia resource.
When the user performs the triggering operation on the cancel option, it indicates that the user may need to perform other processing on the third multimedia resource, and then determines whether to share the third multimedia resource. Therefore, based on the above scheme, when the user needs to perform other processing on the manufactured third multimedia resource, the user can timely return to the detailed interface of the third multimedia resource through corresponding operation (namely, triggering the third cancel option), so that the user can perform other processing conveniently.
In a third aspect, the present application provides an electronic device comprising: the system comprises a plurality of cameras, a display screen, a memory and one or more processors; the camera, the display screen and the memory are coupled with the processor; wherein the memory has stored therein computer program code, the computer program code comprising computer instructions that, when executed by the processor, cause the electronic device to perform the multimedia resource sharing method as provided by the first aspect, or the multimedia resource sharing method as provided by the second aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, which includes computer instructions, when the computer instructions are executed on an electronic device, causing the electronic device to execute the multimedia resource sharing method provided in the first aspect, or the multimedia resource sharing method provided in the second aspect.
In a fifth aspect, the present application provides a computer program product, where the computer program product includes executable instructions, and when the computer program product runs on an electronic device, the electronic device executes the multimedia resource sharing method according to the first aspect, or the multimedia resource sharing method according to the second aspect.
It can be understood that, the beneficial effects achieved by the technical solutions provided in the third aspect to the fifth aspect provided above can refer to the beneficial effects in the first aspect and the second aspect and any one of the possible design manners thereof, and are not described herein again.
Drawings
Fig. 1 is a schematic interface diagram of an electronic device for recording in a front-back double-shot mode according to an embodiment of the present disclosure;
fig. 2 is a schematic view of a scene for sharing a captured video according to the prior art;
fig. 3 is a schematic view of a scene returned after a shot video is shared according to an embodiment of the present application;
fig. 4 is a schematic view of a scene of a shot video provided by the prior art;
fig. 5 is a schematic interface diagram of another electronic device for recording in a front-back bi-shooting mode according to the prior art;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of a software architecture of an electronic device according to an embodiment of the present application;
fig. 8 is a schematic flowchart of sharing a shot video according to an embodiment of the present application;
fig. 9 is a schematic diagram of a desktop of a mobile phone according to an embodiment of the present application;
fig. 10 is a schematic flow chart illustrating another process of sharing a captured video according to an embodiment of the present disclosure;
fig. 11 is a schematic view of a multi-mirror shooting scene provided in an embodiment of the present application;
fig. 12 is a schematic view of a video sharing scene according to an embodiment of the present disclosure;
fig. 13 is a schematic flowchart of sharing stored video according to an embodiment of the present application;
fig. 14 is a schematic view of a scene for selecting to share a video according to an embodiment of the present disclosure;
fig. 15 is a schematic flowchart of a video sharing process provided in an embodiment of the present application;
fig. 16 is a schematic view of a scene for selecting a video to be produced according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
The terminology used in the following embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in the specification of the present application and the appended claims, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that "/" indicates an OR meaning, for example, A/B may indicate A or B; the "and/or" in the text is only an association relation describing the association object, and indicates that three relations may exist, for example, a and/or B may indicate: a exists alone, A and B exist simultaneously, and B exists alone.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The terms "first" and "second" in the following embodiments of the present application are used for descriptive purposes only and are not to be construed as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of embodiments of the application, unless stated otherwise, "plurality" means two or more.
At present, electronic devices such as mobile phones and tablet computers are usually equipped with a plurality of cameras to support various shooting requirements of users. Taking a mobile phone as an example, the mobile phone may have a front camera and a plurality of rear cameras to support a single-lens shooting mode and a multi-lens shooting mode. Of course, a plurality of front cameras may also be configured in the mobile phone, which is not limited in the embodiment of the present application.
Taking an electronic device as a mobile phone, and a user using the electronic device to select a multi-lens shooting mode (for example, a front-back double-shooting mode in which a front-facing camera and a rear-facing camera are used to shoot simultaneously) for recording, the following description is made for the prior art:
before the video begins, the user controls the handset to open the camera application and display the multi-mirror video preview interface 101 shown in fig. 1. Taking the example of using a front camera to shoot a foreground picture and using a rear camera to shoot a background picture in a multi-mirror shooting mode, the multi-mirror video preview interface may include the foreground picture and the background picture.
After the shooting is completed, the mobile phone displays a film preview interface 201 as shown in fig. 2 (a). The piece preview interface 201 can display a certain frame of picture in the photographed video as a cover page. A share option 202 may be included in the filmed preview interface 201. The cell phone may display a share popup 203 in the filmed preview interface 201 in response to a trigger operation (e.g., a click operation) for the share option 202, as shown in fig. 2 (b). The sharing pop-up window 203 may include icons of a plurality of applications and a cancel option 204. The user can select the icon of the corresponding application program to trigger based on the own requirement, so as to forward and share the video displayed in the preview interface 201.
Referring to (b) of fig. 2, sharing in the popup 203 by the user
Figure BDA0003469629850000051
For example, the icon 205 performs a trigger operation (e.g., a click operation), and the mobile phone may display a sharing target selection interface 206 as shown in fig. 2 (c) in response to the trigger operation. The sharing target selection interface 206 includes a plurality of chat records that can be selected by the user. If the user performs a trigger operation (e.g., a click operation) on the first chat record 207 in the sharing target selection interface 206, the mobile phone may display, in response to the trigger operation, a chat interface 208 corresponding to the first chat record 207 as shown in (d) in fig. 2, and send the video displayed in the piece of preview interface 201 to the chat interface 208.
Then, if the user needs to return to the multi-mirror video preview interface to capture the next video, the user needs to perform a return operation of the system setting (for example, slide from the left to the right of the screen or slide from the right to the left of the screen). The handset can display the main interface 301 of the WeChat as shown in FIG. 3 (a) in response to the return operation. Thereafter, the user performs a return operation again, and the cell phone can display a filmed preview interface 302 as shown in (b) of fig. 3 (the same as the filmed preview interface 201 shown in (a) of fig. 2) in response to the return operation. Then, the user performs a return operation again, and the mobile phone may display the multi-mirror video preview interface 303 as shown in fig. 3 (c) in response to the return operation.
It can be seen that, in the existing multimedia resource sharing scheme, after the user successfully shares, if the next multimedia resource needs to be shot, the user needs to perform a relatively complicated operation, and the user experience is not good enough.
In view of the foregoing problems, an embodiment of the present application provides a multimedia resource sharing method, which can be applied to an electronic device. According to the method, after the user shares the multimedia resource through the electronic equipment, the user can directly return to the previous interface (such as a view-finding interface which can be used for shooting the multimedia resource and does not start to shoot) of the interface (namely, the interface which can be used for carrying out the sharing operation) which can receive the sharing operation by using the return operation, so that the operation frequency of the user is reduced, and the use experience of the user is improved.
In order to better explain the embodiments of the present application, the following description is provided to the related art of the background art.
Taking an electronic device as an example of a mobile phone, in a single-lens shooting mode, the mobile phone uses one camera (such as a front camera or a rear camera) to shoot. In the multi-lens shooting mode, the mobile phone can adopt any two or more than two cameras in the mobile phone to shoot. The single-mirror photographing mode may include a front single-mirror photographing mode and a rear single-mirror photographing mode. The multi-mirror shooting mode can comprise a rear double-shot mode, a front double-shot mode and a rear double-shot mode. Of course, according to the difference between the software and hardware design of the mobile phone itself, there may be any other feasible mode in the multi-mirror shooting mode in practice, and the present application does not specifically limit this. The shooting referred to herein may be video recording or shooting, for example, the multi-lens shooting mode may be a multi-lens shooting mode or a multi-lens video recording mode, and the same holds true for the rest.
Specifically, in the front single-lens shooting mode, the mobile phone adopts a front camera to shoot. In the rear single-lens shooting mode, the mobile phone adopts a rear camera to shoot. In the rear double-camera mode, the mobile phone adopts two rear cameras to shoot. In the front and back double-shooting mode, the mobile phone adopts a front camera and a back camera to shoot.
Fig. 1 is a schematic interface diagram of a mobile phone recording in a front-back double-shot mode according to an embodiment of the present application. Referring to fig. 1, in the front-back double-shooting mode, the mobile phone uses a front-facing camera to collect a foreground picture, and uses a back-facing camera to collect a background picture, and the foreground picture and the background picture can be simultaneously displayed on a preview interface of the mobile phone video in a certain proportion (for example, 1:1).
Taking the electronic device as a mobile phone as an example, a specific scene that a user operates the electronic device to enter a front-back double-shot mode and record video is introduced.
When a user needs to use the mobile phone to shoot, the user can implement triggering operation on the camera application icon on the desktop of the mobile phone, and then use the shooting function of the mobile phone. Specifically, the mobile phone may receive a trigger operation (e.g., a click operation) of the camera application icon by the user. In response to the trigger operation on the camera application icon, the mobile phone may start a rear camera of the mobile phone, and display a camera preview interface 401 as shown in fig. 4 (a). The camera preview interface 401 includes a background screen a collected by a rear camera of the mobile phone. The camera preview interface 401 may further include a front-back double-camera option 402, where the front-back double-camera option 402 is used to trigger the mobile phone to enter the front-back double-camera mode and record in the front-back double-camera mode. Of course, in practice, the front-back double video option 402 may be specifically displayed as "multi-mirror video", which is not limited in this embodiment of the application. A video recording button X may also be included in the camera preview interface 401. The recording button X is used to trigger the mobile phone to start recording.
The cell phone can receive a user trigger operation of the front and back dual camcorder option 402 shown in fig. 4 (a). In response to a triggering operation of the front-to-back dual camcorder option 402 shown in fig. 4 (a), the cell phone may activate the front camera. At this time, the front camera and the rear camera of the mobile phone are both activated, and the mobile phone may display a multi-mirror video preview interface 403 (corresponding to the multi-mirror preview interface 101 in fig. 1) shown in (b) of fig. 4. The multi-lens video preview interface 403 includes a foreground image B collected by a front camera and a rear image a collected by a rear camera.
The mobile phone may display the foreground image B and the background image a in the multi-mirror video preview interface 403 according to a certain ratio. Specifically, the multi-mirror video preview interface 403 includes a preview area 404 corresponding to the rear camera and a preview area 405 corresponding to the front camera. Preview area 404 may be used to display background picture a and preview area 405 may display foreground picture B. The multi-mirror video preview interface 403 may also include a video button Y. The video recording button Y is used for triggering the mobile phone to start video recording.
Of course, the display manner of the background screen a and the foreground screen B in the multi-mirror video preview interface 403 shown in (B) in fig. 4 is only an example, and in practice, the background screen a and the foreground screen B may be displayed in other manners. For example, referring to fig. 5, the background screen a may be displayed as a large background on the multi-mirror video preview interface 403, and the foreground screen a may be displayed in the multi-mirror video preview interface 403 in a picture-in-picture manner.
In addition, in practice, the mobile phone may also open the front camera to collect the foreground picture B and display the foreground picture B in the camera preview interface 401 in response to the trigger operation for the user to the camera application icon. The cell phone can then receive user-triggered operation of the front and back dual video options 402 in the camera preview interface 401. In response to the triggering operation of the front-back double-camera option 402, the mobile phone may open the back camera to collect the background picture a, and display the background picture a and the foreground picture B obtained by the front camera in the multi-mirror video preview interface 403 according to a certain ratio. The camera that is turned on for the first time (the camera that is turned on after the trigger operation is performed on the camera application icon) may be set before the mobile phone leaves the factory, or may be the camera that is selected when the user exits the camera application for the last time (for example, the user uses the front camera to perform self-shooting for the last time, and directly exits or closes the camera application after the last time, the front camera is turned on by default when the mobile phone that is turned on for the camera application this time). In this regard, the present application is not particularly limited, and is specifically determined according to the actual situation.
Then, the user can use the front camera and the rear camera of the mobile phone to respectively aim at the corresponding shooting objects for shooting. In the shooting process, the mobile phone displays a background picture A1 shot by the rear camera in the preview area 404, displays a foreground picture B1 collected by the front camera in the preview area 405, and records the background picture A1 and the foreground picture B1 according to the adjustment of the position and the posture of the mobile phone by the user, as shown in fig. 4 (c). In addition, during shooting, the multi-mirror video preview interface 403 may further include a video pause button Z and a video stop button T. After the video pause button Z is triggered by a user, the mobile phone can pause the recording of the foreground picture A1 and the background picture B1; then, the record pause button Z will be converted into a record button Y for the user to trigger to continue recording. After the video recording stop button T is triggered by the user, the mobile phone can stop recording the foreground picture A1 and the background picture B1, and take the combination of all the recorded foreground pictures A1 and background pictures B1 as a recording film.
When the user finishes shooting with the cell phone, as shown in (d) in fig. 4, the cell phone can display a movie preview interface 406 (equivalent to the movie preview interface 201 shown in (a) in fig. 2 described earlier). In the piece preview interface 406, a certain frame of picture in the photographed video (the combination of all foreground frames A1 and background frames B1) can be displayed as a cover page. The shareable preview interface 406 may include sharing options. Then, the mobile phone may implement a video sharing scheme (such as the scheme introduced in fig. 2) in the prior art or a video sharing scheme (one of multimedia resource sharing) provided in the embodiment of the present application.
For example, the electronic device implementing the multimedia resource sharing method in the embodiment of the present application may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) device, a Virtual Reality (VR) device, an Artificial Intelligence (AI) device, a wearable device, a vehicle-mounted device, a smart home device, and/or a city device, and the embodiment of the present application does not particularly limit the specific type of the electronic device.
Exemplarily, taking an electronic device as a mobile phone as an example, fig. 6 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
As shown in fig. 6, the electronic device may have a plurality of cameras 293, such as a front-facing normal camera, a front-facing low power consumption camera, a rear-facing normal camera, a rear-facing wide-angle camera, and so on. In addition, the electronic device may include a processor 210, an external memory interface 220, an internal memory 221, a Universal Serial Bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, keys 290, a motor 291, an indicator 292, a display screen 294, a Subscriber Identification Module (SIM) card interface 295, and the like. The sensor module 280 may include a pressure sensor 280A, a gyroscope sensor 280B, an air pressure sensor 280C, a magnetic sensor 280D, an acceleration sensor 280E, a distance sensor 280F, a proximity light sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an ambient light sensor 280L, a bone conduction sensor 280M, and the like.
Processor 210 may include one or more processing units, such as: the processor 210 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. Wherein, the different processing units may be independent devices or may be integrated in one or more processors.
The controller may be a neural center and a command center of the electronic device. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 210 for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may hold instructions or data that have just been used or recycled by processor 210. If the processor 210 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 210, thereby increasing the efficiency of the system.
In some embodiments, processor 210 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (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.
The external memory interface 220 may be used to connect an external nonvolatile memory to extend the storage capability of the electronic device. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are saved in an external nonvolatile memory.
Internal memory 221 may include one or more Random Access Memories (RAMs) and one or more non-volatile memories (NVMs). The random access memory may be read directly by the processor 110, may be used to store executable programs (e.g., machine instructions) for an operating system or other programs that are running, and may also be used to store data for user and application programs, etc. The nonvolatile memory may also store executable programs, data of users and application programs, and the like, and may be loaded into the random access memory in advance for the processor 110 to directly read and write. In the embodiment of the present application, the internal memory 221 may store a picture file or a recorded video file, which is captured by the electronic device in a single-mirror shooting mode or a multi-mirror shooting mode.
The touch sensor 280K is also referred to as a "touch device". The touch sensor 280K may be disposed on the display screen 294, and the touch sensor 280K and the display screen 294 form a touch screen, which is also called a "touch screen". Touch sensor 280K for detecting effects on touch operations on or near it. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display screen 294. In other embodiments, the touch sensor 280K can be disposed on a surface of the electronic device at a different location than the display screen 294.
In this embodiment of the application, the touch sensor 280K may detect a touch operation performed by a user on a position where the camera application icon is located, transmit information of the touch operation to the processor 210, and analyze a function that is correspondingly executed by the touch operation, for example, open a camera application program (specifically, a rear camera is opened to capture a background screen and display the background screen in a camera preview interface). The touch sensor 280K may further detect a touch operation performed by the user on the positions of the front and rear double-camera options, and transmit information of the touch operation to the processor 210, and the processor 210 analyzes a function correspondingly performed by the touch operation, for example, opens a multi-lens video preview interface (specifically, the front camera and the rear camera may be opened, and a foreground picture and a background picture shot by the front camera and the rear camera are displayed on the multi-lens video preview interface according to a certain ratio).
In some embodiments, the electronic device may include 1 or N cameras 293, N being a positive integer greater than 1. In the embodiment of the present application, the types of the camera 293 may be distinguished according to the hardware configuration and the physical location. For example, the plurality of cameras included in the camera 293 may be respectively disposed on the front side and the back side of the electronic device, the camera disposed on the side of the display screen 294 of the electronic device may be referred to as a front camera, and the camera disposed on the side of the rear cover of the electronic device may be referred to as a rear camera; for example, the plurality of cameras included in the camera 293 may have different focal lengths and different viewing angles, and a camera having a short focal length and a large visual field may be referred to as a wide-angle camera, and a camera having a long focal length and a small viewing angle may be referred to as a normal camera. The content of the images collected by different cameras is different in that: the front camera is used for collecting the scenery facing the front side of the electronic equipment, and the rear camera is used for collecting the scenery facing the back side of the electronic equipment; the wide-angle camera can shoot a scene with a larger area within a shorter shooting distance range, and the scene shot at the same shooting distance is smaller than the image of the scene shot by using a common lens in the picture. The length of the focal length and the size of the angle of view are relative concepts, and there is no specific parameter limitation, so that the wide-angle camera and the normal camera are also relative concepts, and can be distinguished according to the physical parameters such as the focal length and the angle of view.
The electronic device implements display functions via the GPU, the display screen 294, and the application processor. The GPU is an image sharing microprocessor that is coupled to the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or alter display information.
The electronic device may implement a shooting function through the ISP, the camera 293, the video codec, the GPU, the display screen 294, and the application processor.
The display screen 294 is used to display images, video, and the like. The display screen 294 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device may include 1 or N display screens 294, N being a positive integer greater than 1.
In the embodiment of the present application, the display screen 294 may be used to display an interface (e.g., a camera preview interface, a multi-lens video preview interface, a filmed preview interface, etc. in the foregoing embodiments) of the electronic device, and display an image captured by any one of the cameras 293 in the interface. Such as the foreground or background pictures previously described.
In some embodiments, the electronic device is in a multi-mirror shooting mode (e.g., a front-rear bi-shooting mode), and the display screen 294 may display multiple images from multiple cameras 293 in a tiled or picture-in-picture manner, so that the multiple images from the multiple cameras 293 may be presented to the user at the same time.
In some embodiments, in an electronic device multi-mirror capture mode (e.g., a front-to-back bi-shooting mode), processor 210, e.g., a controller or GPU, may synthesize different images from multiple cameras 293. For example, multiple video streams from multiple cameras 293 may be merged into one video stream, and the video encoder in the processor 210 may encode the merged one video stream data, thereby generating one video file. Thus, each frame of image in the video file may contain multiple images from multiple cameras 293. When a frame of image of the video file is played, the display screen 294 may display a plurality of images from the plurality of cameras 293 to show a plurality of image frames with different contents, different depths of field, or different pixels at the same time or in the same scene for the user. For another example, a plurality of photos from the plurality of cameras 293 may be combined into one piece, and the video encoder in the processor 210 may encode the combined piece of photo data to generate one picture file. Thus, a photograph in the picture file may contain multiple photographs from multiple cameras 293. In viewing the photo, the display screen 294 may display a plurality of photos from the plurality of cameras 293 to show the user a plurality of image frames with different contents, different depths of field, or different pixels at the same time or in the same scene.
Of course, it should be understood that fig. 6 is only an exemplary illustration of the electronic device in the form of a mobile phone. If the electronic device is in the form of a tablet computer, a handheld computer, a PC, a PDA, a wearable device (e.g., a smart watch, a smart bracelet), or other devices, the structure of the electronic device may include fewer structures than those shown in fig. 6, or may include more structures than those shown in fig. 6, and is not limited herein.
For example, fig. 7 shows a software structure block diagram of an electronic device provided in an embodiment of the present application. The layered architecture divides the software into several layers, eachThe layers all have clear roles and division of labor. The layers communicate with each other through a software interface. The operating system of the electronic equipment is
Figure BDA0003469629850000091
The Android system is taken as an example, and in some embodiments, the Android system in the electronic device is divided into four layers, which are an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 7, the application package may include camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc. applications.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 7, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, sharing manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The sharing manager is used for calling interfaces of other applications supporting data sharing when the applications need to share the data so as to realize the function of mutual sharing between the two applications.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
In the embodiment of the present application, the type of the multimedia resource (such as a video or an image) shared by the electronic device is not limited. In the following embodiments, the type of the multimedia resource shared by the electronic device is taken as an example for illustration.
It can be understood that the video shared by the user may be a video captured by the electronic device using a camera application, as shown in (a) in fig. 2, when the user finishes capturing with the electronic device, the user may click on the sharing option 202 in the film preview interface 201, so that the electronic device may share the captured video through other application programs. The video shared by the user may also be a video stored in the electronic device. The video shared by the user may also be a video made by using a video or a picture already stored in the electronic device, for example, the user may select a video or a picture to be processed in an album or a gallery of the electronic device, make a video to be shared, and thus share the made video.
Therefore, the electronic device can share videos shot by using the camera application, videos stored in the electronic device, and videos made by using the stored videos or pictures. Correspondingly, the video sharing method (a multimedia resource sharing method taking a video as an example) provided by the embodiment of the present application may include: the method comprises a process of sharing shot videos, a process of sharing stored videos and a process of sharing produced videos.
The methods in the following embodiments may be implemented in an electronic device having the above hardware configuration and the above software configuration.
The sharing shooting video flow provided by the embodiment of the application is introduced below. As shown in fig. 8, the process of sharing the captured video may include S801-S811:
s801, the electronic equipment receives a trigger operation of a user on the camera application icon.
When a user needs to use the electronic equipment to shoot, the user can click the camera application icon on the desktop of the electronic equipment, so that the electronic equipment is triggered to start the camera to shoot.
S802, responding to the triggering operation of the user on the camera application icon, starting the camera by the electronic equipment, and displaying a camera preview interface, wherein the camera preview interface comprises a plurality of lens video recording options.
In practice, in order to enable the user to clearly identify the shooting area corresponding to the camera when the electronic device opens the camera application, when the electronic device displays the camera preview interface, a picture obtained by shooting the shooting area by the camera is also displayed in the camera preview interface in real time. The picture shot by the front camera can be called a foreground picture, and the picture shot by the rear camera can be called a background picture.
Specifically, taking a camera which is turned on when the electronic device opens the camera application as a rear camera as an example, the electronic device may receive a trigger operation (such as a click operation) of a user on a camera application icon on a desktop of the electronic device. And responding to the triggering operation, the electronic equipment can start the rear camera to start shooting to obtain a background picture, and the background picture is displayed in a camera preview interface. The camera preview interface may include a multi-mirror video option. The multi-lens video option can be used for triggering the electronic equipment to start a plurality of cameras to shoot and record video at the same time, such as starting a rear camera and a front camera to shoot and record video at the same time. That is, the electronic device may support a multi-mirror video recording mode.
In some embodiments, the camera preview interface may further include a multi-lens shooting option, and the multi-lens shooting option may be used to trigger the electronic device to start a plurality of cameras to shoot simultaneously.
In other embodiments, the camera preview interface may include a multi-mirror shooting option, and the multi-mirror shooting option may include two sub-options, a multi-mirror shooting option and a multi-mirror recording option. After the electronic equipment receives the triggering operation of the user on the multi-mirror shooting option, the electronic equipment can display the two sub-options of the multi-mirror shooting option and the multi-mirror video recording option through a pop window or other feasible modes for the user to select. In this embodiment of the application, in this implementation manner, the triggering operation performed by the user on the multi-mirror shooting option includes a triggering operation on the multi-mirror shooting option and a triggering operation on the multi-mirror shooting option or the multi-mirror recording option.
The foregoing two embodiments are merely examples, and the actual camera preview interface specifically includes a multi-lens shooting option, a multi-lens recording option, or a multi-lens shooting option, which may be determined according to actual requirements, and this is not specifically limited in this application.
For example, taking a multi-lens video recording option as a front-back double-shooting option, and taking an electronic device as a mobile phone as an example, the mobile phone may display a desktop 901 as shown in fig. 9. Included in the desktop 901 is a camera application icon 902. The handset may activate the rear camera to display the camera preview interface 401 as shown in fig. 4 (a) in response to a user's trigger operation of the camera application icon 902 shown in fig. 9. The camera preview interface 401 displays a background screen a collected by a rear camera. The camera preview interface 401 may include a front-back double-camera option 402, and the front-back double-camera option 402 may be used to trigger the mobile phone to start the front camera and the rear camera to record simultaneously.
And S803, the electronic equipment receives the triggering operation of the user on the multi-mirror video recording option.
When a user needs to use the multi-mirror video recording mode of the electronic equipment for shooting, the user can perform triggering operation on the multi-mirror video recording option included in the camera preview interface. The electronic device may activate the plurality of cameras to simultaneously capture the video in response to the operation. For example, taking the electronic device used by the user for recording, and taking the multi-mirror recording option as a front-back dual-camera recording option as an example, the related scene of the electronic device shown in step S803 may be as shown in fig. 4 (a).
And S804, responding to the triggering operation of the user on the multi-mirror video option, starting a plurality of cameras by the electronic equipment at the same time, and displaying a multi-mirror video preview interface.
Illustratively, the multi-mirror video preview interface may be a multi-mirror video preview interface or a multi-mirror photo preview interface. In the embodiment of the present application, the multi-lens video preview interface may be understood as a third interface in the present application, that is, a view interface where the electronic device has not started shooting. In this case, the third interface may be a viewfinder interface in which the electronic device has not started recording in the multi-mirror recording mode.
If the multi-mirror shooting option is the multi-mirror shooting option, the multi-mirror shooting preview interface is a multi-mirror video interface; if the multi-mirror shooting option is the multi-mirror shooting option, the multi-mirror shooting option comprises two sub-options of a multi-mirror shooting option and a multi-mirror video option, and the user triggers operation on the embodiment of the multi-mirror shooting option, the multi-mirror shooting preview interface is a multi-mirror shooting interface; and if the multi-mirror shooting option is the multi-mirror shooting option, the multi-mirror shooting option comprises two sub-options of a multi-mirror shooting option and a multi-mirror video option, and the user triggers operation on the embodiment of the multi-mirror video option, the multi-mirror shooting preview interface is a multi-mirror video interface. The multi-lens video preview interface displayed by the electronic equipment can comprise preview images shot by a plurality of cameras, and the preview images can be respectively and independently displayed or combined into one image to be displayed.
When the electronic device receives a trigger operation (e.g., a click operation) of a user on a multi-mirror video recording option included in the camera preview interface, the electronic device may respond to the trigger operation, and start other cameras to capture a corresponding picture on the basis of S802, that is, simultaneously start a plurality of cameras including the camera started in S802 to capture a video.
In practice, if the plurality of cameras include a front camera and a rear camera, in order to make the user clearly identify the shooting areas corresponding to the front camera and the rear camera, when the electronic device displays the multi-mirror video preview interface, the images (foreground images and background images) shot by the front camera and the rear camera for the shooting areas are also displayed in the multi-mirror video preview interface in real time.
Taking the electronic device to start the front camera and the rear camera at the same time as an example, when the electronic device starts the front camera and the rear camera at the same time, the multi-lens video preview interface displayed by the electronic device may include a foreground picture collected by the front camera and a background picture collected by the rear camera. The multi-mirror video preview interface may include a plurality of preview areas, such as a preview area corresponding to a preview image acquired by a front-facing camera and a preview area corresponding to a preview image acquired by a rear-facing camera.
Illustratively, taking the electronic device as a mobile phone, and starting the front camera and the rear camera at the same time, as shown in fig. 4 (a), the mobile phone receives a user's trigger operation on the multi-mirror recording option 402. In response to this operation, the mobile phone may activate the front camera and the rear camera to capture a foreground screen B and a background screen a, respectively, and display a multi-mirror video preview interface 403 as shown in (B) of fig. 4. The multi-lens video preview interface 403 may include a preview area 404 corresponding to the rear camera and a preview area 405 corresponding to the front camera, where the preview area 404 may display a background picture a and the preview area 405 may display a foreground picture B.
And S805, in response to the shooting operation performed by the user on the multi-mirror video preview interface, the electronic equipment uses a plurality of cameras to simultaneously record videos.
For example, taking the electronic device as a mobile phone and the multiple cameras as a front camera and a rear camera as an example, referring to fig. 4 (b), the multi-mirror video preview interface 403 may further include a video button Y. The shooting operation may be a user's trigger operation, such as a click operation, on the recording button Y. Then, the user can use the front camera and the rear camera of the mobile phone to respectively aim at the corresponding shooting objects to shoot and record the video. In the shooting process, according to the adjustment of the orientation and the posture of the mobile phone by the user, as shown in (c) in fig. 4, the mobile phone displays a background picture A1 that the user needs to shoot in a preview area 404, displays a foreground picture B1 that the user needs to shoot in a preview area 405, and records the background picture A1 and the foreground picture B1.
Of course, in practice, the multi-mirror video preview interface may also be a multi-mirror photo preview interface, and the multi-mirror photo preview interface may include a photo button. After the photographing button is triggered by a user, the electronic equipment can use a plurality of cameras to photograph at the same time.
In some embodiments, a template control may be included in the multi-mirror video preview interface in order to allow the user to take some photos or videos with special effects. The electronic device may display a variety of different template options after the template selection option is triggered by the user. The user can select different template options, so that the video shot in the subsequent multi-mirror video recording process has corresponding style (consisting of a chartlet and a special effect) and background music. Based on this, referring to fig. 10 in conjunction with fig. 8, after S804, the method of the embodiment of the present application may further include S804A and S804B:
S804A, the electronic equipment responds to the trigger operation of the user on the template control in the multi-mirror video preview interface, and a template selection interface is displayed; the template selection interface includes a plurality of different template options.
The template selection interface herein may be understood as a third interface in the present application, in which a template popup is displayed.
For example, based on the scene example shown in fig. 4 (b), taking an example that the template popup partially covers the entire multi-mirror video preview interface with a certain transparency (which may be 0% to 100%), referring to fig. 11 (a), the multi-mirror video preview interface may include a template control 111. The electronic device may display a template selection interface 112 as shown in fig. 11 (b) in response to a user's trigger operation (e.g., a click operation) on the template control 111. The template selection interface includes a plurality of different template options and a determination option 113. Such as the option of a template of comfort, summer, animation, or pleasure, as shown in fig. 11 (b). The shooting template corresponding to each template option is composed of specific background music and a specific style, namely the shooting template is used for adding an audio and video effect composed of the specific background music and the specific style to a multimedia resource (here, a video shot in a multi-mirror video recording mode) recorded by a mobile phone.
When the user performs a trigger operation (e.g., a click operation) on any template option and performs a trigger operation (e.g., a click operation) on the determination option 113, the electronic device may apply the shooting template corresponding to the template option selected by the user to a subsequently shot photo or video in response to the selection operation of the user (including the trigger operation performed on a certain template option and the trigger operation performed on the determination option embodiment). Of course, the determination option 113 may not be present in the template selection interface 112 in practice, and the electronic device may determine the shooting template selected by the user in response to a specific trigger operation (e.g., a double-click operation or a long-press operation) performed by the user on one of the template options.
It should be noted that, in practice, the template selection interface may also be a template popup covering the entire screen, and the template selection interface does not need the multi-mirror video preview interface as the background in (b) in fig. 11.
And S804B, the electronic equipment responds to the selection operation of the user on the target template option, determines a shooting template, and displays a multi-mirror video preview interface without a template control.
After the electronic equipment determines the shooting template in response to the selection operation of the user on the target template option, if the shooting operation implemented by the user on the multi-mirror video preview interface is received subsequently, the video is shot by adopting the shooting template corresponding to the target template option. The multi-lens video preview interface without the template control can be understood as a fourth interface in the present application, that is, a view interface for shooting (in this embodiment, multi-lens video) by the electronic device.
The selection operation may include a trigger operation (e.g., a click operation) of the user on the target template option and a trigger operation (e.g., a click operation) on the determination option. The selection operation may also be a specific trigger operation (e.g., a double-click operation or a long-press operation) of the user on the target template option. The multi-lens video preview interface without the template control is a multi-lens video preview interface without displaying the template pop-up window, and can be understood as a fourth interface in the application, namely, a viewing interface being shot by the electronic device.
Illustratively, based on the example shown in fig. 11 (b), taking the target template option as "comfort" as an example, the electronic device displays a multi-mirror video preview interface 403 'without template control as shown in fig. 4 (c) in response to the user's selection operation of the target template option. Because the user has selected the template at this time, there may be no template control in the multi-mirror video preview interface at this time for the sake of simplifying the interface. In this case, since the crossroad preview interface being photographed is already displayed, S805 may not be executed after S804B, and S806 may be directly executed. This is exemplified in fig. 10.
Of course, in practice, when the electronic device determines the shooting template of the subsequent shooting multimedia resource in response to the selection operation of the user on the target template option, a framing interface where the electronic device does not start shooting may also be displayed. Illustratively, based on the example shown in (b) in fig. 11, taking the target template option as "comfort" as an example, the electronic device displays the multi-mirror video preview interface 403 without the template control as shown in (b) in fig. 4 in response to the user's selection operation of the target template option. In this case, since the multi-mirror video preview interface where the shooting has not been started is displayed, in this case, S804B is followed by S805.
And S806, displaying a piece preview interface by the electronic equipment under the condition that the shooting is finished, wherein the piece preview interface comprises a sharing option.
The fragmented preview interface herein can be understood as the first interface in the present application, i.e. the interface for previewing the first multimedia resource (video in this embodiment) photographed by the electronic device. The sharing option here can be understood as the first sharing control in this application.
Taking multiple cameras as a front camera and a rear camera as an example, in some embodiments, referring to (c) in fig. 4, during shooting of the electronic device, the multi-lens video preview interface 403 may further include a stop video button Z. In this case, the electronic device may stop recording in response to the user's operation to trigger the stop recording button, and take the recorded video as a recorded film. This indicates that the shot is complete.
In this embodiment, the triggering operation of the stop video recording button in the multi-mirror video recording preview interface by the user may be understood as a first event in this application, that is, an event that triggers the electronic device to complete shooting (or complete shooting). The electronic device may display a first interface (here, a filmed preview interface) in response to the first event.
Taking the electronic device as a mobile phone, and taking the multiple cameras as a front camera and a rear camera as an example, in some embodiments, referring to fig. 4 (c), the mobile phone may further have a maximum time length for multi-mirror video recording (which may also be selected by the user from multiple preset time lengths), and display a recording time length indication S in a specific area of the multi-mirror video preview area 403. The recording time length indication S includes a maximum time length 408 and a recorded time length 409. When the recorded duration is equal to the maximum duration (e.g., 30 s), the electronic device stops recording and takes the recorded video as a recorded film. This indicates that the shot is complete.
In this embodiment, the recorded duration is equal to the maximum duration, which is understood as the first event in this application, i.e. the event that triggers the electronic device to complete shooting (or shooting completion). The electronic device may display a first interface (here, a filmed preview interface) in response to the first event.
The sharing option included in the piece preview interface can be used for triggering the electronic device to share the video shot by the electronic device, namely the electronic device can respond to the triggering operation of the user on the sharing option and share the shot video to other devices through other application programs.
Taking the electronic device as a mobile phone, and the multiple cameras as a front camera and a rear camera as an example, after the shooting is completed, a preview interface displayed by the mobile phone can be as shown in fig. 2 (a). Sharing options 202 may be included in the filmed preview interface 206.
S807, the electronic equipment receives a triggering operation of the user on the sharing option in the sheet preview interface.
Specifically, when the user needs to share the video shot by the electronic device, the user can perform a trigger operation (such as a click operation) on the sharing option in the film preview interface. Thereafter, the electronic device may transmit the photographed video to the sharing object (other electronic device or other application) in response to the operation, that is, the electronic device may continue to perform S808-S811 described below.
S808, responding to the triggering operation of the user on the sharing option, and displaying a sharing popup by the electronic equipment; the sharing popup window comprises icons of a plurality of application programs and a cancel option.
The sharing pop-up window may be understood as a first sharing pop-up window in the present application, and the icons of the plurality of applications may be understood as icons of a plurality of applications for sharing the first multimedia resource (here, the video previewed in the piece preview interface) in the present application. The cancel option here may be understood as the first cancel option in this application.
Illustratively, taking an electronic device as a mobile phone as an example, based on the filmed preview interface 201 shown in (a) in fig. 2, the mobile phone may display a sharing popup 203 shown in (b) in fig. 2 in response to a user's trigger operation on the sharing option 202 therein. The sharing pop-up window 203 may include icons of a plurality of applications and a cancel option 204. The user can select the icon of the corresponding application program to trigger based on the requirement of the user, so as to forward the video displayed in the sheet preview interface 201.
Of course, in practice, in response to the triggering operation of the user on the sharing option, the electronic device may also display other display manners, such as a sharing interface, in which icons of the plurality of application programs can be displayed and the option can be cancelled.
And S809, the electronic equipment receives a selection operation of the user on the icon of the target application program in the sharing popup, responds to the selection operation, shares the video corresponding to the piece of preview interface through the target application program, and displays a sharing interface of the target application program, wherein the sharing interface comprises the icon of the video being shared.
The target application may be understood as a first application in the present application, and the video corresponding to the filmed preview interface may be understood as a first multimedia resource in the present application. Specifically, since different applications can receive the video in different ways, the specific process of sharing the video corresponding to the preview interface by the electronic device through the target application may be different.
For example, if a user wants to share a video in a network disk, the electronic device displays a folder list in the network disk after the user triggers an icon of the network disk. After receiving a trigger operation of a user on a certain folder in the folder list, the electronic device stores the video in the folder in response to the trigger operation. Of course, after the user triggers the icon of the network disk, in another implementation manner, the electronic device may also directly store the video in the network disk, where the video is specifically stored according to the preset rule.
For another example, if a user wants to share a video with a friend in a certain social software, after the user triggers an icon of the social software, the electronic device may display a plurality of chat records of the social software in which the user has previously performed a chat. The electronic device may then send the video to a chat log in response to a user triggering (e.g., clicking) on the chat log. The chat log may be a chat log of a user and a friend, or a chat log of a group chat in which the user participates in a chat. Of course, after the user triggers the icon of the social software, the page displayed by the electronic device may include a new chat option in addition to the plurality of chat records in the social software that the user has previously performed a chat. The electronic device may display the buddy list of the social software in response to a triggering operation (e.g., a clicking operation) for the new chat option. Then, the electronic device may respond to a triggering operation (e.g., a click operation) of the user on at least one friend icon in the friend list, newly create a corresponding chat record, and send the video to the chat record.
Illustratively, the electronic device is a mobile phone, and the target application program is
Figure BDA0003469629850000151
For example, refer to FIG. 2 (b), ifUser-to-sharing in popup 203
Figure BDA0003469629850000152
The handset may display a sharing target selection interface 206 as shown in fig. 2 (c) in response to a trigger operation (e.g., a click operation) implemented by the icon 205. The sharing target selection interface 206 includes a plurality of chat records that can be selected by the user. The mobile phone may receive a trigger (e.g., a click operation) performed by the user on the first chat record 207 in the sharing target selection interface 206. In response to the triggering operation on the first chat record 207, the mobile phone can display a chat interface 208 corresponding to the first chat record 207 as shown in (d) in fig. 2, and send the video displayed in the sheet preview interface 201 to the chat interface. The chat interface 208 corresponding to the first chat record 207 is the sharing interface of the target application mentioned in the foregoing S809, and further includes an icon 209 of the video being shared. In an implementation manner, in order to prompt the user of the sharing progress, a progress indication 209A may be present on the icon 209 for indicating the current sharing progress (i.e., the sending progress).
And S810, responding to the return operation of the user after sharing the video corresponding to the finished piece preview interface through the target application program, and displaying the multi-mirror video preview interface by the electronic equipment.
The multi-lens video preview interface can be understood as a second interface in the present application, namely, a view interface where the electronic device does not start shooting.
After the video sharing is completed, that is, the video is successfully sent to the target application program, if the user performs a return operation, it indicates that the user does not want to view the target application program, and probably wants to shoot the video again. Therefore, at the moment, the electronic equipment can directly display the multi-mirror video preview interface, so that the user can conveniently shoot the next multi-mirror video.
In one implementation, the electronic device displays a return selection popup after video sharing is complete. The return selection popup may include a left-in target application option and a return camera application option. The electronic device may display a multi-mirror video preview interface in response to a user triggering an action to remain on the target application option. At this time, the user's return operation, which is a trigger operation of returning to the camera application option, is the user's return operation.
For example, taking an electronic device as a mobile phone and a target application as a wechat, based on the scene example shown in fig. 2, referring to fig. 12 (a), after the mobile phone finishes sending a video, the progress indication 209A on the icon 209 in the chat interface 208 corresponding to the first chat record 207 disappears (or indicates that the sharing or sending progress is one hundred percent). At the same time, the handset displays a return selection popup 121. The return selection pop-up window 121 includes a leave WeChat option 122 and a return camera option 123.
Thereafter, the cellular phone may display a multi-mirror video preview interface 403 as shown in fig. 4 (b) in response to a user's trigger operation (e.g., a click operation) to return to the camera option 123. The electronic device may also respond to a user's trigger operation on the leave-WeChat option 122, as shown in FIG. 12 (b), to no longer display the return selection popup 121 and display the chat interface 208 corresponding to the first chat record 207.
In another implementation, after the video sharing is completed, the user may perform a system-defined return operation in the display interface of the electronic device, for example, slide from the left side of the display interface to the right, or slide from the right side of the display interface to the left. Therefore, the electronic equipment displays a multi-mirror video preview interface.
Illustratively, taking a target application as an example, based on the scenario example shown in fig. 2, referring to fig. 12 (a), after the electronic device finishes sending the video, the progress indication 209A on the icon 209 in the chat interface 208 corresponding to the first chat record 207 disappears (or indicates that the sharing or sending progress is one hundred percent).
Thereafter, referring to fig. 12 (c), the electronic device may display a multi-mirror video preview interface 403 as shown in fig. 4 (b) in response to a return operation (e.g., sliding from the left to the right of the display interface) performed by the user at the chat interface 208.
In some embodiments, if it is mentioned in the foregoing embodiments that S804 may further include S804A and S804B, referring to fig. 10 in combination with fig. 8, in order to make it more convenient for the user to enter the shooting scene more quickly after sharing is completed, S810 may specifically be:
and S810', after sharing the video corresponding to the finished piece preview interface through the target application program, responding to the return operation of the user, and displaying a template selection interface by the electronic equipment.
The template selection interface herein may be understood to include a second interface that includes template pop-ups.
The relevant expressions and examples in S810' may refer to the relevant expressions in S810, and are not described herein again. The difference is that in the specific example of step 810', the electronic device may display the template selection interface 112 as shown in fig. 11 (b) in response to a return operation by the user.
S811, the electronic equipment receives a trigger operation of the user on the cancel option in the sharing popup, and displays a preview interface in response to the trigger operation.
When the user performs the trigger operation on the cancel option, it indicates that the user may need to perform other processing on the shot video, and then determines whether to share the video. In this case, the electronic device will display a filmed preview interface in response to the operation.
In this case, in some embodiments, the filmed preview interface may also include a save option, a return option, and a modify option. A save option that can be used to trigger the electronic device to save the captured video. And the return option can be used for triggering the electronic equipment to cancel the shooting and returning to the multi-mirror video preview interface. The modification option may be used to trigger the electronic device to modify the captured video, such as to modify the style of the captured video, add background music to the captured video, or modify the background music. Accordingly, the modification options may include style options and music options, among others. And the style option can be used for the electronic equipment to modify the style of the shot video, such as modifying the style into black and white, warm color, cold color or monochrome. And the music option can be used for adding background music to the shot video or modifying the background music by the electronic equipment.
For example, as shown in connection with (a) of fig. 2, the filmed preview interface 201 displayed by the electronic device may further include a save option a, a genre option B, a return option C, and a music option D. When the user needs to save the video shot by the electronic equipment, the user can trigger the saving option A. That is, when the electronic device receives a user's trigger operation (e.g., clicking operation) to save option a, the electronic device may save the captured video in response.
When the user is dissatisfied with the shot video and needs to return to shooting again, the user can trigger the return option C. That is, when the electronic device receives a user's trigger operation, such as a click operation, on the return option C, in response, the electronic device may cancel the current shooting and return to the multi-mirror video preview interface 403 shown in fig. 4 (C).
When the user needs to modify the genre of the video captured by the electronic device, the user may trigger genre option B. That is, when the electronic device receives a user's trigger operation (e.g., a click operation) on style option B, the electronic device may display a style selection interface in response, so that the user may select a corresponding style.
When the user needs to modify the background music of the video taken by the electronic device, the user may trigger music option D. That is, a user's trigger operation (e.g., clicking operation) on the music option D is received at the electronic device, and in response, the electronic device may display a music selection interface so that the user may select desired music as background music.
Based on the technical solution provided by the above embodiment, after the electronic device shares the multimedia resource (e.g., the multi-lens video) that is completed in shooting, if a return operation of the user is received, the electronic device may directly return to a view interface that is not started to be shot before an interface that can receive the sharing operation (i.e., an interface that the user can perform the sharing operation), so that the user can continue shooting next time. The user operation is reduced, and the user experience is improved.
The stored video sharing process provided by the embodiment of the present application is described below. As shown in fig. 13, the process of sharing the stored video may include S1301-S1306:
s1301, the electronic equipment responds to the triggering operation of the user on the target video in the gallery display interface, and displays a video detail interface of the target video, wherein the video detail interface comprises a sharing option.
The target video can be understood as a second multimedia resource in the present application; the video detail interface of the target video can be understood as a detail interface of the second multimedia resource in the application; the sharing control can be understood as a second sharing control in the present application.
The gallery display interface comprises a plurality of multimedia resources, namely a plurality of videos and a plurality of photos. The gallery display interface may be displayed by the electronic device in response to a trigger operation (e.g., a click operation) performed by the user on the gallery application icon after receiving the trigger operation. The gallery display interface can also be displayed by the electronic equipment in response to the triggering operation of the user on the gallery option existing in the camera preview interface or the multi-mirror video preview interface after the triggering operation is received. Wherein the gallery option may be used to trigger opening of a gallery application and display of a gallery presentation interface.
Illustratively, the gallery presentation interface may be as shown in fig. 14 (a). The electronic device may receive a user's trigger operation (e.g., a click operation) on the target video 141 in the gallery presentation interface. In response to the operation, the electronic device may display a video detail interface 142 of the target video as shown in fig. 14 (b), wherein the video detail interface 142 includes a sharing option 143 therein.
S1302, the electronic device receives a trigger operation of a user on a sharing option in a video detail interface of the target video.
Specifically, when the user needs to share the target video stored in the electronic device, the user may perform a trigger operation (e.g., a click operation) on the sharing option in the video detail interface of the target video. Thereafter, the electronic device may share the photographed video to a sharing object (other electronic device or other user) in response to the operation, that is, the electronic device may continue to perform S1303-S1306 described below.
S1303, responding to the triggering operation of the user on the sharing option, and displaying a sharing popup window by the electronic equipment; the sharing popup window comprises icons of a plurality of application programs and a cancel option.
The sharing pop-up window can be understood as a second sharing pop-up window in the application; the icons of the plurality of applications may be understood as icons of a plurality of applications for sharing the second multimedia resource (here, the target video) in the present application; the cancel option may be understood as a second cancel option in this application.
For example, based on the video detail interface 142 of the target video shown in fig. 14 (b), the electronic device may display a sharing popup 144 shown in fig. 14 (c) in response to a user's trigger operation on the sharing option 143 therein. The sharing pop-up window 144 may include icons of a plurality of applications and a cancel option 145. The user can select the icon of the corresponding application program to trigger based on the own requirement, so as to forward the target video displayed in the video detail interface 142.
Of course, in practice, in response to the triggering operation of the user on the sharing option, the electronic device may also display other display manners, such as a sharing interface, in which icons of the plurality of application programs can be displayed and the option can be cancelled.
S1304, the electronic device receives a trigger operation of the user on the icon of the target application in the sharing popup, responds to the trigger operation, and sharing the target video through the target application program, and displaying a sharing interface of the target application program, wherein the sharing interface comprises an icon of the target video being shared.
The target application is herein understood to be the second application in the present application.
Specifically, because the paths through which different applications can receive the video are different, the specific process of the electronic device sending the video corresponding to the filmed preview interface to the target application may be different. For a specific description, reference may be made to the related expression after S809, which is not described herein again.
Illustratively, the target application is
Figure BDA0003469629850000181
For example, referring to FIG. 14 (c), if the user shares in the popup 144
Figure BDA0003469629850000182
The icon 146 performs a trigger operation (e.g., a click operation), and the cell phone may display a share target selection interface 206 as shown in fig. 2 (c) in response to the trigger operation. For the following detailed description, reference may be made to the related description after S809 in the foregoing embodiment, and details are not repeated here.
And S1305, after the video sharing is finished, responding to the returning operation of the user, and displaying a video detail interface of the target video by the electronic equipment.
For specific implementation of S1305, reference may be made to related expressions of S810 in the foregoing embodiment, and details are not described here again. The difference is that in the specific example of S1305, in response to the operation of the user, the electronic device may display the video detail interface 142 of the target video as shown in (b) in fig. 14.
In some embodiments, after the video sharing is completed, that is, the target video has been successfully sent to the target application program, if the user performs the return operation, it indicates that the user does not want to view the target application program, and may want to share another stored video again. At this point, the electronic device may display a gallery presentation page for the user to select a new video in response to a return operation by the user.
And S1306, the electronic equipment receives a trigger operation of the user on the cancel option in the sharing pop-up window, and responds to the trigger operation to display a video detail interface of the target video.
The specific implementation of S1306 may refer to the related expression of S811 in the foregoing embodiment, and details are not described here. The difference is that in the specific example of S1306, in response to the user' S triggering operation of the cancel option, the electronic device may display the video detail interface 142 of the target video as shown in (b) in fig. 14.
Based on the technical scheme provided by the embodiment, after the electronic device shares the stored multimedia resource (such as the target video), if the return operation of the user is received, the electronic device can directly return to an interface (i.e. an interface through which the user can implement the sharing operation, such as a video detail interface of the target video) capable of receiving the sharing operation or a previous interface (such as a gallery display interface), so that the user can quickly enter other processing of the target video or select other videos to share and the like after the sharing is completed. The user operation is reduced, and the user experience is improved.
The following describes a video sharing and production flow provided by the embodiment of the present application, and specifically describes a produced video as an example of a video produced by using a stored video. As shown in fig. 15, the video flow of the sharing production may include S1501 to S1507:
s1501, the electronic device responds to the triggering operation of the user on the target video in the gallery display interface, and displays a video detail interface of the target video, wherein the video detail interface comprises a one-key large-piece option.
The target video can be understood as a second multimedia resource in the present application; the video detail interface of the target video can be understood as a detail interface of the second multimedia resource in the application; a one-touch large-tile option may be understood as a template configuration control in this application.
The relevant expression of the gallery display interface may refer to the relevant expression after S1301 in the foregoing embodiment, and details are not repeated here. Illustratively, the one-key large-film option is used for triggering the electronic equipment to randomly add a shooting template or a preset shooting template to the target video. The shooting template is used for adding audio and video effects to the target video so as to enrich the impression of the target video. The audiovisual effect may here consist of a preset style and background music.
Illustratively, in response to a user's trigger operation on a target video in the gallery display interface, the electronic device may display a video detail interface 161 of the target video as shown in (a) in fig. 16, wherein the video detail interface 161 includes a one-key large-piece option 162.
Of course, in practice, the target video may be automatically generated by the electronic device based on a number of photos that the user triggered to select from the gallery presentation interface. The generated target video may or may not have a specific genre and background music. When the target video has a specific style and background music, the video detail interface of the target video may not include a one-key-large-piece option, or may include a one-key-large-piece option. When the video detail interface of the target video does not include the one-touch-and-large-piece option, the subsequent sharing process may refer to the related contents of S1302-S1306 in the foregoing embodiment.
S1502, responding to the triggering operation of the user on the one-key large-piece option, the electronic equipment displays a piece preview interface of the target video; the filmed preview interface includes a share option.
Specifically, the electronic equipment responds to the triggering operation of the user on the one-key large-piece option, and the displayed piece preview interface specifically shows the target video added with the shooting template randomly for previewing the target video added with the shooting template randomly. The target video with the shooting template added thereto can be understood as a third multimedia asset in the present application. The sharing option can be understood as a third sharing control in the present application.
The sharing option may be specifically used to trigger the electronic device to share the video shot by the electronic device through another application program.
Illustratively, referring to fig. 16 (a), in response to a user's trigger operation of the one-touch large-tile option 162, the electronic device may display a tile preview interface 163 as shown in fig. 16 (b). The share option 164 is included in the film preview interface 163.
Specifically, other relevant contents of the sheet preview interface herein may refer to the relevant expressions after S806 and S811 in the foregoing embodiment, and are not described herein again.
S1503, the electronic equipment receives a trigger operation for sharing options in a film preview interface of the target video.
Specifically, when the user needs to share the produced target video, the user may perform a trigger operation (e.g., a click operation) on the sharing option in the piece preview interface. Thereafter, the electronic device may transmit the produced target video to a sharing object (other electronic device or other application) in response to the operation, that is, the electronic device may continue to perform S1504-S1507 described below.
S1504, responding to the triggering operation of the user on the sharing option, and displaying a sharing popup by the electronic equipment; the sharing popup window comprises icons of a plurality of application programs and a cancel option.
The sharing pop-up window can be understood as a third sharing pop-up window in the present application, the icons of the plurality of applications can be understood as icons of a plurality of applications for sharing a third multimedia resource (here, a target video to which a shooting template is randomly added), and the cancel option can be understood as a third cancel option in the present application.
S1505, the electronic device receives a trigger operation of a user on an icon of a target application in a sharing pop-up window, sends an updated target video previewed in a preview interface of the target video to the target application in response to the trigger operation, and displays a sharing interface of the target application, where the sharing interface includes the icon of the updated target video being shared.
And updating the target video into the target video with the shooting template added randomly. The target application may be understood as a third application in the present application, and the updated target video may be understood as a third multimedia asset in the present application.
The specific implementation of S1504 and S1505 can refer to the related expressions of S808 and S809 in the foregoing embodiments, and details are not repeated here.
And S1506, after the update target video is shared, responding to the return operation of the user, and displaying an update target video detail interface by the electronic equipment.
The update target video sharing is finished by that the electronic device shares a third multimedia resource (here, an update target video) through a third application (here, a target application); the update video detail interface may be understood as a detail interface of the third multimedia asset.
After the video sharing is completed, that is, the updated target video is successfully sent to the target application program, if the user performs the return operation, it indicates that the user does not want to view the target application program, and may want to view the manufactured target video, that is, the updated target video. Therefore, at this time, the electronic device can directly display the detail interface of the updated target video, so that the user can conveniently view or modify the detail interface. The update video details interface may not include the aforementioned one-touch large-tile option. In an exemplary manner, the first and second electrodes are, the update target video details interface may be as shown in fig. 16 (c).
For specific implementation of the return operation, reference may be made to relevant expressions after S810 in the foregoing embodiment, and details are not described here again.
In some embodiments, after the video sharing is completed, that is, the updated target video is successfully sent to the target application program, if the user performs a return operation, it indicates that the user does not want to view the target application program, and may want to reuse the stored target video to make the updated target video. At this time, therefore, the electronic device may display a video detail interface of the target video, i.e., the video detail interface 161 shown in fig. 16 (a), in response to the return operation of the user.
In other embodiments, after the video sharing is completed, that is, after the updated target video is successfully sent to the target application program, if the user performs the return operation, it indicates that the user does not want to view the target application program, and may want to reuse other stored videos to make a new shared video. At this time, the electronic device may display a gallery presentation page for the user to select a new target video in response to a return operation by the user. Then, the electronic device may display a video detail interface (including a one-touch large-screen option) of the new target video in response to a user' S trigger operation on the new target video, and then execute the video sharing scheme provided by this embodiment from S1502. In this case, therefore, the electronic device may display the gallery presentation page in response to a return operation by the user.
S1507, the electronic equipment receives a trigger operation of the user on the cancel option in the sharing popup window, and displays a piece preview interface of the target video in response to the trigger operation.
The trigger operation here may be understood as a selection operation in the present application.
The specific implementation of S1507 may refer to the related expression of S811 in the foregoing embodiment, and is not described herein again. The difference is that in the specific example of S1507, in response to the user' S trigger operation of the cancel option, the electronic device may display a filmed preview interface 163 of the target video as shown in (b) in fig. 16.
Based on the technical scheme provided by the embodiment, after the electronic device shares the multimedia resource (such as the updated target video) made by using the stored multimedia resource, if the return operation of the user is received, the video detail page of the multimedia resource made by the user can be directly returned, so that the user can view the made multimedia resource. The user operation is reduced, and the user experience is improved.
It is understood that the electronic device includes hardware structures and/or software modules for performing the functions in order to realize the functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, the division of the modules in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In a case where each functional module is divided according to each function, as shown in fig. 17, an embodiment of the present application provides an electronic device including: a display module 171 and a processing module 172.
The processing module 172 is configured to control the display module 171 to display the first interface in response to the first event. The first event is used for triggering the electronic equipment to finish shooting, the first interface is used for previewing a first multimedia resource shot by the electronic equipment, and the first interface further comprises a first sharing control used for triggering the electronic equipment to share the first multimedia resource. The processing module 172 is further configured to control the display module 171 to display a first sharing popup in response to a triggering operation of the first sharing control by the user, where the first sharing popup is received by the display module 171 and includes a plurality of icons of application programs for sharing the first multimedia resource. The processing module 172 is further configured to share the first multimedia resource through the first application program in response to a user selection operation of an icon of the first application program in the first sharing popup received by the display module 171. The display module 171 is further configured to display the second interface after the processing module 172 shares the first multimedia resource through the first application. And the second interface is a view interface which is not shot by the electronic equipment.
Optionally, before the processing module 172 is configured to control the display module 171 to display the first interface in response to the first event, the display module 171 is further configured to display a third interface; the third interface is a view interface which is not shot by the electronic equipment; the third interface also includes a template control. The processing module 172 is further configured to control the display module 171 to display the template popup in response to the display module 171 receiving a trigger operation of the template control by the user. The template popup window comprises a plurality of template options, each template option corresponds to one shooting template, and the shooting templates are used for adding audio and video effects to multimedia resources shot by the electronic equipment. The processing module 172 is further configured to, in response to a selection operation of the user on a target template option in the template popup received by the display module 171, shoot the multimedia resource using a shooting template corresponding to the target template option, and control the display module 171 to display a fourth interface; the fourth interface is a viewfinder interface that the electronic device is shooting.
Optionally, the second interface further includes a template pop-up window.
Optionally, the first sharing popup window further includes a first cancel option, where the first cancel option is used to trigger the electronic device to cancel sharing the first multimedia resource; the processing module 172 is further configured to control the display module 171 to display a first interface in response to the display module 171 receiving a selection operation of the first cancel option by the user.
Illustratively, the fourth interface is a viewing interface of the electronic device during recording in the multi-lens recording mode, the first multimedia resource is a first video, and the third interface is a viewing interface of the electronic device during which recording has not yet been started in the multi-lens recording mode.
In other embodiments, the display module 171 and the processing module 172 in the electronic device are further configured to implement the following functions:
the display module 171 is used for displaying a gallery display interface; the gallery display interface comprises a plurality of multimedia resources; the multimedia resource is a video or a photo. The display module 171 is further configured to receive a user trigger operation on a second multimedia resource in the gallery display interface. The processing module 172 is configured to control the display module 171 to display a detail interface of the second multimedia resource in response to the triggering operation of the second multimedia resource received by the display module 171. The detail interface of the second multimedia resource comprises a second sharing control; the second sharing control is used for triggering the electronic equipment to share the second multimedia resource. The processing module 172 is further configured to control the display module 171 to display a second sharing popup in response to the click operation of the user on the second sharing control, which is received by the display module 171; the second sharing popup window comprises a plurality of icons of application programs used for sharing the second multimedia resource. The processing module 172 is further configured to share the second multimedia resource through the second application in response to the user's selection operation of the icon of the second application in the second sharing popup received by the display module 171. The processing module 172 is further configured to control the display module 171 to display a detailed interface of the second multimedia resource after the second multimedia resource is shared by the second application.
Optionally, the second sharing popup window further includes a second cancel option, where the second cancel option is used to trigger the electronic device to cancel sharing the second video; the processing module 172 is further configured to control the display module 171 to display a detail interface of the second multimedia resource in response to the user's selection operation of the second cancel option received by the display module 171.
Optionally, the detail interface of the second multimedia resource further includes a template configuration control, the template configuration control is used to trigger the electronic device to add a shooting template to the second multimedia resource at random, and the shooting template is used to add an audio/video effect to the second multimedia resource. The display module 171 is further configured to receive a triggering operation of the template configuration control performed by the user. The processing module 172 is further configured to control the display module 171 to display a filmed preview interface of the second multimedia resource in response to a trigger operation on the template configuration control received by the display module 171. The piece previewing interface of the second multimedia resource is used for previewing a third multimedia resource, and the third multimedia resource is the second multimedia resource after a shooting template is randomly added; the sheet preview interface further includes a third sharing control for triggering the electronic device to share a third multimedia resource. The processing module 172 is further configured to control the display module 171 to display a third sharing popup in response to the triggering operation of the third sharing control by the user, which is received by the display module 171; the third sharing popup comprises a plurality of icons of application programs for sharing the third multimedia resource. The processing module 172 is further configured to share the third multimedia resource through the third application in response to the user's selection operation of the icon of the third application in the third sharing popup received by the display module 171. The processing module 172 is further configured to control the display module 171 to display a detailed interface of the third multimedia resource after the third multimedia resource is shared by the third application.
Optionally, the third sharing popup window further includes a third cancel option, where the third cancel option is used to trigger the electronic device to cancel sharing of the third multimedia resource; the processing module 172 is further configured to control the display module 171 to display a filmed preview interface of the third multimedia asset in response to the user's selection operation of the third cancel option received by the display module 171.
With reference to the foregoing embodiments, the display module 171 in the electronic device provided by the present application is mainly used to support the electronic device to receive an operation of a user in any interface displayed by the electronic device, and the processing module 172 is used to support the electronic device to execute a relevant action or control the display module to display a corresponding content in response to the operation received by the display module 171. Illustratively, taking the example shown in fig. 8 as an example, the display module 171 is configured to support the electronic device to execute a camera preview interface displayed in S801 and S802, a multi-lens video preview interface displayed in S803 and S804, a sharing popup window displayed in S806, S807 and S808, a selection operation of a user on a target application in the sharing popup window by a receiving user in S809, a sharing interface for displaying the target application in S809, a multi-lens video preview interface displayed in S810 and a piece preview interface displayed in S811 in the example shown in fig. 8. The processing module 172 is used for supporting the electronic device to perform actions in the example shown in fig. 8 except for the actions corresponding to the display module 171, and is also used for controlling the display module 171 to perform actions such as receiving operations and displaying an interface. The rest is the same as the examples shown in fig. 10, 13 and 15.
With regard to the electronic device in the foregoing embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the multimedia resource sharing method in the foregoing embodiment, and is not specifically set forth herein. The related advantages may refer to the related advantages of the multimedia resource sharing method, and are not described herein again.
An embodiment of the present application further provides an electronic device, which includes: the system comprises a plurality of cameras, a display screen, a memory and one or more processors; the camera, the display screen and the memory are coupled with the processor; the memory stores computer program codes, and the computer program codes include computer instructions, which, when executed by the processor, cause the electronic device to execute the multimedia resource sharing method provided in the foregoing embodiments. The specific structure of the electronic device can refer to the structure of the electronic device shown in fig. 6.
An embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium includes computer instructions, and when the computer instructions are executed on an electronic device, the electronic device is enabled to execute the multimedia resource sharing method provided in the foregoing embodiment.
An embodiment of the present application further provides a computer program product, where the computer program product includes executable instructions, and when the computer program product runs on an electronic device, the electronic device is enabled to execute the multimedia resource sharing method provided in the foregoing embodiment.
Through the description of the above embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus/device and method may be implemented in other manners. For example, the above-described apparatus/device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

1. The multimedia resource sharing method is applied to electronic equipment, the electronic equipment comprises a plurality of cameras, and the method comprises the following steps:
the electronic equipment responds to a first event and displays a first interface; the first event is used for triggering the electronic equipment to finish shooting, the first interface is used for previewing a first multimedia resource shot by the electronic equipment, and the first interface further comprises a first sharing control used for triggering the electronic equipment to share the first multimedia resource;
the electronic equipment responds to the triggering operation of a user on the first sharing control, and displays a first sharing popup window, wherein the first sharing popup window comprises a plurality of icons of application programs used for sharing the first multimedia resource;
the electronic equipment responds to the selection operation of a user on an icon of a first application program in the first sharing popup window, and the first multimedia resource is shared through the first application program;
after the electronic equipment shares the first multimedia resource through the first application program, displaying a second interface; wherein the second interface is a viewfinder interface for which the electronic device does not start shooting.
2. The method of claim 1, wherein prior to the electronic device displaying the first interface in response to the first event, the method further comprises:
the electronic equipment displays a third interface; wherein the third interface is a viewfinder interface for which the electronic device has not started shooting; the third interface further comprises a template control;
the electronic equipment responds to the triggering operation of the template control by the user and displays a template popup; the template popup window comprises a plurality of template options, each template option corresponds to a shooting template, and the shooting templates are used for adding audio and video effects to multimedia resources shot by the electronic equipment;
the electronic equipment responds to the selection operation of a user on a target template option in the template popup, shoots multimedia resources by adopting a shooting template corresponding to the target template option, and displays a fourth interface; the fourth interface is a viewfinder interface that the electronic device is shooting.
3. The method of claim 2, wherein the second interface further comprises the template popup.
4. The method according to any one of claims 1 to 3, wherein the first sharing popup window further comprises a first cancel option, and the first cancel option is used for triggering the electronic device to cancel sharing the first multimedia resource; the method further comprises the following steps:
the electronic equipment responds to the selection operation of the user on the first cancel option, and displays the first interface.
5. The method of claim 2, wherein the fourth interface is a viewfinder interface of the electronic device that is recording in a multi-lens recording mode, the first multimedia resource is a first video, and the third interface is a viewfinder interface of the electronic device that has not started recording in the multi-lens recording mode.
6. The multimedia resource sharing method is applied to electronic equipment, the electronic equipment comprises a plurality of cameras, and the method comprises the following steps:
the electronic equipment displays a gallery display interface; the gallery display interface comprises a plurality of multimedia resources; the multimedia resource is a video or a photo;
the electronic equipment receives a trigger operation of a user on a second multimedia resource in the gallery display interface, responds to the trigger operation on the second multimedia resource, and displays a detail interface of the second multimedia resource; the detail interface of the second multimedia resource comprises a second sharing control; the second sharing control is used for triggering the electronic equipment to share the second multimedia resource;
the electronic equipment responds to the click operation of the user on the second sharing control, and displays a second sharing popup window; the second sharing popup window comprises a plurality of icons of application programs used for sharing the second multimedia resource;
the electronic equipment responds to the selection operation of a user on an icon of a second application program in the second sharing popup window, and the second multimedia resource is shared through the second application program;
and after the electronic equipment shares the second multimedia resource through the second application program, displaying a detailed interface of the second multimedia resource.
7. The method of claim 6, wherein the second sharing popup window further comprises a second cancel option, and the second cancel option is used for triggering the electronic device to cancel sharing the second video; the method further comprises the following steps:
and the electronic equipment responds to the selection operation of the user on the second cancel option and displays a detail interface of the second multimedia resource.
8. The method according to claim 6, wherein the detail interface of the second multimedia resource further comprises a template configuration control, the template configuration control is used for triggering the electronic device to randomly add a shooting template for the second multimedia resource, and the shooting template is used for adding an audio/video effect for the second multimedia resource; the method further comprises the following steps:
the electronic equipment receives a trigger operation of a user on the template configuration control, responds to the trigger operation on the template configuration control, and displays a sheet preview interface of the second multimedia resource; the piece previewing interface of the second multimedia resource is used for previewing a third multimedia resource, and the third multimedia resource is the second multimedia resource to which a shooting template is randomly added; the fragmented preview interface further comprises a third sharing control, and the third sharing control is used for triggering the electronic equipment to share the third multimedia resource;
responding to the triggering operation of the user on the third sharing control, and displaying a third sharing popup window by the electronic equipment; the third sharing popup window comprises a plurality of icons of application programs for sharing the third multimedia resource;
the electronic equipment responds to the selection operation of a user on an icon of a third application program in the third sharing popup window, and the third multimedia resource is shared through the third application program;
and after the electronic equipment shares the third multimedia resource through the third application program, displaying a detailed interface of the third multimedia resource.
9. The method of claim 8, wherein the third sharing popup window further comprises a third cancel option, and wherein the third cancel option is used to trigger the electronic device to cancel sharing the third multimedia resource; the method further comprises the following steps:
and the electronic equipment responds to the selection operation of the user on the third cancel option and displays a film preview interface of the third multimedia resource.
10. An electronic device, comprising: the system comprises a plurality of cameras, a display screen, a memory and one or more processors; the camera, the display screen, the memory and the processor are coupled; wherein the memory has stored therein computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the multimedia resource sharing method of any one of claims 1-5 or the multimedia resource sharing method of any one of claims 6-9.
11. A computer-readable storage medium, comprising computer instructions, which, when executed on an electronic device, cause the electronic device to perform the multimedia resource sharing method according to any one of claims 1 to 5, or the multimedia resource sharing method according to any one of claims 6 to 9.
CN202210039510.4A 2021-06-16 2022-01-13 Multimedia resource sharing method and electronic equipment Active CN115484397B (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202110676709 2021-06-16
CN2021106767093 2021-06-16
CN2021114340329 2021-11-29
CN202111434032 2021-11-29

Publications (2)

Publication Number Publication Date
CN115484397A true CN115484397A (en) 2022-12-16
CN115484397B CN115484397B (en) 2023-11-10

Family

ID=84420742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210039510.4A Active CN115484397B (en) 2021-06-16 2022-01-13 Multimedia resource sharing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN115484397B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469143A (en) * 2014-09-30 2015-03-25 腾讯科技(深圳)有限公司 Video sharing method and device
CN106293338A (en) * 2016-08-01 2017-01-04 乐视控股(北京)有限公司 Multimedia file sharing method and system
CN108153900A (en) * 2018-01-12 2018-06-12 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN109164964A (en) * 2018-08-22 2019-01-08 Oppo广东移动通信有限公司 Content share method, device, terminal and storage medium
CN110489043A (en) * 2019-07-31 2019-11-22 华为技术有限公司 A kind of management method and relevant apparatus of suspension windows
CN111273832A (en) * 2020-02-27 2020-06-12 Oppo广东移动通信有限公司 Content sharing method and device, terminal and storage medium
CN111371988A (en) * 2020-02-27 2020-07-03 Oppo广东移动通信有限公司 Content operation method, device, terminal and storage medium
CN111541936A (en) * 2020-04-02 2020-08-14 腾讯科技(深圳)有限公司 Video and image processing method and device, electronic equipment and storage medium
CN111857468A (en) * 2020-07-01 2020-10-30 Oppo广东移动通信有限公司 Content sharing method and device, equipment and storage medium
CN112230812A (en) * 2020-10-16 2021-01-15 北京字节跳动网络技术有限公司 Multimedia data processing method and device, electronic equipment and storage medium
CN112839163A (en) * 2019-11-25 2021-05-25 深圳市万普拉斯科技有限公司 Shot image sharing method and device, mobile terminal and readable storage medium
CN113115099A (en) * 2021-05-14 2021-07-13 北京市商汤科技开发有限公司 Video recording method and device, electronic equipment and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469143A (en) * 2014-09-30 2015-03-25 腾讯科技(深圳)有限公司 Video sharing method and device
CN106293338A (en) * 2016-08-01 2017-01-04 乐视控股(北京)有限公司 Multimedia file sharing method and system
CN108153900A (en) * 2018-01-12 2018-06-12 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN109164964A (en) * 2018-08-22 2019-01-08 Oppo广东移动通信有限公司 Content share method, device, terminal and storage medium
CN110489043A (en) * 2019-07-31 2019-11-22 华为技术有限公司 A kind of management method and relevant apparatus of suspension windows
CN112839163A (en) * 2019-11-25 2021-05-25 深圳市万普拉斯科技有限公司 Shot image sharing method and device, mobile terminal and readable storage medium
WO2021104315A1 (en) * 2019-11-25 2021-06-03 深圳市万普拉斯科技有限公司 Photographed image sharing method and apparatus, and mobile terminal and readable storage medium
CN111371988A (en) * 2020-02-27 2020-07-03 Oppo广东移动通信有限公司 Content operation method, device, terminal and storage medium
CN111273832A (en) * 2020-02-27 2020-06-12 Oppo广东移动通信有限公司 Content sharing method and device, terminal and storage medium
CN111541936A (en) * 2020-04-02 2020-08-14 腾讯科技(深圳)有限公司 Video and image processing method and device, electronic equipment and storage medium
CN111857468A (en) * 2020-07-01 2020-10-30 Oppo广东移动通信有限公司 Content sharing method and device, equipment and storage medium
CN112230812A (en) * 2020-10-16 2021-01-15 北京字节跳动网络技术有限公司 Multimedia data processing method and device, electronic equipment and storage medium
CN113115099A (en) * 2021-05-14 2021-07-13 北京市商汤科技开发有限公司 Video recording method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
I果冻: "iPhone如何分享照片", pages 11 - 52, Retrieved from the Internet <URL:https://www.ixigua.com/6729027836335620616?wid_try=1> *

Also Published As

Publication number Publication date
CN115484397B (en) 2023-11-10

Similar Documents

Publication Publication Date Title
CN110839096B (en) Touch method of equipment with folding screen and folding screen equipment
KR20220082926A (en) Video shooting method and electronic device
US20230217098A1 (en) Shooting method, graphical interface, and related apparatus
CN112860145B (en) Application control method and electronic equipment
EP4207744A1 (en) Video photographing method and electronic device
CN115442509B (en) Shooting method, user interface and electronic equipment
CN115480684A (en) Method for returning edited multimedia resource and electronic equipment
CN115484397B (en) Multimedia resource sharing method and electronic equipment
CN115484399B (en) Video processing method and electronic equipment
WO2022262453A1 (en) Abnormality prompting method and electronic device
CN115484390B (en) Video shooting method and electronic equipment
CN115484394B (en) Guide use method of air separation gesture and electronic equipment
WO2023231696A1 (en) Photographing method and related device
CN115484387B (en) Prompting method and electronic equipment
EP4277257A1 (en) Filming method and electronic device
WO2022262540A1 (en) Photographing method and electronic device
WO2023231698A9 (en) Photographing method and related device
EP4408008A1 (en) Video recording method and related apparatus
WO2022262547A1 (en) Video photographing method and electronic device
CN115811656A (en) Video shooting method and electronic equipment
CN117221708A (en) Shooting method and related electronic equipment
CN117093175A (en) Display method, user interface and related device
CN118363691A (en) Window management method and electronic device
CN117221709A (en) Shooting method and related electronic equipment
CN115480676A (en) Media resource sharing method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant