Interaction method and device, electronic equipment and storage medium

By displaying the group photo screen in the camera mode of the electronic device and generating the target group photo image, the problem of multiple people remotely taking photos in the prior art is solved, and the function of generating multiple people group photo images is realized without post-editing, which improves the user experience.

CN120238734APending Publication Date: 2025-07-01BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311862771.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

The prior art cannot allow users of multiple devices to appear in the same shooting screen when they are located in different locations, making it difficult to meet the needs of multiple users to take photos remotely, and the user experience is poor.

Method used

In response to a preset operation of the user in the camera mode of the first terminal, a group photo screen is displayed in the shooting screen display area, which includes a photographing object of the first terminal and a photographing object of at least one second terminal that is connected thereto, and a target photographing image is generated based on the group photo screen.

Benefits of technology

Multiple different subjects can appear in the same group image without post-editing processing, which can preview the group effect, meet the needs of multiple users to take photos remotely and improve the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120238734A_ABST
    Figure CN120238734A_ABST
Patent Text Reader

Abstract

The invention relates to an interaction method and device, electronic equipment and a storage medium, and the interaction method comprises the steps: in a camera mode of a first terminal, responding to a first preset operation of a user, displaying a group picture in a shooting picture display region, the group picture comprises a first shooting object of the first terminal and a second shooting object of at least one second terminal connected with the first terminal; and in response to a second preset operation of the user, generating a target group photo image based on the group photo picture. The first terminal can display a group photo picture in a camera mode, so that the group photo picture can comprise a first shooting object of the first terminal and a second shooting object of at least one second terminal, and a group photo image is generated according to the group photo picture. According to the invention, a plurality of different shooting objects can appear in the same group photo image without carrying out later editing processing on the group photo image, so that the requirement of a user for multi-person remote group photo can be met, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of electronic devices, and particularly to an interaction method, apparatus, electronic device and storage medium. Background Art

[0002] In recent years, with the increasing diversification of the functions of electronic devices and the increasing maturity of the image acquisition technology of electronic devices, electronic devices have been widely used in the shooting of photos or videos in daily life. When using an electronic device to take a photo, a user needs to interact with the electronic device to select different shooting modes to achieve different shooting effects.

[0003] However, with the interaction method of related technologies, it is impossible for users of multiple devices located at different locations to appear in the same shooting screen, which is difficult to meet the user's need for a group remote photo, and the user experience is poor. Summary of the Invention

[0004] To overcome the problems existing in the related technologies, the present disclosure provides an interaction method, apparatus, electronic device and storage medium.

[0005] According to a first aspect of an embodiment of the present disclosure, an interaction method is provided, and the interaction method includes:

[0006] In the camera mode of a first terminal, in response to a first preset operation of a user, a group photo screen is displayed in a shooting screen display area, and the group photo screen includes a first shooting object of the first terminal and second shooting objects of at least one second terminal connected to the first terminal;

[0007] In response to a second preset operation of the user, a target group photo image is generated based on the group photo screen.

[0008] In some embodiments of the present disclosure, the displaying the group photo screen in the shooting screen display area includes:

[0009] Dividing the shooting screen display area into a plurality of sub-areas, the plurality of sub-areas including a first area and at least one second area, and the second areas correspond to the second shooting objects one by one;

[0010] Displaying the first shooting object in the first area, and displaying the corresponding second shooting object in each second area.

[0011] In some embodiments of the present disclosure, the displaying the first shooting object in the first area and displaying the corresponding second shooting object in each second area includes:

[0012] Perform zooming and / or cropping processing on the first initial captured image of the first terminal to obtain a first target captured image adapted to the size of the first region;

[0013] Perform zooming and / or cropping processing on the second initial captured images of the respective second terminals to obtain second target captured images adapted to the sizes of the corresponding second regions;

[0014] Display the first target captured image as the first captured object in the first region, and display the second target captured image as the second captured object in the corresponding second region.

[0015] In some embodiments of the present disclosure, the interaction method further includes:

[0016] In response to the second preset operation of the user, send a shooting instruction to each of the second terminals, where the shooting instruction is used to instruct the second terminal to generate the same target group photo image.

[0017] In some embodiments of the present disclosure, the displaying of the group photo image in the captured image display area includes:

[0018] Receive the initial captured images sent by each of the second terminals;

[0019] Perform image segmentation processing on each of the initial captured images to obtain corresponding target captured images;

[0020] Display each of the target captured images as the second captured object in the current captured image of the first terminal to form the group photo image; and / or,

[0021] Receive the target captured images sent by each of the second terminals, where the target captured images are obtained by performing image segmentation processing on the initial captured images of the second terminals;

[0022] Display each of the target captured images as the second captured object in the current captured image of the first terminal to form the group photo image.

[0023] In some embodiments of the present disclosure, the image segmentation processing is used to segment the human image and the background image in each of the initial captured images, and the target captured image is the human image in the initial captured image.

[0024] In some embodiments of the present disclosure, when displaying the group photo image, the interaction method further includes:

[0025] In response to the third preset operation of the user, perform an editing operation on the target captured images in the group photo image, where the editing operation includes at least one of a rotation operation, a movement operation, and a size adjustment operation.

[0026] In some embodiments of the present disclosure, the interaction method further includes:

[0027] In response to a request operation of a user, based on the identification information of the first terminal and the identification information of at least one terminal to be connected, send a connection request to a server for each of the terminals to be connected;

[0028] In response to the connection request being replied to by the corresponding terminal to be connected in the server, use the replied terminal to be connected as the second terminal and establish a connection between the second terminal and the first terminal.

[0029] In some embodiments of the present disclosure, the sending a connection request to a server for each of the terminals to be connected includes:

[0030] Send a connection request to the server for a plurality of the terminals to be connected;

[0031] The step of, in response to the connection request being replied to by the corresponding terminal to be connected in the server, using the replied terminal to be connected as the second terminal and establishing a connection between the second terminal and the first terminal includes:

[0032] In response to each of the terminals to be connected replying to the connection request within a preset time, use each of the terminals to be connected as the second terminal and establish a connection between the second terminal and the first terminal;

