技术领域technical field
本发明涉及通信技术领域,尤其涉及一种图像分享方法及终端。The invention relates to the field of communication technology, in particular to an image sharing method and terminal.
背景技术Background technique
随着各类社交应用的流行,越来越多的用户喜欢在社交网络上分享自己所拍摄的图像。在现有的图像分享操作中,操作过程较为繁琐,通常是先打开拍摄应用程序进行拍照、查看图像、选中图像、点击分享按钮、选中分享应用、分享。因此,现有的图像分享方法存在操作步骤较多、操作流程繁琐的问题。With the popularity of various social applications, more and more users like to share images they have taken on social networks. In the existing image sharing operation, the operation process is relatively cumbersome. Usually, firstly, the shooting application is opened to take a photo, view the image, select the image, click the share button, select the sharing application, and share. Therefore, the existing image sharing method has the problems of many operation steps and cumbersome operation process.
发明内容Contents of the invention
本发明实施例提供一种图像分享方法及终端,以解决现有的图像分享方法存在操作步骤较多、操作流程繁琐的问题。Embodiments of the present invention provide an image sharing method and a terminal to solve the problems of many operation steps and cumbersome operation procedures in the existing image sharing method.
为了解决上述技术问题,本发明是这样实现的:In order to solve the problems of the technologies described above, the present invention is achieved in that:
第一方面,本发明实施例提供了一种图像分享方法,应用于终端,包括:In the first aspect, an embodiment of the present invention provides an image sharing method applied to a terminal, including:
在显示拍摄预览界面的情况下,接收第一操作;In the case of displaying the shooting preview interface, receiving the first operation;
响应于所述第一操作,显示第一应用程序的图标;In response to the first operation, displaying an icon of a first application program;
接收第二操作,将目标图像分享至第二应用程序;receiving the second operation, and sharing the target image to the second application program;
其中,所述第二应用程序为所述第一应用程序中的至少一个,所述目标图像包括响应于所述第一操作拍摄的图像,或者包括响应于所述第二操作拍摄的图像。Wherein, the second application program is at least one of the first application programs, and the target image includes an image captured in response to the first operation, or includes an image captured in response to the second operation.
第二方面,本发明实施例还提供了一种终端,包括:In a second aspect, an embodiment of the present invention further provides a terminal, including:
第一接收模块,用于在显示拍摄预览界面的情况下,接收第一操作;The first receiving module is configured to receive the first operation when the shooting preview interface is displayed;
显示模块,用于响应于所述第一操作,显示第一应用程序的图标;a display module, configured to display an icon of the first application program in response to the first operation;
分享模块,用于接收第二操作,将目标图像分享至第二应用程序;A sharing module, configured to receive a second operation and share the target image to a second application;
其中,所述第二应用程序为所述第一应用程序中的至少一个,所述目标图像包括响应于所述第一操作拍摄的图像,或者包括响应于所述第二操作拍摄的图像。Wherein, the second application program is at least one of the first application programs, and the target image includes an image captured in response to the first operation, or includes an image captured in response to the second operation.
第三方面,本发明实施例还提供了一种终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第一方面中所述的图像分享方法的步骤。In a third aspect, an embodiment of the present invention also provides a terminal, including a processor, a memory, and a computer program stored in the memory and operable on the processor, and the computer program is executed by the processor When implementing the steps of the image sharing method described in the first aspect.
第四方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面中所述的图像分享方法的步骤。In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the image sharing method as described in the first aspect are implemented.
本发明实施例中,终端在显示拍摄应用程序的图像预览界面的情况下,若接收到第一操作,则终端显示第一应用程序的图标,并当接收到第二操作时,将目标图像分享至第二应用程序;其中,所述目标图像包括响应于所述第一操作拍摄的图像,或者包括响应于所述第二操作拍摄的图像。这样,终端能够在拍摄应用程序的运行界面,通过二次操作即能将拍摄的即时图像分享至第二应用程序,相比于现有的图像分享方法,本发明实施例提供的技术方案操作流程更为简单,简化了用户进行图像分享的操作流程,也提升了终端进行图像分享的处理效率,提高了终端的用户使用体验。In the embodiment of the present invention, when the terminal displays the image preview interface of the shooting application program, if the first operation is received, the terminal displays the icon of the first application program, and when the second operation is received, the target image is shared to the second application program; wherein the target image includes an image captured in response to the first operation, or includes an image captured in response to the second operation. In this way, the terminal can share the captured instant image to the second application program through a second operation on the running interface of the shooting application program. Compared with the existing image sharing method, the operation flow of the technical solution provided by the embodiment of the present invention It is simpler, simplifies the operation process of image sharing by users, improves the processing efficiency of image sharing by terminals, and improves the user experience of terminals.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本发明实施例提供的一种图像分享方法的流程图;FIG. 1 is a flowchart of an image sharing method provided by an embodiment of the present invention;
图1a是应用图1提供的图像分享方法的终端显示界面的一种示意图;Fig. 1a is a schematic diagram of a terminal display interface applying the image sharing method provided in Fig. 1;
图1b是应用图1提供的图像分享方法的终端显示界面的另一种示意图;Fig. 1b is another schematic diagram of a terminal display interface applying the image sharing method provided in Fig. 1;
图1c是应用图1提供的图像分享方法的终端显示界面的另一种示意图;Fig. 1c is another schematic diagram of a terminal display interface applying the image sharing method provided in Fig. 1;
图2是本发明实施例提供的另一种图像分享方法的流程图;Fig. 2 is a flowchart of another image sharing method provided by an embodiment of the present invention;
图2a是应用图2提供的图像分享方法的终端显示界面的一种示意图;Fig. 2a is a schematic diagram of a terminal display interface applying the image sharing method provided in Fig. 2;
图3是本发明实施例提供的一种终端的结构图;FIG. 3 is a structural diagram of a terminal provided by an embodiment of the present invention;
图4是本发明实施例提供的另一种终端的结构图。FIG. 4 is a structural diagram of another terminal provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
请参见图1,图1是本发明实施例提供的一种图像分享方法的流程图,所述方法应用于终端。如图1所示,所述图像分享方法包括以下步骤:Please refer to FIG. 1. FIG. 1 is a flowchart of an image sharing method provided by an embodiment of the present invention, and the method is applied to a terminal. As shown in Figure 1, the image sharing method includes the following steps:
步骤101、在显示拍摄预览界面的情况下,接收第一操作。Step 101. When a shooting preview interface is displayed, receive a first operation.
可以理解地,所述拍摄预览界面可以是指拍摄应用程序启动后,且未执行拍摄前,摄像头采集到的画面。终端可以是通过接收用户的触发操作来显示拍摄预览界面,例如当接收到用户单击桌面上拍摄应用程序图标的触发操作时,则终端的显示界面显示拍摄预览界面。It can be understood that the shooting preview interface may refer to the picture captured by the camera after the shooting application is started and before the shooting is performed. The terminal may display the shooting preview interface by receiving a trigger operation from the user. For example, when the trigger operation of clicking the shooting application icon on the desktop is received, the display interface of the terminal displays the shooting preview interface.
在终端显示拍摄预览界面的情况下,接收用户输入的第一操作。例如,所述第一操作可以是作用于所述拍摄预览界面上的滑动操作,如预设的滑动轨迹,或者是作用于所述拍摄预览界面上预设虚拟按钮上的触发操作,或者还可以是用户输入的语音操作等。When the terminal displays the shooting preview interface, the first operation input by the user is received. For example, the first operation may be a sliding operation acting on the shooting preview interface, such as a preset sliding track, or a triggering operation acting on a preset virtual button on the shooting preview interface, or It is the voice operation input by the user, etc.
在一种可选的实施方式中,所述终端包括有第一显示屏及第二显示屏,所述步骤101可以包括:In an optional implementation manner, the terminal includes a first display screen and a second display screen, and the step 101 may include:
在所述第一显示屏显示拍摄预览界面的情况下,接收作用于所述第二显示屏上的第一操作。When the shooting preview interface is displayed on the first display screen, a first operation performed on the second display screen is received.
例如,所述第一显示屏及所述第二显示屏设置于所述终端的相背对的两个侧面上,在所述第一显示屏显示所述拍摄预览界面的情况下,例如所述拍摄预览界面为终端上后置摄像头采集到的图像,如图1a所示,后置摄像头120可以是与所述第二显示屏12同侧设置,第一操作可以是作用于所述第二显示屏12上。For example, the first display screen and the second display screen are arranged on two opposite sides of the terminal. When the first display screen displays the shooting preview interface, for example, the The shooting preview interface is an image collected by the rear camera on the terminal. As shown in FIG. on screen 12.
这样,对于正反双面屏的终端,也就使得用户在单手握持终端的情况下,通过单手操作即能完成第一操作的输入,无需用户翻转终端,也无需用户一手握持终端,另一只手来在第一显示屏上执行输入操作,更加方便用户操作,也提高了终端使用的便捷性。In this way, for a terminal with a double-sided screen, the user can complete the input of the first operation through one-handed operation when holding the terminal with one hand, without the need for the user to turn over the terminal or hold the terminal with one hand , the other hand is used to perform an input operation on the first display screen, which is more convenient for the user to operate, and also improves the convenience of using the terminal.
步骤102、响应于所述第一操作,显示第一应用程序的图标。Step 102, in response to the first operation, display an icon of the first application program.
可选地,所述第一应用程序为能够支持图像分享的应用程序。Optionally, the first application program is an application program capable of supporting image sharing.
终端在显示拍摄预览界面的情况下,若接收到第一操作,则终端可以在显示所述图像预览界面的同时,还显示第一应用程序的图标。或者,终端也可以是在接收到所述第一操作后,控制所述拍摄应用程序执行拍摄操作,并显示执行该拍摄操作获得的图像,也就是目标图像,并同时显示第一应用程序的图标。When the terminal displays the shooting preview interface, if the first operation is received, the terminal may display the icon of the first application program while displaying the image preview interface. Alternatively, after receiving the first operation, the terminal may control the shooting application to perform the shooting operation, display the image obtained by performing the shooting operation, that is, the target image, and display the icon of the first application at the same time .
例如,请参照图1b,终端的显示界面显示拍摄预览界面111,当接收到用户作用在该图像预览界面111上的上滑操作,也就触发了终端进行图像分享,则终端执行拍摄操作,并显示拍摄操作获得的目标图像和支持图像分享的第一应用程序的图标。如图1c所示,终端的显示界面显示有目标图像121,并在该目标图像121的下方显示有三个第一应用程序的图标21:应用1、应用2和应用3。这样,也就使得用户通过一次操作,就能同时完成拍摄和调出第一应用程序的图标的操作,明显简化了用户操作,也简化了终端进行图像分享的流程;并且,目标图像是通过拍摄应用程序实时拍摄的,也就无需用户通过打开特定的图像存储文件来选择想要分享的图像,进一步简化了用户进行图像分享的操作步骤,也使得用户能够将即时图像迅速地分享出去。For example, please refer to FIG. 1b. The display interface of the terminal displays a shooting preview interface 111. When the user’s upward sliding operation on the image preview interface 111 is received, the terminal is triggered to share images, and the terminal executes the shooting operation, and The target image obtained by the photographing operation and the icon of the first application supporting image sharing are displayed. As shown in FIG. 1 c , a target image 121 is displayed on the display interface of the terminal, and three icons 21 of the first application program are displayed below the target image 121 : application 1 , application 2 and application 3 . In this way, the user can complete the operation of shooting and calling out the icon of the first application program at the same time through one operation, which obviously simplifies the user operation and also simplifies the process of image sharing by the terminal; and, the target image is obtained by shooting The app shoots in real time, so there is no need for the user to select the image to share by opening a specific image storage file, which further simplifies the operation steps for the user to share the image, and also enables the user to quickly share the instant image.
其中,在终端包括前置摄像头及后置摄像头的情况下,终端显示的拍摄预览界面,可以是其中任意一个摄像头对应的拍摄预览界面,例如可以是显示后置摄像头对应的拍摄预览界面,当接收到作用在摄像头切换按钮上的触发操作时,则终端可以切换为显示前置摄像头对应的拍摄预览界面,以方便用户获取想要分享的图像。Wherein, when the terminal includes a front camera and a rear camera, the shooting preview interface displayed on the terminal may be the shooting preview interface corresponding to any one of the cameras, for example, it may display the shooting preview interface corresponding to the rear camera. When the trigger operation acts on the camera switching button, the terminal can switch to display the shooting preview interface corresponding to the front camera, so that the user can obtain the image to be shared conveniently.
本发明实施例中,所述步骤102可以是:响应于所述第一操作,显示第一应用程序的图标,以及响应于所述第一操作拍摄的第三图像。也就是说,第一操作能够触发终端执行拍摄操作得到第三图像并显示,同时还会触发终端显示能够进行图像分享的第一应用程序的图标。这种情况下,在所述步骤102之后,所述方法还可以包括:接收第三操作;响应于所述第三操作,删除所述第三图像,并显示拍摄预览界面。In the embodiment of the present invention, the step 102 may be: in response to the first operation, displaying an icon of the first application program, and a third image captured in response to the first operation. That is to say, the first operation can trigger the terminal to perform a shooting operation to obtain and display the third image, and at the same time also trigger the terminal to display the icon of the first application program capable of image sharing. In this case, after the step 102, the method may further include: receiving a third operation; in response to the third operation, deleting the third image and displaying a shooting preview interface.
如图1c所示,终端响应于所述第一操作,显示后置摄像头拍摄的第三图像,并在该拍摄图像下方同时显示三个第一应用程序,并且,终端的显示界面上同时显示有取消按钮。当接收到作用于该取消按钮上的第三操作时,则终端删除显示的第三图像,并重新显示拍摄预览界面;其中,第一应用程序的图标不会发生改变,也就是说,第一应用程序的图标不会因为第三操作而受到影响,第一应用程序的图标仍然显示于终端的显示界面上。也就是说,所述第三操作可以是作用于上述取消按钮上的触发操作,当然,所述第三操作还可以是其他的操作方式,如可以是用户输入的语音操作,或者是作用在拍摄图像上的预设滑动轨迹等,在此不做赘述。另外需要说明的是,这种情况下,所述目标图像也就是响应于第二操作拍摄的图像。As shown in Figure 1c, in response to the first operation, the terminal displays the third image captured by the rear camera, and simultaneously displays three first application programs under the captured image, and simultaneously displays the cancel button. When receiving the third operation acting on the cancel button, the terminal deletes the displayed third image, and re-displays the shooting preview interface; wherein, the icon of the first application program will not change, that is, the first The icon of the application program will not be affected by the third operation, and the icon of the first application program is still displayed on the display interface of the terminal. That is to say, the third operation may be a trigger operation acting on the above-mentioned cancel button. Of course, the third operation may also be other operation modes, such as a voice operation input by the user, or an action on the shooting button. The preset sliding track on the image, etc., will not be described in detail here. In addition, it should be noted that in this case, the target image is an image captured in response to the second operation.
或者,终端在接收到针对所述第三图像的第三操作时,终端删除第三图像并显示拍摄预览界面,并可以是在接收到所述第三操作后的预设时长内执行拍摄操作。例如,终端在接收到作用于取消按钮上的触发操作时,则终端再次显示拍摄预览界面,例如还是显示后置摄像头对应的拍摄预览界面,并在5秒后自动控制后置摄像头执行拍摄操作,以获得目标图像,并在终端的显示界面显示所述目标图像和第一应用程序的图标。Alternatively, when the terminal receives the third operation on the third image, the terminal deletes the third image and displays a shooting preview interface, and may perform the shooting operation within a preset time period after receiving the third operation. For example, when the terminal receives a trigger operation acting on the cancel button, the terminal displays the shooting preview interface again, for example, still displays the shooting preview interface corresponding to the rear camera, and automatically controls the rear camera to perform the shooting operation after 5 seconds. The target image is obtained, and the target image and the icon of the first application program are displayed on the display interface of the terminal.
本发明实施例中,终端在响应于第一操作并显示响应于第一操作而拍摄的第三图像时,若用户对第三图像不满意,可以通过执行第三操作删除所述第三图像,使得用户能够重新执行拍摄,以获得用户满意的图像。可以理解地,用户可以执行多次拍摄操作和第三操作,也就能够对不满意的图像进行删除,进一步提高了终端的用户使用体验。In the embodiment of the present invention, when the terminal responds to the first operation and displays the third image taken in response to the first operation, if the user is not satisfied with the third image, the third image may be deleted by performing a third operation, The user is enabled to re-perform shooting to obtain an image satisfactory to the user. It can be understood that the user can perform multiple shooting operations and the third operation, so that unsatisfactory images can be deleted, which further improves the user experience of the terminal.
步骤103、接收第二操作,将目标图像分享至第二应用程序。Step 103, receiving the second operation, and sharing the target image to the second application program.
其中,所述目标图像包括拍摄应用程序响应于所述第一操作拍摄的图像,或者包括响应于所述第二操作拍摄的图像。所述图像可以是指照片或者视频。Wherein, the target image includes an image captured by the capturing application program in response to the first operation, or includes an image captured in response to the second operation. The image may refer to a photo or a video.
在一种实施方式中,所述目标图像包括响应于所述第一操作拍摄的图像。这种情况下,终端在接收到第一操作后,则终端的显示界面同时显示所述目标图像和第一应用程序的图标;如图1c所示,终端的显示界面显示有后置摄像头拍摄的目标图像,并在该目标图像的下方显示有三个第一应用程序的图标:应用1、应用2和应用3;当终端接收到第二操作,例如拖动目标图像至应用1的滑动操作,则终端将所述目标图像分享至应用1;或者当终端接收到作用在第二应用程序的图标上的触发操作,如双击应用1,则终端将目标图像分享至应用1。当然,所述第二操作还可以是其他的形式,在此不做赘述。In one embodiment, the target image includes an image captured in response to the first operation. In this case, after the terminal receives the first operation, the display interface of the terminal displays the target image and the icon of the first application at the same time; target image, and three first application icons are displayed below the target image: application 1, application 2, and application 3; when the terminal receives a second operation, such as a sliding operation of dragging the target image to application 1, then The terminal shares the target image to the application 1; or when the terminal receives a trigger operation acting on the icon of the second application program, such as double-clicking the application 1, the terminal shares the target image to the application 1. Of course, the second operation may also be in other forms, which will not be repeated here.
在另一种实施方式中,所述目标图像包括拍摄应用程序响应于所述第二操作拍摄的图像。这种情况下,终端在接收到第一操作后,则终端的显示界面显示的是拍摄预览界面及第一应用程序的图标;若终端接收到第二操作,如从拍摄预览界面至第二应用程序的图标的滑动操作,则终端执行拍摄操作,并将拍摄获得的目标图像分享至第二应用程序。In another implementation manner, the target image includes an image captured by a capturing application program in response to the second operation. In this case, after the terminal receives the first operation, the display interface of the terminal displays the shooting preview interface and the icon of the first application program; if the terminal receives the second operation, such as from the shooting preview interface to the second application If the icon of the program is slided, the terminal executes the shooting operation, and shares the target image obtained by shooting to the second application program.
本发明实施例中,终端在显示拍摄预览界面的情况下,若接收到第一操作,则终端显示第一应用程序的图标,并当接收到第二操作时,将目标图像分享至第二应用程序;其中,所述目标图像包括拍摄应用程序响应于所述第一操作拍摄的图像,或者包括响应于所述第二操作拍摄的图像。这样,终端能够在拍摄应用程序的运行界面,通过二次操作即能将拍摄应用程序拍摄的即时图像分享至第二应用程序,相比于现有的图像分享方法,本发明实施例提供的技术方案操作流程更为简单,简化了用户进行图像分享的操作流程,也提升了终端进行图像分享的处理效率,提高了终端的用户使用体验。In the embodiment of the present invention, when the terminal displays the shooting preview interface, if the first operation is received, the terminal displays the icon of the first application program, and when the second operation is received, the target image is shared with the second application program; wherein the target image includes an image captured by a capture application in response to the first operation, or includes an image captured in response to the second operation. In this way, the terminal can share the instant image taken by the shooting application program to the second application program through a second operation on the running interface of the shooting application program. Compared with the existing image sharing method, the technology provided by the embodiment of the present invention The operation process of the solution is simpler, which simplifies the operation process of image sharing by users, improves the processing efficiency of image sharing by terminals, and improves the user experience of terminals.
请参见图2,图2是本发明实施例提供的一种图像分享方法的流程图,所述方法应用于终端,所述终端包括前置摄像头及后置摄像头。如图2所示,所述图像分享方法包括以下步骤:Please refer to FIG. 2 . FIG. 2 is a flow chart of an image sharing method provided by an embodiment of the present invention. The method is applied to a terminal, and the terminal includes a front camera and a rear camera. As shown in Figure 2, the image sharing method comprises the following steps:
步骤201、在显示拍摄预览界面的情况下,接收第一操作。Step 201. When a shooting preview interface is displayed, receive a first operation.
该步骤可参照图1所示实施例中的步骤101进行实施,为避免重复,本发明实施例中对此不作赘述。This step can be implemented with reference to step 101 in the embodiment shown in FIG. 1 , and to avoid repetition, it will not be described in detail in this embodiment of the present invention.
步骤202、响应于所述第一操作,显示前置摄像头拍摄的第一图像及后置摄像头拍摄的第二图像,以及第一应用程序的图标。Step 202, in response to the first operation, display the first image captured by the front camera, the second image captured by the rear camera, and the icon of the first application program.
其中,所述第一应用程序为支持图像分享的应用程序;所述目标图像包括所述第一图像及所述第二图像中的至少一个。本发明实施例中,所述目标图像包括拍摄应用程序响应于所述第一操作拍摄的图像。Wherein, the first application program is an application program supporting image sharing; the target image includes at least one of the first image and the second image. In the embodiment of the present invention, the target image includes an image captured by the capturing application program in response to the first operation.
终端在包括前置摄像头和后置摄像头的情况下,终端显示的拍摄预览界面可以是包括前置摄像头对应的拍摄预览界面和后置摄像头对应的拍摄预览界面;当终端接收到第一操作,则终端控制所述前置摄像头执行拍摄以获得第一图像,以及控制所述后置摄像头拍摄以获得第二图像,如图2a所示,此时终端的显示界面同时显示第一图像122、第二图像123及第一应用程序的图标21:应用1、应用2、应用3。这样,也就使得终端通过一次操作,即能同时完成调出应用程序的图标以及前置摄像头和后置摄像头的拍摄,简化了用户的操作流程,也提升了终端的图像分享处理效率。When the terminal includes a front camera and a rear camera, the shooting preview interface displayed on the terminal may include a shooting preview interface corresponding to the front camera and a shooting preview interface corresponding to the rear camera; when the terminal receives the first operation, then The terminal controls the front camera to shoot to obtain a first image, and controls the rear camera to shoot to obtain a second image, as shown in FIG. The image 123 and the icons 21 of the first applications: App1, App2, App3. In this way, the terminal can call up the icon of the application program and take pictures of the front camera and the rear camera at the same time through one operation, which simplifies the user's operation process and improves the image sharing processing efficiency of the terminal.
当然,终端在包括前置摄像头和后置摄像头的情况下,终端显示的拍摄预览界面也可以是只包括前置摄像头对应的拍摄预览界面或后置摄像头对应的拍摄预览界面,用户可以是通过触发摄像头切换按钮来对摄像头的图像预览界面进行切换。这种情况下,当终端接收到第一操作,则终端的显示界面可以是只显示与拍摄预览界面对应的摄像头拍摄的图像,如第二图像,以及显示第一应用程序的图标。Of course, when the terminal includes a front camera and a rear camera, the shooting preview interface displayed on the terminal may also only include the shooting preview interface corresponding to the front camera or the shooting preview interface corresponding to the rear camera. The camera switching button is used to switch the image preview interface of the camera. In this case, when the terminal receives the first operation, the display interface of the terminal may only display the image captured by the camera corresponding to the shooting preview interface, such as the second image, and display the icon of the first application program.
步骤203、接收第二操作,将目标图像分享至第二应用程序。Step 203, receiving the second operation, and sharing the target image to the second application program.
其中,所述第二应用程序为所述第一应用程序中的至少一个。如图2a中所示,第一应用程序包括应用1、应用2和应用3,第二应用程序可以是其中的应用1,或者应用1和应用2,等。Wherein, the second application program is at least one of the first application programs. As shown in FIG. 2a, the first application program includes application 1, application 2, and application 3, and the second application program may be application 1, or application 1 and application 2, and so on.
本实施例中,当终端接收到第一操作,终端的显示界面同时显示第一应用程序的图标及第一图像和第二图像,也就是说,第一操作会触发终端执行拍摄操作,以获得目标图像。In this embodiment, when the terminal receives the first operation, the display interface of the terminal displays the icon of the first application program and the first image and the second image at the same time, that is to say, the first operation will trigger the terminal to perform a shooting operation to obtain target image.
例如,在终端的显示界面显示第一应用程序的图标和第一图像及第二图像的情况下,当接收到第二操作,则将第一图像和第二图像中的至少一个分享至第二应用程序。其中,所述第二操作可以是拖动目标图像至第二应用程序的图标的滑动操作,或作用在终端预设按钮上的触发操作,等。例如,可以是只拖动第一图像或第二图像至第二应用程序的图标,则只是将第一图像或第二图像分享至第二应用程序;或者是两指同时拖动第一图像和第二图像至第二应用程序的图标,此时也就是将第一图像和第二图像同时分享到了第二应用程序。这样,更为简化了用户的图像分享操作。For example, when the display interface of the terminal displays the icon of the first application program and the first image and the second image, when the second operation is received, at least one of the first image and the second image is shared with the second application. Wherein, the second operation may be a sliding operation of dragging the target image to the icon of the second application program, or a triggering operation acting on a preset button of the terminal, and the like. For example, you can only drag the first image or the second image to the icon of the second application program, then only share the first image or the second image to the second application program; or drag the first image and the From the second image to the icon of the second application program, at this time, the first image and the second image are shared to the second application program at the same time. In this way, the user's image sharing operation is further simplified.
可选地,在终端包括前置摄像头及后置摄像头的情况下,目标图像可以是响应于第二操作拍摄的图像,这种情况下,所述接收第二操作,将目标图像分享至第二应用程序的步骤,包括:Optionally, when the terminal includes a front camera and a rear camera, the target image may be an image captured in response to the second operation, and in this case, receiving the second operation, sharing the target image to the second Application steps include:
接收第二操作,将所述前置摄像头拍摄的第一图像和所述后置摄像头拍摄的第二图像中的至少一个分享至所述第二应用程序。receiving the second operation, sharing at least one of the first image captured by the front camera and the second image captured by the rear camera to the second application program.
该步骤中,目标图像为终端响应于所述第二操作而获得的图像,所述目标图像也就包括前置摄像头拍摄的第一图像和所述后置摄像头拍摄的第二图像中的至少一个。这样,也就使得终端通过两次操作,即能同时完成对第一图像和第二图像的拍摄,并将第一图像和第二图像同时分享出去,无需用户通过切换摄像头来分别获取第一图像和第二图像,简化了用户的操作流程,也提升了终端的图像分享处理效率。In this step, the target image is an image obtained by the terminal in response to the second operation, and the target image also includes at least one of the first image captured by the front camera and the second image captured by the rear camera . In this way, the terminal can complete the shooting of the first image and the second image at the same time through two operations, and share the first image and the second image at the same time, without the need for the user to obtain the first image separately by switching the camera and the second image, which simplifies the user's operation process and improves the image sharing and processing efficiency of the terminal.
例如,终端响应于第一操作,显示前置摄像头对应的拍摄预览界面和后置摄像头对应的拍摄预览界面,以及显示第一应用程序的图标;当接收到第二操作,如拖动第二应用程序的图标至前置摄像头对应的拍摄预览界面上的滑动操作,终端响应于该第二操作,控制前置摄像头执行拍摄得到第一图像,并将第一图像分享至第二应用程序。这样,通过第二操作也就触发终端同时执行拍摄操作和图像分享操作,简化了终端图像分享的流程,也简化了用户操作。For example, in response to the first operation, the terminal displays the shooting preview interface corresponding to the front camera and the shooting preview interface corresponding to the rear camera, and displays the icon of the first application program; when receiving the second operation, such as dragging the second application The sliding operation from the icon of the program to the shooting preview interface corresponding to the front camera, the terminal responds to the second operation, controls the front camera to perform shooting to obtain the first image, and shares the first image to the second application program. In this way, through the second operation, the terminal is triggered to simultaneously perform a shooting operation and an image sharing operation, which simplifies the process of terminal image sharing and also simplifies user operations.
本发明实施例中,在终端包括前置摄像头和后置摄像头的情况下,同时完成对第一图像和第二图像的拍摄,并能够根据用户的操作,将第一图像和/或第二图像分享出去,无需用户通过切换摄像头来分别获取第一图像和第二图像,以及分别进行分享,简化了用户的操作步骤,也加快了终端对图像分享的处理流程,使用户具有更好的终端使用体验。In the embodiment of the present invention, when the terminal includes a front camera and a rear camera, the shooting of the first image and the second image can be completed at the same time, and the first image and/or the second image can be captured according to the user's operation. To share, users do not need to switch the camera to obtain the first image and the second image respectively, and share them separately, which simplifies the user's operation steps, and also speeds up the terminal's process of image sharing, so that users have better terminal use experience.
请参见图3,图3是本发明实施例提供的一种终端的结构图,如图3所示,所述终端300包括:Please refer to FIG. 3. FIG. 3 is a structural diagram of a terminal provided by an embodiment of the present invention. As shown in FIG. 3, the terminal 300 includes:
第一接收模块301,用于在显示拍摄预览界面的情况下,接收第一操作;The first receiving module 301 is configured to receive a first operation when the shooting preview interface is displayed;
显示模块302,用于响应于所述第一操作,显示第一应用程序的图标;a display module 302, configured to display an icon of the first application program in response to the first operation;
分享模块303,用于接收第二操作,将目标图像分享至第二应用程序;A sharing module 303, configured to receive a second operation and share the target image to a second application;
其中,所述第二应用程序为所述第一应用程序中的至少一个,所述目标图像包括响应于所述第一操作拍摄的图像,或者包括响应于所述第二操作拍摄的图像。Wherein, the second application program is at least one of the first application programs, and the target image includes an image captured in response to the first operation, or includes an image captured in response to the second operation.
可选地,在所述终端300包括前置摄像头及后置摄像头的情况下,所述显示模块302还用于:Optionally, when the terminal 300 includes a front camera and a rear camera, the display module 302 is further configured to:
响应于所述第一操作,显示所述前置摄像头拍摄的第一图像及所述后置摄像头拍摄的第二图像,以及所述第一应用程序的图标;所述目标图像包括所述第一图像及所述第二图像中的至少一个。In response to the first operation, displaying the first image captured by the front camera, the second image captured by the rear camera, and the icon of the first application program; the target image includes the first at least one of an image and the second image.
可选地,在所述终端300包括前置摄像头及后置摄像头的情况下,所述分享模块303还用于:Optionally, when the terminal 300 includes a front camera and a rear camera, the sharing module 303 is further configured to:
接收第二操作,将所述前置摄像头拍摄的第一图像和所述后置摄像头拍摄的第二图像中的至少一个,分享至所述第二应用程序。receiving the second operation, sharing at least one of the first image captured by the front camera and the second image captured by the rear camera to the second application.
可选地,所述显示模块302还用于:Optionally, the display module 302 is also used for:
响应于所述第一操作,显示第一应用程序的图标,以及响应于所述第一操作拍摄的第三图像;In response to the first operation, displaying an icon of the first application program, and a third image captured in response to the first operation;
所述终端300还包括第二接收模块,所述第二接收模块用于:The terminal 300 also includes a second receiving module, the second receiving module is used for:
接收第三操作;receive a third operation;
响应于所述第三操作,删除所述第三图像,并显示拍摄预览界面;In response to the third operation, delete the third image, and display a shooting preview interface;
其中,所述目标图像为响应于所述第二操作拍摄的图像。Wherein, the target image is an image captured in response to the second operation.
可选地,所述终端300包括第一显示屏及第二显示屏,所述第一接收模块301还用于:Optionally, the terminal 300 includes a first display screen and a second display screen, and the first receiving module 301 is further configured to:
在所述第一显示屏显示拍摄预览界面的情况下,接收作用于所述第二显示屏上的第一操作。When the shooting preview interface is displayed on the first display screen, a first operation performed on the second display screen is received.
需要说明的是,终端300能够实现上述图像分享方法实施例的各个过程,并能达到相同的技术效果,为避免重复,这里不再赘述。It should be noted that the terminal 300 can implement each process of the above image sharing method embodiment, and can achieve the same technical effect. To avoid repetition, details are not repeated here.
本公开的实施例中,终端300在显示拍摄预览界面的情况下,若接收到第一操作,则终端300显示第一应用程序的图标,并当接收到第二操作时,将目标图像分享至第二应用程序;其中,所述目标图像包括所述拍摄应用程序响应于所述第一操作拍摄的图像,或者包括响应于所述第二操作拍摄的图像。这样,终端300能够在拍摄应用程序的运行界面,通过二次操作即能将拍摄应用程序拍摄的即时图像分享至第二应用程序,相比于现有的图像分享方法,本发明实施例提供的技术方案操作流程更为简单,简化了用户进行图像分享的操作流程,也提升了终端300进行图像分享的处理效率,提高了终端300的用户使用体验。In the embodiment of the present disclosure, when the terminal 300 is displaying the shooting preview interface, if the first operation is received, the terminal 300 will display the icon of the first application program, and when the second operation is received, the terminal 300 will share the target image to A second application program; wherein the target image includes an image captured by the capture application program in response to the first operation, or includes an image captured in response to the second operation. In this way, the terminal 300 can share the instant image taken by the shooting application program to the second application program through a second operation on the running interface of the shooting application program. Compared with the existing image sharing method, the embodiment of the present invention provides The operation process of the technical solution is simpler, simplifies the operation process of image sharing by users, improves the processing efficiency of image sharing by terminal 300 , and improves the user experience of terminal 300 .
请参照图4,图4为实现本发明实施例的另一种终端的结构图,终端400能够实现上述图像分享方法实施例的各个过程,并能达到相同的技术效果。如图4所示,终端400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、处理器410、以及电源411等部件。本领域技术人员可以理解,图4中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Please refer to FIG. 4 . FIG. 4 is a structural diagram of another terminal implementing the embodiment of the present invention. The terminal 400 can implement each process of the above-mentioned image sharing method embodiment, and can achieve the same technical effect. As shown in Figure 4, the terminal 400 includes but not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processing Device 410, and power supply 411 and other components. Those skilled in the art can understand that the terminal structure shown in FIG. 4 does not constitute a limitation on the terminal, and the terminal may include more or less components than shown in the figure, or combine some components, or arrange different components. In the embodiment of the present invention, the terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
其中,处理器410,用于:Wherein, the processor 410 is used for:
在显示拍摄预览界面的情况下,接收第一操作;In the case of displaying the shooting preview interface, receiving the first operation;
响应于所述第一操作,显示第一应用程序的图标;In response to the first operation, displaying an icon of a first application program;
接收第二操作,将目标图像分享至第二应用程序;receiving the second operation, and sharing the target image to the second application program;
其中,所述第二应用程序为所述第一应用程序中的至少一个,所述目标图像包括响应于所述第一操作拍摄的图像,或者包括响应于所述第二操作拍摄的图像。Wherein, the second application program is at least one of the first application programs, and the target image includes an image captured in response to the first operation, or includes an image captured in response to the second operation.
其中,在所述终端400包括前置摄像头及后置摄像头的情况下,处理器410,还用于:Wherein, in the case where the terminal 400 includes a front camera and a rear camera, the processor 410 is further configured to:
响应于所述第一操作,显示所述前置摄像头拍摄的第一图像及所述后置摄像头拍摄的第二图像,以及所述第一应用程序的图标;所述目标图像包括所述第一图像及所述第二图像中的至少一个。In response to the first operation, displaying the first image captured by the front camera, the second image captured by the rear camera, and the icon of the first application program; the target image includes the first at least one of an image and the second image.
其中,在所述终端400包括前置摄像头及后置摄像头的情况下,处理器410,还用于:Wherein, in the case where the terminal 400 includes a front camera and a rear camera, the processor 410 is further configured to:
接收第二操作,将所述前置摄像头拍摄的第一图像和所述后置摄像头拍摄的第二图像中的至少一个分享至所述第二应用程序。receiving the second operation, sharing at least one of the first image captured by the front camera and the second image captured by the rear camera to the second application program.
其中,处理器410,还用于:Wherein, the processor 410 is also used for:
响应于所述第一操作,显示第一应用程序的图标,以及响应于所述第一操作拍摄的第三图像;In response to the first operation, displaying an icon of the first application program, and a third image captured in response to the first operation;
接收第三操作;receive a third operation;
响应于所述第三操作,删除所述第三图像,并显示拍摄预览界面;In response to the third operation, delete the third image, and display a shooting preview interface;
其中,所述目标图像为响应于所述第二操作拍摄的图像。Wherein, the target image is an image captured in response to the second operation.
其中,所述显示单元406包括第一显示屏及第二显示屏,处理器410,还用于:Wherein, the display unit 406 includes a first display screen and a second display screen, and the processor 410 is also used for:
在所述第一显示屏显示拍摄预览界面的情况下,接收作用于所述第二显示屏上的第一操作。When the shooting preview interface is displayed on the first display screen, a first operation performed on the second display screen is received.
本发明实施例中,终端400在显示拍摄预览界面的情况下,若接收到第一操作,则终端400显示第一应用程序的图标,并当接收到第二操作时,将目标图像分享至第二应用程序;其中,所述目标图像包括所述拍摄应用程序响应于所述第一操作拍摄的图像,或者包括响应于所述第二操作拍摄的图像。这样,终端400能够在拍摄应用程序的运行界面,通过二次操作即能将拍摄应用程序拍摄的即时图像分享至第二应用程序,相比于现有的图像分享方法,本发明实施例提供的技术方案操作流程更为简单,简化了用户进行图像分享的操作流程,也提升了终端400进行图像分享的处理效率,提高了终端400的用户使用体验。In the embodiment of the present invention, when the terminal 400 is displaying the shooting preview interface, if the first operation is received, the terminal 400 will display the icon of the first application program, and when receiving the second operation, share the target image to the second An application program; wherein the target image includes an image captured by the capture application program in response to the first operation, or includes an image captured in response to the second operation. In this way, the terminal 400 can share the instant image taken by the shooting application program to the second application program through a second operation on the running interface of the shooting application program. Compared with the existing image sharing method, the embodiment of the present invention provides The operation process of the technical solution is simpler, which simplifies the operation process of image sharing by users, improves the processing efficiency of image sharing by terminal 400 , and improves the user experience of terminal 400 .
应理解的是,本发明实施例中,射频单元401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器410处理;另外,将上行的数据发送给基站。通常,射频单元401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元401还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 410; Uplink data is sent to the base station. Generally, the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.
终端400通过网络模块402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal 400 provides users with wireless broadband Internet access through the network module 402, such as helping users send and receive emails, browse web pages, and access streaming media.
音频输出单元403可以将射频单元401或网络模块402接收的或者在存储器409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元403还可以提供与终端400执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元403包括扬声器、蜂鸣器以及受话器等。The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the terminal 400 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
输入单元404用于接收音频或视频信号。输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图像或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元406上。经图形处理器4041处理后的图像帧可以存储在存储器409(或其它计算机可读存储介质)中或者经由射频单元401或网络模块402进行发送。麦克风4042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元401发送到移动通信基站的格式输出。The input unit 404 is used for receiving audio or video signals. The input unit 404 can include a graphics processing unit (Graphics Processing Unit, GPU) 4041 and a microphone 4042, and the graphics processing unit 4041 is used for still images or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 406 . The image frames processed by the graphics processor 4041 may be stored in the memory 409 (or other computer-readable storage medium) or sent via the radio frequency unit 401 or the network module 402 . The microphone 4042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 401 for output in the case of a phone call mode.
终端400还包括至少一种传感器405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板4041的亮度,接近传感器可在终端400移动到耳边时,关闭显示面板4041和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器405还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 4041 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 4041 and/or when the terminal 400 moves to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify terminal posture (such as horizontal and vertical screen switching, related games, Magnetometer posture calibration), vibration recognition related functions (such as pedometer, knocking), etc.; sensor 405 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared ray Sensors, etc., will not be described in detail here.
显示单元406用于显示由用户输入的信息或提供给用户的信息。显示单元406可包括显示面板4041,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板4041。The display unit 406 is used to display information input by the user or information provided to the user. The display unit 406 may include a display panel 4041, and the display panel 4041 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
用户输入单元407可用于接收输入的数字或字符信息,以及产生与终端400的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板4071上或在触控面板4071附近的操作)。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器410,接收处理器410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板4071。除了触控面板4071,用户输入单元407还可以包括其他输入设备4072。具体地,其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 407 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the terminal 400 . Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072 . The touch panel 4071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 4071 or near the touch panel 4071). operate). The touch panel 4071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to For the processor 410, receive the command sent by the processor 410 and execute it. In addition, the touch panel 4071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 4071 , the user input unit 407 may also include other input devices 4072 . Specifically, other input devices 4072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
进一步的,触控面板4071可覆盖在显示面板4041上,当触控面板4071检测到在其上或附近的触摸操作后,传送给处理器410以确定触摸事件的类型,随后处理器410根据触摸事件的类型在显示面板4041上提供相应的视觉输出。虽然在图4中,触控面板4071与显示面板4041是作为两个独立的部件来实现终端400的输入和输出功能,但是在某些实施例中,可以将触控面板4071与显示面板4041集成而实现终端400的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 4071 can be covered on the display panel 4041, and when the touch panel 4071 detects a touch operation on or near it, it will be sent to the processor 410 to determine the type of the touch event, and then the processor 410 will The type of event provides a corresponding visual output on the display panel 4041 . Although in FIG. 4, the touch panel 4071 and the display panel 4041 are used as two independent components to realize the input and output functions of the terminal 400, in some embodiments, the touch panel 4071 and the display panel 4041 can be integrated. The implementation of the input and output functions of the terminal 400 is not specifically limited here.
接口单元408为外部装置与终端400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端400内的一个或多个元件或者可以用于在终端400和外部装置之间传输数据。The interface unit 408 is an interface for connecting an external device to the terminal 400 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 408 may be used to receive input from an external device (for example, data information, power, etc.) transfer data between.
存储器409可用于存储软件程序以及各种数据。存储器409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 409 can be used to store software programs as well as various data. The memory 409 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
处理器410是终端400的控制中心,利用各种接口和线路连接整个终端400的各个部分,通过运行或执行存储在存储器409内的软件程序和/或模块,以及调用存储在存储器409内的数据,执行终端400的各种功能和处理数据,从而对终端400进行整体监控。处理器410可包括一个或多个处理单元;优选的,处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。The processor 410 is the control center of the terminal 400, and uses various interfaces and lines to connect various parts of the entire terminal 400, by running or executing software programs and/or modules stored in the memory 409, and calling data stored in the memory 409 , execute various functions of the terminal 400 and process data, so as to monitor the terminal 400 as a whole. The processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 410 .
终端400还可以包括给各个部件供电的电源411(比如电池),优选的,电源411可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal 400 can also include a power supply 411 (such as a battery) for supplying power to various components. Preferably, the power supply 411 can be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Function.
另外,终端400包括一些未示出的功能模块,在此不再赘述。In addition, the terminal 400 includes some functional modules not shown, which will not be repeated here.
可选的,本发明实施例还提供一种终端,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述图像分享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention also provides a terminal, including a processor, a memory, and a computer program stored in the memory and operable on the processor. When the computer program is executed by the processor, the above image sharing method is implemented. The various processes of the embodiment can achieve the same technical effect, so in order to avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述图像分享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned image sharing method embodiment is realized, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910446628.7ACN110213440B (en) | 2019-05-27 | 2019-05-27 | Image sharing method and terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910446628.7ACN110213440B (en) | 2019-05-27 | 2019-05-27 | Image sharing method and terminal |
| Publication Number | Publication Date |
|---|---|
| CN110213440Atrue CN110213440A (en) | 2019-09-06 |
| CN110213440B CN110213440B (en) | 2021-12-28 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910446628.7AActiveCN110213440B (en) | 2019-05-27 | 2019-05-27 | Image sharing method and terminal |
| Country | Link |
|---|---|
| CN (1) | CN110213440B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111309204A (en)* | 2020-01-23 | 2020-06-19 | 维沃移动通信有限公司 | Icon display method and electronic device |
| CN112019422A (en)* | 2020-08-24 | 2020-12-01 | 北京达佳互联信息技术有限公司 | Information sharing method, information processing method, related device and equipment |
| CN112486388A (en)* | 2020-11-30 | 2021-03-12 | 维沃移动通信有限公司 | Picture sharing method and device and electronic equipment |
| CN112839163A (en)* | 2019-11-25 | 2021-05-25 | 深圳市万普拉斯科技有限公司 | Captured image sharing method, device, mobile terminal and readable storage medium |
| CN113037903A (en)* | 2021-03-05 | 2021-06-25 | 维沃移动通信有限公司 | Electronic device |
| CN113824878A (en)* | 2021-08-20 | 2021-12-21 | 荣耀终端有限公司 | Shooting control method based on foldable screen and electronic equipment |
| WO2022001572A1 (en)* | 2020-07-03 | 2022-01-06 | Oppo广东移动通信有限公司 | Image processing method, image processing apparatus, electronic device, and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106527883A (en)* | 2016-09-29 | 2017-03-22 | 北京小米移动软件有限公司 | A method, device and terminal for content sharing |
| CN106681623A (en)* | 2016-10-26 | 2017-05-17 | 维沃移动通信有限公司 | Screenshot picture sharing method and mobile terminal |
| CN106681614A (en)* | 2016-12-30 | 2017-05-17 | 珠海市魅族科技有限公司 | Information sharing method and device |
| CN106792041A (en)* | 2016-12-09 | 2017-05-31 | 北京小米移动软件有限公司 | Content share method and device |
| CN106910133A (en)* | 2015-12-16 | 2017-06-30 | 阿里巴巴集团控股有限公司 | A kind of instant sharing method of photo and device |
| CN206364929U (en)* | 2016-11-11 | 2017-07-28 | 北京佳艺徕经贸有限责任公司 | Image providing service system |
| CN107800878A (en)* | 2017-10-19 | 2018-03-13 | 广东欧珀移动通信有限公司 | Picture display method and device |
| CN108536365A (en)* | 2018-03-16 | 2018-09-14 | 维沃移动通信有限公司 | A kind of images share method and terminal |
| CN109639569A (en)* | 2019-01-31 | 2019-04-16 | 维沃移动通信有限公司 | A kind of social communication method and terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106910133A (en)* | 2015-12-16 | 2017-06-30 | 阿里巴巴集团控股有限公司 | A kind of instant sharing method of photo and device |
| CN106527883A (en)* | 2016-09-29 | 2017-03-22 | 北京小米移动软件有限公司 | A method, device and terminal for content sharing |
| CN106681623A (en)* | 2016-10-26 | 2017-05-17 | 维沃移动通信有限公司 | Screenshot picture sharing method and mobile terminal |
| CN206364929U (en)* | 2016-11-11 | 2017-07-28 | 北京佳艺徕经贸有限责任公司 | Image providing service system |
| CN106792041A (en)* | 2016-12-09 | 2017-05-31 | 北京小米移动软件有限公司 | Content share method and device |
| CN106681614A (en)* | 2016-12-30 | 2017-05-17 | 珠海市魅族科技有限公司 | Information sharing method and device |
| CN107800878A (en)* | 2017-10-19 | 2018-03-13 | 广东欧珀移动通信有限公司 | Picture display method and device |
| CN108536365A (en)* | 2018-03-16 | 2018-09-14 | 维沃移动通信有限公司 | A kind of images share method and terminal |
| CN109639569A (en)* | 2019-01-31 | 2019-04-16 | 维沃移动通信有限公司 | A kind of social communication method and terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112839163A (en)* | 2019-11-25 | 2021-05-25 | 深圳市万普拉斯科技有限公司 | Captured image sharing method, 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 |
| CN112839163B (en)* | 2019-11-25 | 2022-03-18 | 深圳市万普拉斯科技有限公司 | Captured image sharing method, device, mobile terminal and readable storage medium |
| CN111309204A (en)* | 2020-01-23 | 2020-06-19 | 维沃移动通信有限公司 | Icon display method and electronic device |
| WO2022001572A1 (en)* | 2020-07-03 | 2022-01-06 | Oppo广东移动通信有限公司 | Image processing method, image processing apparatus, electronic device, and storage medium |
| US12432440B2 (en) | 2020-07-03 | 2025-09-30 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Image processing method, image processing apparatus, electronic device, and storage medium |
| CN112019422A (en)* | 2020-08-24 | 2020-12-01 | 北京达佳互联信息技术有限公司 | Information sharing method, information processing method, related device and equipment |
| CN112486388A (en)* | 2020-11-30 | 2021-03-12 | 维沃移动通信有限公司 | Picture sharing method and device and electronic equipment |
| CN112486388B (en)* | 2020-11-30 | 2022-06-21 | 维沃移动通信有限公司 | A picture sharing method, device and electronic device |
| CN113037903A (en)* | 2021-03-05 | 2021-06-25 | 维沃移动通信有限公司 | Electronic device |
| CN113824878A (en)* | 2021-08-20 | 2021-12-21 | 荣耀终端有限公司 | Shooting control method based on foldable screen and electronic equipment |
| Publication number | Publication date |
|---|---|
| CN110213440B (en) | 2021-12-28 |
| Publication | Publication Date | Title |
|---|---|---|
| CN108668083B (en) | Photographing method and terminal | |
| WO2021098678A1 (en) | Screencast control method and electronic device | |
| CN108471498B (en) | Shooting preview method and terminal | |
| WO2019137429A1 (en) | Picture processing method and mobile terminal | |
| CN108255378A (en) | A kind of display control method and mobile terminal | |
| CN108762954A (en) | A kind of object sharing method and mobile terminal | |
| CN110213440B (en) | Image sharing method and terminal | |
| CN108459797A (en) | A kind of control method and mobile terminal of Folding screen | |
| WO2019223494A1 (en) | Screenshot capturing method and mobile terminal | |
| CN109857297B (en) | Information processing method and terminal device | |
| CN109889757B (en) | A video call method and terminal device | |
| CN109710349B (en) | Screen capturing method and mobile terminal | |
| CN108519850A (en) | A keyboard interface display method and mobile terminal | |
| CN110865745A (en) | Screen capturing method and terminal equipment | |
| CN108471550A (en) | A kind of video intercepting method and terminal | |
| CN110221795A (en) | A kind of screen recording method and terminal | |
| CN108491130A (en) | A kind of application programe switch-over method and mobile terminal | |
| CN108132749B (en) | Image editing method and mobile terminal | |
| CN108833709A (en) | Method for starting camera and mobile terminal | |
| CN110609648A (en) | Application program control method and terminal | |
| CN108415641A (en) | A kind of processing method and mobile terminal of icon | |
| CN110308838A (en) | Application interaction processing method and terminal device | |
| CN108366221A (en) | A kind of video call method and terminal | |
| CN109710130B (en) | Display method and terminal | |
| CN108279843B (en) | A kind of screenshot method and mobile terminal |
| 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 |