[0033] In response to at least one of the terminals to be connected not replying to the connection request after exceeding the preset time, use the replied terminal to be connected as the second terminal and establish a connection between the second terminal and the first terminal.

[0034] In some embodiments of the present disclosure, when displaying the group photo screen, the interaction method further includes:

[0035] In response to a user's operation to exit the group photo or the first terminal disconnecting from each of the second terminals, display the shooting screen of the first terminal in the shooting screen display area; and / or,

[0036] In response to any of the second terminals exiting the group photo, pause the group photo screen.

[0037] According to a second aspect of the embodiments of the present disclosure, there is provided an interaction device, the interaction device including:

[0038] A display module, which is used to display a group photo screen in the shooting screen display area in the camera mode of the first terminal in response to a first preset operation of the user. The group photo screen includes a first shooting object of the first terminal and a second shooting object of at least one second terminal connected to the first terminal.

[0039] A generation module, which is used to generate a target group photo image based on the group photo screen in response to a second preset operation of the user.

[0040] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, which includes:

[0041] A processor;

[0042] A memory for storing instructions executable by the processor;

[0043] Wherein, the processor is configured to execute the interaction method as described in the first aspect.

[0044] According to a fourth aspect of the embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided. When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the interaction method as described in the first aspect.

[0045] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: Through the interaction method of the present disclosure, the first terminal can display a group photo screen in the shooting screen display area in the camera mode, so that the group photo screen can include the first shooting object of the first terminal and the second shooting objects of at least one second terminal, and generate a group photo image based on the group photo screen. Without post-editing the group photo image, multiple different shooting objects can appear in the same group photo image, and the group photo effect can be previewed, which can meet the user's need for remote group photos of multiple people and improve the user experience.

[0046] It should be understood that the above general description and subsequent detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present invention and used together with the specification to explain the principles of the present invention.

[0048] Figure 1 is a flowchart of an interaction method shown according to an exemplary embodiment.

[0049] Figure 2 is a flowchart of displaying a group photo screen in the shooting screen display area shown according to an exemplary embodiment.

[0050] Figure 3 It is a schematic diagram of a group photo screen shown according to an exemplary embodiment.

[0051] Figure 4 It is a flowchart showing a first photographed object being displayed in a first area and corresponding second photographed objects being displayed in respective second areas according to an exemplary embodiment.

[0052] Figure 5 It is a flowchart showing a group photo screen being displayed in a shooting screen display area according to another exemplary embodiment.

[0053] Figure 6 It is a flowchart showing a group photo screen being displayed in a shooting screen display area according to another exemplary embodiment.

[0054] Figure 7 It is a flowchart of an interaction method shown according to another exemplary embodiment.

[0055] Figure 8 It is a flowchart showing that, in response to a connection request, a corresponding to-be-connected terminal answers in a server, taking the answered to-be-connected terminal as a second terminal and establishing a connection between the second terminal and a first terminal according to an exemplary embodiment.

[0056] Figure 9 It is a flowchart of an interaction method shown according to another exemplary embodiment.

[0057] Figure 10 It is a flowchart of an interaction method shown according to another exemplary embodiment.

[0058] Figure 11 It is a block diagram of an interaction device shown according to an exemplary embodiment.

[0059] Figure 12 It is a block diagram of an electronic device shown according to an exemplary embodiment.

[0060] In the figure:

[0061] 10 - Display module; 20 - Generation module; 101 - Processing component; 102 - Memory; 103 - Power component; 104 - Multimedia component; 105 - Audio component; 106 - Input / output interface; 107 - Sensor component; 108 - Communication component; 109 - Processor. Detailed implementation manners

[0062] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0063] In recent years, with the increasing diversification of the functions of electronic devices such as mobile phones, tablet computers, and digital cameras, and the increasing maturity of the technology for obtaining images through electronic devices, electronic devices have been widely used in the shooting of photos or videos in daily life. When using an electronic device to take a photo, the user needs to interact with the electronic device to select different shooting modes to control different shooting parameters such as focal length, filter, and sensitivity to achieve different shooting effects.

[0064] However, with the interaction method of related technologies, it is impossible to make device users located at different locations appear in the same shooting screen simultaneously when using an electronic device to take a photo. When multiple users are far apart but hope to appear in a photo simultaneously, they need to take photos separately and perform post-editing processing on the taken photos. The process is complex and the group photo effect cannot be previewed, easily missing the moment that one wants to commemorate, resulting in a poor user experience.

[0065] Based on this, the exemplary embodiments of the present disclosure provide an interaction method. Through the interaction method of the present disclosure, the first terminal can display a group photo screen in the shooting screen display area in the camera mode, so that the group photo screen can include the first shooting object of the first terminal and the second shooting objects of at least one second terminal, and generate a group photo image according to the group photo screen. Without performing post-editing processing on the group photo image, multiple different shooting objects can appear in the same group photo image, and the group photo effect can be previewed, which can meet the needs of users for remote group photos and improve the user experience.

[0066] In one exemplary embodiment, an interaction method is provided. The interaction method is applied to the first terminal or other terminals communicating with the first terminal. Referring to Figure 1 as shown, the interaction method includes:

[0067] S100. In the camera mode of the first terminal, in response to a first preset operation of the user, display a group photo screen in the shooting screen display area, where the group photo screen includes the first shooting object of the first terminal and the second shooting objects of at least one second terminal connected to the first terminal.

[0068] In step S100, the first terminal and the second terminal can be, for example, electronic devices such as mobile phones, tablet computers, digital cameras, etc. with a photographing function. In the camera mode of the first terminal, the first terminal can take photos or videos and has a shooting screen display area for displaying the real-time shooting screen.

[0069] When the user makes a first preset operation, it means that the user wants to implement the remote joint photographing function through the first terminal. Therefore, when the first terminal detects the first preset operation of the user, it displays a group photo screen in the shooting screen display area. Exemplarily, the first preset operation of the user can be, for example, clicking the opening control corresponding to the remote joint photographing function, or inputting a preset text or voice command to the first terminal, or toggling the hardware switch corresponding to the remote joint photographing function.

[0070] The process of establishing a connection between the first terminal and the second terminal can be executed, for example, before the user makes the first preset operation or after making the second preset operation. The number of second terminals connected to the first terminal can be one or more. After the first terminal and the second terminal establish a connection, the first terminal and the second terminal can realize data transmission with each other, so that the group photo screen can include the first shooting object of the first terminal itself and the second shooting object sent by the received second terminal, and the group photo effect can be previewed through the group photo screen. Exemplarily, the first shooting object and the second shooting object can be, for example, different shooting screens corresponding to the first terminal and the second terminal, and the first shooting object and the second shooting object can also be different target shooting images corresponding to the first terminal and the second terminal.

[0071] S200. In response to the second preset operation of the user, generate a target group photo image based on the group photo screen.

[0072] In step S200, when the user is satisfied with the group photo effect of the group photo screen at a certain moment, the user can take a photo of the group photo screen at that moment by making a second preset operation such as pressing the shutter, so that when the first terminal detects the second preset operation of the user, the current group photo screen is generated into a target group photo image, so that both the first shooting object and the second shooting object can appear in the target group photo image.

[0073] Users of the first terminal and the second terminal can appear in the first shooting object and the second shooting object respectively. Without each taking a photo and performing post - editing processing on the taken photo, multiple users who are far apart can appear in the target group photo image at the same time, realizing multi - person remote joint photo taking. It should be noted that when multiple users want to perform remote joint photo taking, any party participating in the group photo can be used as the first terminal or the second terminal in the above - mentioned method. That is, the essence of the first terminal and the second terminal is the same. After establishing a connection, the second terminal can also display the group photo screen and generate the target group photo image, and can all achieve remote joint photo taking through the same interaction method.

[0074] In this embodiment, the first terminal can display a group photo screen in the shooting screen display area in the camera mode, so that the group photo screen can include the first shooting object of the first terminal and at least one second shooting object of the second terminal, and generate a group photo image according to the group photo screen. Without performing post - editing processing on the group photo image, multiple different shooting objects can appear in the same group photo image, and the group photo effect can be previewed, which can meet the needs of users for multi - person remote group photos and improve the user experience.

[0075] Reference Figure 2 As shown, displaying a group photo screen in the shooting screen display area may include:

[0076] S110: Divide the shooting screen display area into multiple sub - areas. The multiple sub - areas include a first area and at least one second area, and the second areas correspond to the second shooting objects one by one.

[0077] In step S110, in response to the user's first preset operation, the first terminal divides its shooting screen display area into multiple sub - areas. The size and shape of each sub - area can be set according to the user's needs and can be adjusted according to the shooting effect during the shooting process. The sub - areas include a first area and at least one second area, and the second areas correspond to the second shooting objects one by one, that is, the number of second areas is the number of second terminals connected to the first terminal.

[0078] S120: Display the first shooting object in the first area and display the corresponding second shooting objects in each second area.

[0079] In step S120, after the display area is divided into multiple sub - areas, since the first area is set to one, corresponding to the number of first shooting objects, and the number of second areas is set corresponding to the number of second shooting objects, the first shooting object can be displayed in the first area and the corresponding second shooting objects can be displayed in the second areas, forming a group photo screen, so that the first shooting object and each second shooting object can all appear in the group photo screen.

[0080] Exemplarily, if the first terminal establishes a connection with a second terminal, in response to a first preset operation of the user, the display area of the captured image is divided into two sub-areas as shown in Figure 3 the figure. The first captured object of the first terminal is displayed in the upper sub-area, and the second captured object of the second terminal is displayed in the lower sub-area, so that the first captured object and the second captured object appear in the display area of the captured image at the same time.

[0081] In this embodiment, by dividing the display area of the captured image into multiple sub-areas and respectively displaying the first captured object and each second captured object in the first area and each second area, the first captured object and each second captured object can appear in the display area of the captured image at the same time, realizing the display of a group photo image. The user can preview the group photo effect through the group photo image and generate a target group photo image according to the group photo image, meeting the user's need for remote group photos of multiple people and improving the user experience.

[0082] In some embodiments, as shown in Figure 4 the figure, the first captured object is displayed in the first area, and the corresponding second captured object is displayed in each second area, including:

[0083] S121. Perform zooming and / or cropping processing on the first initial captured image of the first terminal to obtain a first target captured image adapted to the size of the first area.

[0084] S122. Perform zooming and / or cropping processing on the second initial captured images of the second terminals to obtain second target captured images adapted to the sizes of the corresponding second areas.

[0085] In step S121 and step S122, the first initial captured image of the first terminal is the initial captured image displayed by the first terminal through the entire display area of the captured image in the camera mode, and the second initial captured images of the second terminals are the initial captured images displayed by the second terminals through the entire display area of the captured image in the camera mode. Since the display area of the captured image is divided into multiple sub-areas, the first area and the second areas are both smaller than the display areas of the captured images of the first terminal and the second terminals. If the first initial captured image of the first terminal is directly used as the first captured object and displayed in the first area, and the second initial captured images of the second terminals are directly used as the second captured objects and displayed in the second areas, it will cause the sizes of the first initial captured image and the first area and the second initial captured images and the second areas to not correspond, and it is impossible to display the first initial captured image and the second initial captured images with complete core parts in the first area and the second areas respectively.

[0086] Therefore, it is necessary to process the first initial captured image of the first terminal and the second initial captured images of each second terminal to obtain a first target captured image adapted to the size of the first area and a second target captured image adapted to the size of the corresponding second area.

[0087] Exemplarily, the processing of the first initial captured image and the second initial captured images of each second terminal can be, for example, scaling. The first initial captured image and the second initial captured images are scaled according to a preset ratio to be respectively adapted to the sizes of the first area and the second area. The processing of the first initial captured image and the second initial captured images of each second terminal can also be, for example, cropping. Only the core areas in the first initial captured image and the second initial captured images are retained to be respectively adapted to the sizes of the first area and the second area. The processing of the first initial captured image and the second initial captured images of each second terminal can also simultaneously include scaling and cropping. After performing a certain ratio of scaling processing, the remaining parts are cropped to be respectively adapted to the sizes of the first area and the second area.

[0088] S123. Display the first target captured image as the first captured object in the first area, and display the second target captured image as the second captured object in the corresponding second area.

[0089] In step S123, the first target captured image obtained after processing is used as the first captured object and displayed in the first area, so that the first captured object can be adapted to the size of the first area. The second target captured image obtained after processing is used as the second captured object and displayed in the corresponding second area, so that each second captured object can be adapted to the size of the corresponding second area, realizing the display of the first captured object in the first area and the display of the corresponding second captured object in each second area.

[0090] In this embodiment, by performing scaling and cropping processing on the first initial captured image of the first terminal, a first target captured image adapted to the size of the first area is obtained. By performing scaling and cropping processing on the second initial captured images of each second terminal, a second target captured image adapted to the size of the corresponding second area is obtained. The first target captured image and the second target captured image can be respectively used as the first captured object and the second captured object and displayed in the first area and the second area, realizing the display of the first captured object and the second captured object in the group photo image and ensuring the integrity of the core parts of the first initial captured image and the second initial captured images.

[0091] In some embodiments, the interaction method further includes: in response to a second preset operation of the user, sending a shooting instruction to each second terminal, where the shooting instruction is used to instruct the second terminal to generate the same target group photo image.

[0092] When the user performs a second preset operation, in addition to generating a target group photo image based on the group photo screen, the first terminal also sends a shooting instruction to each second terminal connected to it. The shooting instruction is used to instruct the second terminal to generate the same target group photo image.

[0093] Exemplarily, when the user presses the shutter of the first terminal, the first terminal generates the current group photo screen as the target group photo image, and at the same time sends a shooting instruction to each second terminal connected to the first terminal. After receiving the shooting instruction, the second terminal can automatically perform the operation of pressing the shutter according to the shooting instruction. As mentioned above, the shooting screen display area of the second terminal can display the same group photo screen as the first terminal. Therefore, the second terminal can obtain the same target group photo image as the first terminal after performing the operation of pressing the shutter.

[0094] In this embodiment, by responding to the user's second preset operation, the first terminal sends a shooting instruction to each second terminal, and can instruct the second terminal to generate the same target group photo image through the shooting instruction, realizing the synchronous acquisition of the target group photo image on different terminals. Without transmitting the target group photo image to the second terminal, the second terminal can have the same target group photo image, improving the user experience.

[0095] In some embodiments, referring to Figure 5 as shown, displaying the group photo screen in the shooting screen display area may further include:

[0096] S130. Receive the initial shooting images sent by each second terminal.

[0097] In step S130, in response to the user's first preset operation, the first terminal receives the initial shooting images sent by each second terminal. Each initial shooting image may be, for example, an image generated from the initial shooting screen of the corresponding second terminal.

[0098] S140. Perform image segmentation processing on each initial shooting image to obtain the corresponding target shooting image.

[0099] In step S140, the first terminal performs image segmentation processing on each received initial shooting image to obtain the corresponding target shooting image. The size of the target shooting image is smaller than that of the initial shooting image. The target shooting image is the core part of the initial shooting image, that is, the elements that the user wants to appear in the group photo screen. The image segmentation processing can be realized, for example, by threshold segmentation, edge detection, deep learning and other methods.

[0100] S150. Display each target shooting image as a second shooting object in the current shooting screen of the first terminal to form a group photo screen.

[0101] In step S150, each obtained target captured image is displayed as a second captured object in the current capture screen of the first terminal, forming a group photo screen including the second captured object.

[0102] In this embodiment, by receiving the initial captured images sent by each second terminal and performing image segmentation processing on each initial captured image to obtain the corresponding target captured images, each target captured image can be displayed as a second captured object in the current capture screen of the first terminal, realizing the formation of the group photo screen, enabling the group photo screen to include the first captured object and the second captured object, and making the second captured object be the part of the initial captured image of the second terminal that is desired to appear in the group photo screen. The user can preview the group photo effect through the group photo screen and generate a target group photo image according to the group photo screen, meeting the user's need for remote group photos of multiple people and enhancing the user experience.

[0103] It can be understood that in the above embodiment, the image segmentation processing is performed in the first terminal. The image segmentation processing can also be completed in the second terminal, and the image after the image segmentation processing is sent to the first terminal. The first terminal can directly display the received image as the second captured object in the current capture screen.

[0104] In some other embodiments, referring to Figure 6 as shown, displaying the group photo screen in the capture screen display area may further include:

[0105] S160. Receive the target captured images sent by each second terminal, where the target captured images are obtained by performing image segmentation processing on the initial captured images of the second terminal.

[0106] In step S160, in response to the first preset operation of the user, the first terminal receives the target captured images sent by each second terminal. The target captured images are the images obtained by performing image segmentation processing on the initial captured images of the second terminal in the second terminal, that is, the target captured images received by the first terminal have completed the image segmentation processing.

[0107] S170. Display each target captured image as a second captured object in the current capture screen of the first terminal, forming a group photo screen.

[0108] In step S170, the first terminal no longer processes the received target captured images, and directly displays each target captured image as the second captured image in the current capture screen of the first terminal, forming a group photo screen including the second captured object.

[0109] In this embodiment, by receiving the target captured images sent by each second terminal, the target captured images can be directly used as the second captured object and displayed in the current captured screen, thus forming a group photo screen. This enables the group photo screen to include the first captured object and the second captured object, and the second captured object is the part of the initial captured image of the second terminal that the user wants to appear in the group photo screen. The user can preview the group photo effect through the group photo screen and generate a target group photo image according to the group photo screen, meeting the user's need for remote group photos of multiple people and enhancing the user experience.

[0110] It should be noted that in the above embodiment, whether the first terminal receives the initial captured image or the target captured image, they are both real-time dynamic images, enabling the target captured image as the second captured object to change in the current captured screen of the first terminal as the initial captured screen of the second terminal changes, so as to achieve real-time update of the second captured object.

[0111] In some embodiments, image segmentation processing is used to segment the person image and the background image in each initial captured image, and the target captured image is the person image in the initial captured image.

[0112] When performing remote joint photographing, it is usually desired to take a group photo of each user so that the person images of each user can appear in the target group photo image. By performing image segmentation processing on the initial captured image to segment the person image and the background image in the initial captured image, the person image in the initial captured image can be used as the target captured image to be displayed as the second captured object in the group photo screen. For image segmentation processing that can segment the person image and the background image, it can be achieved through various different methods such as AI recognition, sample training, and edge detection.

[0113] In this embodiment, the image segmentation processing performed on the initial captured image is used to segment the person image and the background image in each initial captured image, and the person image in the initial captured image can be used as the target captured image to be displayed as the second captured object in the group photo screen, meeting the need for remote group photos of multiple people and ensuring the group photo effect of the target group photo image.

[0114] In some embodiments, when displaying the group photo screen, the interaction method further includes: in response to a third preset operation of the user, performing an editing operation on the target captured image in the group photo screen, and the editing operation includes at least one of a rotation operation, a moving operation, and a size adjustment operation.

[0115] When the target captured image appears in the current captured screen of the first terminal, it will cover a part of the current captured screen of the first terminal. The size and position of the target captured image will directly affect the group photo screen and the target group photo image. It is necessary to make the target captured image editable to ensure the group photo effect of the target group photo image. When the user performs a third preset operation, an editing operation is performed on the target captured image in the group photo screen. The editing operation includes rotating, moving, and resizing operations on the target captured image, and the size, position, and angle of the target captured image can be adjusted. Different editing operations can correspond to different second preset operations, for example.

[0116] Exemplarily, the third preset operation of the user can be, for example, a touch operation in the display area of the captured screen, including operations such as clicking, swiping, and dragging. If the target captured image is a person image in the initial captured image of the second terminal, the user can perform a touch operation of clicking and swiping on the person image, so that the first terminal performs a corresponding moving operation on the person image, so that the person image can be located at a reasonable position in the group photo screen.

[0117] In this embodiment, the first terminal can respond to the third preset operation of the user and perform editing operations such as rotating, moving, and resizing operations on the target captured image in the group photo screen, realizing the editing of the target captured image in the current captured screen of the first terminal, and ensuring that the target captured image has a suitable size and is located at a suitable position, thereby ensuring the group photo effect of the target group photo image.

[0118] In some embodiments, referring to Figure 7 as shown, the interaction method further includes:

[0119] S300. In response to the user's request operation, based on the identification information of the first terminal and the identification information of at least one terminal to be connected, a connection request to each terminal to be connected is sent to the server.

[0120] In step S300, the display of the group photo screen needs to be based on the premise that the first terminal and the second terminal establish a connection. When the user performs a request operation, the first terminal sends a connection request to each terminal to be connected to the server according to its own identification information and the identification information of at least one terminal to be connected. The terminal to be connected is a terminal device that the first terminal wants to establish a connection with, and the number of terminals to be connected can be one or more. Exemplarily, the identification information of the first terminal and the identification information of the terminal to be connected can be, for example, a uniquely corresponding device ID or a registered account, and the server can be, for example, a cloud platform. When the user performs a request operation, a connection request to each terminal to be connected can be sent to the cloud platform through the network according to the account of the first terminal and the accounts of the terminals to be connected that the first terminal wants to establish a connection with.

[0121] In S400, in response to a connection request being answered by a corresponding terminal to be connected in the server, the answered terminal to be connected is taken as the second terminal, and the second terminal is connected to the first terminal.

[0122] In step S400, if the connection request initiated by the first terminal is answered by a corresponding terminal to be connected in the server, the answered terminal to be connected is taken as the second terminal, and the second terminal is connected to the first terminal, which satisfies the prerequisite for displaying a group photo on the display area of the shooting screen of the first terminal.

[0123] Exemplarily, if any terminal to be connected recognizes that the user makes an operation to pass the request, the terminal to be connected answers the connection request initiated by the first terminal in the server, so that the terminal to be connected can be used as a second terminal to establish a connection with the first terminal.

[0124] In this embodiment, the first terminal can, in response to a request operation of the user, initiate connection requests to each terminal to be connected based on the identification information of the first terminal and the identification information of at least one terminal to be connected, and when the connection requests are answered by the corresponding terminals to be connected in the server, the answered terminals to be connected are taken as the second terminals and the second terminals are connected to the first terminal, so that the first terminal can establish a connection with a specific second terminal, providing a prerequisite for displaying a group photo.

[0125] In some embodiments, the number of terminals to be connected is multiple. The first terminal initiates connection requests to multiple terminals to be connected to the server. Refer to Figure 8 As shown, in response to a connection request being answered by a corresponding terminal to be connected in the server, taking the answered terminal to be connected as the second terminal and connecting the second terminal to the first terminal includes:

[0126] S410: In response to each terminal to be connected answering the connection request within a preset time, taking each terminal to be connected as the second terminal and connecting the second terminal to the first terminal.

[0127] In step S410, the preset time can be, for example, 30s. If each terminal to be connected answers the connection request within the preset time, it means that each terminal to be connected wants to jointly take a remote group photo with the first terminal. Then, each terminal to be connected is taken as the second terminal and the second terminal is connected to the first terminal, so that the group photo can include the first shooting object of the first terminal and the second shooting objects of all terminals to be connected.

[0128] S420: In response to at least one terminal to be connected not answering the connection request after exceeding the preset time, taking the answered terminal to be connected as the second terminal and connecting the second terminal to the first terminal.

[0129] In step S420, if at least one terminal to be connected fails to respond to the connection request within the preset time, it means that this part of the terminals to be connected has no intention of jointly taking a remote group photo with the first terminal. Then, the responding terminals to be connected are taken as the second terminals, and a connection is established between the second terminals and the first terminal, so that the group photo screen can include the first shooting object of the first terminal and the second shooting objects of some of the responding terminals to be connected among the terminals to be connected.

[0130] In this embodiment, if all terminals to be connected respond to the connection request within the preset time, all terminals to be connected are taken as the second terminals and a connection is established between the second terminals and the first terminal. If at least one terminal to be connected fails to respond to the connection request within the preset time, the responding terminals to be connected are taken as the second terminals and a connection is established between the second terminals and the first terminal. This can ensure that when there are multiple terminals to be connected, the second terminals are all the responding terminals to be connected, so that the number of second shooting objects in the group photo screen can correspond to the number of responding terminals to be connected, ensuring that the group photo screen can be adjusted according to the number of terminals with the intention of remote group photo, thus improving the user experience.

[0131] In some embodiments, when displaying the group photo screen, the interaction method further includes: in response to the user's operation of exiting the group photo or the disconnection of the first terminal from each second terminal, displaying the shooting screen of the first terminal in the shooting screen display area.

[0132] If the user performs an operation to exit the group photo, or when the first terminal is disconnected from the second terminal, the first terminal no longer participates in the remote group photo. At this time, the shooting screen of the first terminal is displayed in the shooting screen display area of the first terminal, that is, the first terminal exits the remote group photo mode and switches to the original shooting mode.

[0133] In this embodiment, the first terminal can, when displaying the group photo screen, in response to the user's operation of exiting the group photo or the disconnection of the first terminal from each second terminal, display the shooting screen of the first terminal in the shooting screen display area, so that when the first terminal no longer participates in the remote group photo, it can immediately exit the remote group photo mode and switch to the original shooting mode, and can continue to perform the corresponding shooting work according to the original shooting mode, thus improving the user experience.

[0134] In other embodiments, when displaying the group photo screen, the interaction method further includes: in response to any second terminal exiting the group photo, pausing the group photo screen.

[0135] If any one of at least one second terminal exits the group photo, the group photo screen is paused. Exemplarily, if the second target shooting screen is used as the second shooting object, pausing the group photo screen can, for example, make the second area corresponding to the second shooting object of the exited second terminal become blank in the group photo screen. At this time, the real-time update of the first shooting object and other shooting objects can continue to be maintained or paused. If the target shooting image is used as the second shooting object, pausing the group photo screen can, for example, make the second shooting object of the exited second terminal pause updating or directly cancel it in the group photo screen. At this time, the real-time update of other second shooting objects can continue to be maintained.

[0136] It should be noted that if the second terminal that exits the group photo does not rejoin the group photo after a certain period of time, the display of the second shooting object of this second terminal in the group photo screen is directly cancelled. If the second terminal that exits the group photo rejoins the group photo within a certain period of time, the group photo screen is restored so that the second shooting object of this second terminal can continue to appear in the group photo screen.

[0137] In this embodiment, when the first terminal displays the group photo screen, it can respond to any second terminal exiting the group photo and pause the group photo screen, so that the second shooting object of the second terminal that exits the group photo no longer appears in the group photo screen in real time, ensuring that the second shooting objects that are updated in real time in the group photo screen all correspond to the second terminals participating in the group photo, thus improving the user experience.

[0138] In an exemplary embodiment, an interaction method is provided. The interaction method is applied to the first terminal or other terminals communicating with the first terminal. Refer to Figure 9 as shown, the interaction method includes:

[0139] S1. In response to a user's request operation, based on the identification information of the first terminal and the identification information of at least one terminal to be connected, send a connection request to the server for each terminal to be connected;

[0140] S2. In response to the connection request being answered by the corresponding terminal to be connected in the server, use the answered terminal to be connected as the second terminal and establish a connection between the second terminal and the first terminal;

[0141] S3. In the camera mode of the first terminal, in response to the user's first preset operation, divide the shooting screen display area into multiple sub-areas. The multiple sub-areas include a first area and at least one second area, and the second areas correspond to the second shooting objects one by one;

[0142] S4. Perform scaling and / or cropping processing on the first initial shooting screen of the first terminal to obtain a first target shooting screen adapted to the size of the first area;

[0143] S5. Scale and / or crop the second initial captured images of each second terminal to obtain second target captured images adapted to the sizes of the corresponding second regions;

[0144] S6. Display the first target captured image as the first captured object in the first region, and display the second target captured image as the second captured object in the corresponding second region;

[0145] S7. In response to a second preset operation of the user, generate a target group photo image based on the group photo screen;

[0146] S8. Send a capture instruction to each second terminal, where the capture instruction is used to instruct the second terminal to generate the same target group photo image;

[0147] S9. In response to the user's operation of exiting the group photo or the disconnection of the first terminal from each second terminal, display the captured image of the first terminal in the captured image display area;

[0148] S10. In response to any second terminal exiting the group photo, pause the group photo screen.

[0149] In this embodiment, the first terminal can display the group photo screen in the captured image display area in the camera mode, so that the group photo screen can include the first captured object of the first terminal and the second captured objects of at least one second terminal, and generate a group photo image according to the group photo screen. Without post - editing the group photo image, multiple different captured objects can appear in the same group photo image, and the group photo effect can be previewed, which can meet the user's need for multi - person remote group photos and improve the user experience.

[0150] In an exemplary embodiment, an interaction method is provided. The interaction method is applied to the first terminal or other terminals communicating with the first terminal. Refer to Figure 10 as shown, the interaction method includes:

[0151] S11. In response to a request operation of the user, initiate a connection request to each to - be - connected terminal to the server based on the identification information of the first terminal and the identification information of at least one to - be - connected terminal;

[0152] S12. In response to the connection request being answered by the corresponding to - be - connected terminal in the server, use the answered to - be - connected terminal as the second terminal and establish a connection between the second terminal and the first terminal;

[0153] S13. In the camera mode of the first terminal, in response to a first preset operation of the user, receive the initial captured images sent by each second terminal;

[0154] S14. Perform image segmentation processing on each initial captured image to obtain the corresponding target captured image;

[0155] S15. Display each target captured image as a second captured object in the current captured screen of the first terminal to form a group photo screen;

[0156] S16. In response to a second preset operation of the user, generate a target group photo image based on the group photo screen;

[0157] S17. In response to the user's operation to exit the group photo or the disconnection of the first terminal from each second terminal, display the captured screen of the first terminal in the display area of the captured screen;

[0158] S18. In response to any second terminal exiting the group photo, pause the group photo screen.

[0159] In this embodiment, the first terminal can display the group photo screen in the display area of the captured screen in the camera mode, so that the group photo screen can include the first captured object of the first terminal and the second captured objects of at least one second terminal, and generate a group photo image according to the group photo screen. Without post - editing the group photo image, multiple different captured objects can appear in the same group photo image, and the group photo effect can be previewed, which can meet the user's need for multi - person remote group photos and improve the user experience.

[0160] In an exemplary embodiment, an interaction device is provided. The interaction device is applied to the first terminal or other terminals communicating with the first terminal. Refer to Figure 11 As shown, the interaction device includes a display module 10 and a generation module 20. The display module 10 is used to display a group photo screen in the display area of the captured screen of the first terminal in response to a first preset operation of the user in the camera mode of the first terminal. The group photo screen includes the first captured object of the first terminal and the second captured objects of at least one second terminal connected to the first terminal. The generation module 20 is used to generate a target group photo image based on the group photo screen in response to a second preset operation of the user.

[0161] In this embodiment, the first terminal can display the group photo screen in the display area of the captured screen in the camera mode through the display module 10, so that the group photo screen can include the first captured object of the first terminal and the second captured objects of at least one second terminal, and generate a group photo image according to the group photo screen through the generation module 20. Without post - editing the group photo image, multiple different captured objects can appear in the same group photo image, and the group photo effect can be previewed, which can meet the user's need for multi - person remote group photos and improve the user experience.

[0162] In one embodiment, the display module 10 is further configured to: divide the display area of the captured image into multiple sub-areas, where the multiple sub-areas include a first area and at least one second area, and each second area corresponds to a second captured object; display the first captured object in the first area and display the corresponding second captured object in each second area.

[0163] In one embodiment, the display module 10 is further configured to: perform zooming and / or cropping processing on the first initial captured image of the first terminal to obtain a first target captured image adapted to the size of the first area; perform zooming and / or cropping processing on the second initial captured images of the second terminals to obtain second target captured images adapted to the sizes of the corresponding second areas; display the first target captured image as the first captured object in the first area and display the second target captured images as the second captured objects in the corresponding second areas.

[0164] In one embodiment, the interaction device further includes a sending module, and the sending module is configured to send a capture instruction to each second terminal in response to a second preset operation of the user, where the capture instruction is used to instruct the second terminal to generate the same target group photo image.

[0165] In one embodiment, the display module 10 is further configured to: receive the initial captured images sent by each second terminal; perform image segmentation processing on each initial captured image to obtain a corresponding target captured image; display each target captured image as the second captured object in the current captured image of the first terminal to form a group photo image.

[0166] In one embodiment, the display module 10 is further configured to: receive the target captured images sent by each second terminal, where the target captured images are obtained by performing image segmentation processing on the initial captured images of the second terminals; display each target captured image as the second captured object in the current captured image to form a group photo image.

[0167] In one embodiment, the image segmentation processing is used to segment the person image and the background image in each initial captured image, and the target captured image is the person image in the initial captured image.

[0168] In one embodiment, the display module 10 is further configured to: display the captured image of the first terminal in the display area of the captured image in response to the user's operation of exiting the group photo or the disconnection between the first terminal and each second terminal; and / or, pause the group photo image in response to any second terminal exiting the group photo.

[0169] In one embodiment, the interaction device further includes an editing module, and the editing module is configured to perform an editing operation on the target captured image in the group photo image in response to a third preset operation of the user, where the editing operation includes at least one of a rotation operation, a movement operation, and a size adjustment operation.

[0170] In one embodiment, the interaction device further includes a request module and a connection module. The request module is configured to initiate a connection request to each of the at least one terminal to be connected with the server based on the identification information of the first terminal and the identification information of the at least one terminal to be connected in response to a request operation of the user. The connection module is configured to establish a connection between the first terminal and the second terminal by using the second terminal which is the replied terminal to be connected in response to the connection request being replied by the corresponding terminal to be connected in the server.

[0171] In one embodiment, the request module is further configured to initiate a connection request to multiple terminals to be connected with the server; the connection module is further configured to: establish a connection between the first terminal and each of the second terminals by using each of the terminals to be connected as the second terminal in response to each of the terminals to be connected replying to the connection request within a preset time; establish a connection between the first terminal and the second terminal by using the replied terminal to be connected as the second terminal in response to at least one of the terminals to be connected not replying to the connection request beyond the preset time.

[0172] In an exemplary embodiment, an electronic device is provided. The electronic device may be, for example, an electronic device such as a mobile phone with a photographing function, a tablet computer, a digital camera, etc. The electronic device may be the first terminal, the second terminal as described above, or another terminal communicating with the first terminal.

[0173] Reference Figure 12 As shown, the electronic device may include one or more of the following components: a processing component 101, a memory 102, a power component 103, a multimedia component 104, an audio component 105, an input / output (I / O) interface 106, a sensor component 107, and a communication component 108.

[0174] The processing component 101 generally controls the overall operation of the electronic device, such as operations associated with display, telephone call, data communication, camera operation, and recording operation. The processing component 101 may include one or more processors 109 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 101 may include one or more modules to facilitate the interaction between the processing component 101 and other components. For example, the processing component 101 may include a multimedia module to facilitate the interaction between the multimedia component 104 and the processing component 101.

[0175] The memory 102 is configured to store various types of data to support the operation of the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phone book data, messages, pictures, videos, etc. The memory 102 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0176] The power component 103 provides power for various components of the electronic device. The power component 103 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device.

[0177] The multimedia component 104 includes a screen that provides an output interface between the electronic device and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can not only sense the boundaries of touch or swipe actions, but also detect the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 104 includes a front camera and / or a rear camera. When the electronic device is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.

[0178] The audio component 105 is configured to output and / or input audio signals. For example, the audio component 105 includes a microphone (MIC) that is configured to receive external audio signals when the electronic device is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 102 or transmitted via the communication component 108. In some embodiments, the audio component 105 further includes a speaker for outputting audio signals.

[0179] The I / O interface 106 provides an interface between the processing component 101 and a peripheral interface module, which can be a keyboard, a click wheel, buttons, etc. These buttons can include, but are not limited to: a home button, a volume button, a power button, and a lock button.

[0180] The sensor assembly 107 includes one or more sensors for providing status assessment of various aspects of the electronic device. For example, the sensor assembly 107 can detect the on / off state of the electronic device, the relative positioning of components, such as the display and keypad of the electronic device, the sensor assembly 107 can also detect a change in the position of the electronic device or a component of the electronic device, the presence or absence of user contact with the electronic device, the orientation or acceleration / deceleration of the electronic device, and the temperature change of the electronic device. The sensor assembly 107 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 107 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 107 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0181] The communication component 108 is configured to facilitate communication between the electronic device and other devices in a wired or wireless manner. The device can access a wireless network based on communication standards, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 108 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 108 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0182] In an exemplary embodiment, the electronic device can be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above interaction method.

[0183] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as the memory 102 including instructions, is also provided. The above instructions can be executed by the processor 109 of the electronic device to complete the above interaction method. For example, the non-transitory computer-readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage devices, etc. When the instructions in the storage medium are executed by the processor 109 of the electronic device, the electronic device is enabled to execute the interaction method shown in the above embodiments.

[0184] Other embodiments of the present invention will be readily apparent to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention, which follow the general principles of the invention and include known common general knowledge or conventional technical means in the technical field not disclosed in this disclosure. The specification and examples are only to be regarded as exemplary, and the true scope and spirit of the invention are pointed out by the following claims.

[0185] It should be understood that the present invention is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the appended claims.

Claims

1. An interaction method, characterized in that, The interactive method includes: In the camera mode of the first terminal, in response to a first preset operation of the user, a group photo screen is displayed in the shooting screen display area, and the group photo screen includes a first shooting object of the first terminal and second shooting objects of at least one second terminal connected to the first terminal; In response to a second preset operation of the user, a target group photo image is generated based on the group photo screen.

2. The interactive method according to claim 1, wherein The step of displaying the group photo screen in the shooting screen display area includes: Dividing the shooting screen display area into multiple sub-areas, the multiple sub-areas include a first area and at least one second area, and the second areas correspond to the second shooting objects one by one; Displaying the first shooting object in the first area, and displaying the corresponding second shooting object in each second area.

3. The interactive method according to claim 2, wherein The step of displaying the first shooting object in the first area and displaying the corresponding second shooting object in each second area includes: Performing zooming and / or cropping processing on the first initial shooting screen of the first terminal to obtain a first target shooting screen adapted to the size of the first area; Performing zooming and / or cropping processing on the second initial shooting screens of the second terminals to obtain second target shooting screens adapted to the sizes of the corresponding second areas; Displaying the first target shooting screen as the first shooting object in the first area, and displaying the second target shooting screen as the second shooting object in the corresponding second area.

4. The interactive method according to claim 1, wherein The interactive method further includes: In response to the second preset operation of the user, sending a shooting instruction to each second terminal, and the shooting instruction is used to instruct the second terminal to generate the same target group photo image.

5. The interactive method according to claim 1, wherein The step of displaying the group photo screen in the shooting screen display area includes: Receiving the initial shooting images sent by each second terminal; Performing image segmentation processing on each initial shooting image to obtain corresponding target shooting images; Displaying each target shooting image as the second shooting object in the current shooting screen of the first terminal to form the group photo screen; and / or, Receiving the target shooting images sent by each second terminal, and the target shooting images are obtained by performing image segmentation processing on the initial shooting images of the second terminals; Displaying each target shooting image as the second shooting object in the current shooting screen of the first terminal to form the group photo screen.

6. The interactive method according to claim 5, wherein The image segmentation processing is used to segment the person images and background images in each initial shooting image, and the target shooting image is the person image in the initial shooting image.

7. The interactive method according to claim 5, wherein When displaying the group photo screen, the interactive method further includes: In response to a third preset operation of the user, performing an editing operation on the target shooting image in the group photo screen, and the editing operation includes at least one of a rotation operation, a moving operation, and a size adjustment operation.

8. The interactive method according to any one of claims 1-7, characterized in that, The interactive method further includes: In response to a request operation of the user, based on the identification information of the first terminal and the identification information of at least one terminal to be connected, sending a connection request to the server to connect to each terminal to be connected; In response to the connection request being answered by the corresponding to-be-connected terminal in the server, use the answered to-be-connected terminal as the second terminal and establish a connection between the second terminal and the first terminal.

9. The interactive method according to claim 8, wherein The initiating connection requests to the server with each of the to-be-connected terminals includes: Initiating connection requests to the server with multiple to-be-connected terminals; The responding to the connection request being answered by the corresponding to-be-connected terminal in the server, using the answered to-be-connected terminal as the second terminal and establishing a connection between the second terminal and the first terminal includes: In response to each of the to-be-connected terminals answering the connection request within a preset time, using each of the to-be-connected terminals as the second terminal and establishing a connection between the second terminal and the first terminal; In response to at least one of the to-be-connected terminals not answering the connection request after exceeding the preset time, using the answered to-be-connected terminal as the second terminal and establishing a connection between the second terminal and the first terminal.

10. The interactive method according to any one of claims 1-7, characterized in that, When displaying the group photo screen, the interaction method further includes: In response to a user's operation to exit the group photo or the first terminal disconnecting from each of the second terminals, displaying the shooting screen of the first terminal in the shooting screen display area; and / or, In response to any of the second terminals exiting the group photo, pausing the group photo screen.

11. An interaction device, characterized in that, The interaction device includes: A display module, which is configured to, in the camera mode of the first terminal, in response to a first preset operation of the user, display a group photo screen in the shooting screen display area, where the group photo screen includes a first shooting object of the first terminal and second shooting objects of at least one second terminal connected to the first terminal; A generating module, which is configured to, in response to a second preset operation of the user, generate a target group photo image based on the group photo screen.

12. An electronic device, characterized in that, The electronic device includes: A processor; A memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the interaction method according to any one of claims 1-10.

13. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is enabled to execute the interaction method according to any one of claims 1-10.