Shooting method, system and electronic equipment

By establishing network connections between devices and using sound-emitting identifiers to mark devices with sound input, flexible and accurate screen switching in multi-device scenarios is achieved, which solves the problem of users focusing on devices with sound input in multi-device scenarios. Improved user experience.

CN114697732BActive Publication Date: 2024-10-18HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202011630348.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-30
Publication Date
2024-10-18
Estimated Expiration
2040-12-30

AI Technical Summary

Technical Problem

In multi-device shooting scenarios, how to flexibly and accurately switch the shooting images of different devices to electronic devices for display. Especially in conference or video call scenarios, users need to focus on the shooting images of devices with sound input.

Method used

By establishing a network connection between devices and using a preset sound logo to mark the device with sound input in the shooting screen, the master device can identify and switch to the shooting screen of the slave device with sound input, achieving a flexible and accurate picture. switch.

Benefits of technology

The user experience is improved, allowing users to easily focus on the shooting screen of the device with sound input, and enhancing the convenience of use in multi-device scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114697732B_ABST
    Figure CN114697732B_ABST
Patent Text Reader

Abstract

The present application provides a shooting method, system and electronic device, which relates to the field of shooting. The electronic device can flexibly and accurately switch the shooting pictures of different devices to the electronic device for display, thereby improving the user experience. The method includes: the first device can display the first shooting picture in the display interface, and the first shooting picture is the shooting picture collected by the first device using its own camera; when the first device establishes a network connection with N electronic devices, the first device can instruct the N electronic devices to start collecting shooting pictures, where N is an integer greater than 1; if the first device obtains the second shooting picture collected by the second device, the first device can identify whether the second shooting picture contains a preset voice mark, and the voice mark is used to indicate that the user is speaking; if the second shooting picture contains a preset voice mark, it means that the user using the second device is speaking, and the first device can display the second shooting picture in the display interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of photography, and in particular to a photography method, system and electronic equipment. Background Art

[0002] At present, many users have multiple electronic devices with shooting functions in their homes or workplaces. In some scenarios, users may need to watch pictures shot by different electronic devices.

[0003] For example, in a conference scene or a scene where multiple people are making a video call, each user can use an electronic device (such as a mobile phone) to take pictures. When user A uses mobile phone 1 to speak in the meeting, other users may want to use their own mobile phones to receive audio data and pictures from mobile phone 1. Later, when user B uses mobile phone 2 to speak in the meeting, other users may want to use their own mobile phones to receive audio data and pictures from mobile phone 2. In this scenario, how to flexibly and accurately switch the pictures taken by different devices to the electronic device for display becomes an urgent problem to be solved. Summary of the invention

[0004] The present application provides a shooting method, system and electronic device, which can flexibly and accurately switch shooting images of different devices to be displayed in the electronic device, thereby improving the user experience.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In the first aspect, the present application provides a shooting method, including: a first device can display a first shooting picture in a display interface, the first shooting picture is a shooting picture collected by the first device using its own camera; when the first device establishes a network connection with N electronic devices, the first device can instruct the N electronic devices to start collecting shooting pictures, N is an integer greater than 1; if the first device obtains a second shooting picture collected by a second device (the second device is one of the above-mentioned N electronic devices), the first device can identify whether the second shooting picture contains a preset voice mark, and the voice mark is used to indicate that the user is speaking; if the second shooting picture contains a preset voice mark, it means that the user using the second device is speaking, and the first device can display the second shooting picture in the display interface. At this time, the first device can continue to display the first shooting picture (i.e., the shooting picture of the first device) in the display interface, or it can not display the first shooting picture.

[0007] It can be seen that in a distributed shooting scenario where a first device is connected to multiple electronic devices, when a user inputs an audio signal to an electronic device (such as a second device), the second device can add a preset voice mark to the captured shooting picture, so that the first device is informed that a user has input an audio signal to the second device. Furthermore, the first device can display the shooting picture with the voice mark in the display interface. In this way, when different users use their respective devices to input audio signals, the first device as the master device can flexibly and accurately switch the shooting picture collected by the slave device with user voice input to the master device for display, so that the user can focus on the shooting picture of the slave device with user voice input, thereby improving the user experience.

[0008] In a possible implementation, a preset button may be set in the above display interface, and the preset button is used to synchronously display the pictures taken by multiple devices; for example, the name of the preset button may be dual-view mode or multi-view mode, etc. Taking the dual-view mode as an example, before the first device obtains the second picture taken by the second device, it also includes: in response to the user selecting the preset button, the first device may create a first window and a second window in the display interface, wherein the first window is used to display the first picture taken by the first device, and the second window is used to display the pictures taken by other devices; at this time, the first device displays the second picture in the display interface, specifically including: the first device displays the second picture in the second window, and displays the first picture in the first window. In this way, after the user selects the preset button, the first device can simultaneously display the first picture taken by itself and the pictures taken by other devices with the user's voice input.

[0009] In a possible implementation, in response to the user selecting a preset button, the operation further includes: the first device establishing a network connection with N electronic devices; if the first device first establishes a network connection with a third device, before the first device obtains the second captured image captured by the second device, the operation further includes: the first device obtains the third captured image captured by the third device, the third device being an electronic device other than the second device among the N electronic devices; the first device displays the third captured image in the second window, and displays the first captured image in the first window. That is, after the user selects the preset button, the first device may first display the captured image of the first connected device in the second window, and subsequently, when a captured image with user voice input is obtained, the displayed captured image may be switched to a captured image with user voice input (e.g., the second captured image) in the second window.

[0010] Of course, after the user selects the preset button, the first device may also first display the captured images of one or more other devices among the N electronic devices in the second window, and this application does not impose any restrictions on this.

[0011] In a possible implementation, if the second shooting picture includes a preset sound mark, the first device displays the second shooting picture in the display interface, specifically including: if the second shooting picture includes a preset sound mark, the first device can determine whether the time from displaying the third shooting picture in the second window exceeds the preset time; if it exceeds the preset time, the first device displays the second shooting picture in the second window.

[0012] That is, if the time since the last switching of the shooting screen in the second window does not exceed the preset time, it means that the first device has recently switched the shooting screen in the second window. In order to avoid frequent switching of the shooting screen in the second window causing a bad user experience for the user, the first device can continue to display the third shooting screen of the third device in the second window. If the time since the last switching of the shooting screen in the third shooting screen exceeds the preset time, the first device can switch the shooting screen displayed in the third shooting screen to the currently received shooting screen carrying the sound identification.

[0013] In a possible implementation, after the first device displays the second shot in the second window, the process further includes: the first device obtains the third shot captured by the third device; if the third shot does not contain a voice identifier, the first device may continue to display the second shot in the second window without displaying the third shot. In this way, the shot captured by the slave device without user voice input will not be displayed in the display interface of the first device (i.e., the master device), and the master device can flexibly and accurately switch the shot captured by the slave device with user voice input to display on the master device, so that the user can focus on the shot of the slave device with user voice input.

[0014] In a possible implementation, after the first device obtains the third captured image captured by the third device, it also includes: if the third captured image includes a sound identification, the first device can display the third captured image in the second window, and at this time, the second window no longer displays the second captured image of the second device; or, if the third captured image includes a sound identification, the first device can create a third window in the display interface, and display the third captured image in the third window, and at this time, the second window can continue to display the second captured image of the second device.

[0015] In a possible implementation, the second window may include a prompt message, where the prompt message is used to prompt that the user corresponding to the second window is speaking.

[0016] In one possible implementation, if the second shooting picture includes a preset sound identifier, the first device displays the second shooting picture in the display interface, including: if the second shooting picture includes a preset sound identifier, the first device switches the first shooting picture to the second shooting picture in the display interface, and at this time, the shooting picture of the first device itself is no longer displayed in the display interface.

[0017] In a possible implementation, after the first device establishes a network connection with N electronic devices, it also includes: the first device can detect whether a user inputs an audio signal to the first device; if a user inputs an audio signal to the first device, the first device can add a voice mark to the collected first shot; then, the first device can send the first shot with the voice mark to the connected N electronic devices, so that the N electronic devices display the first shot according to the voice mark. In this way, the slave device connected to the first device can also display the shot with the voice mark in the display interface, so that users in the distributed shooting scene can all focus on the shot of the slave device with user voice input.

[0018] In a possible implementation, the first device detects whether a user inputs an audio signal to the first device, specifically including: when the first device uses a camera to capture a first shot, it can use a microphone to detect an audio signal like a slave device; when the first device detects an audio signal, it can obtain M first shots corresponding to the detected audio signal, where M is an integer greater than 1; if the lip features in the M first shots match the detected audio signal, the first device can determine that a user inputs an audio signal to the first device. This method of detecting whether a user inputs an audio signal to a device does not require pre-training and storage of information such as the user's voiceprint and facial features, nor does it require interaction with a server, which can reduce the complexity and cost of implementation.

[0019] In one possible implementation, when the first device detects an audio signal, M first captured images corresponding to the detected audio signal are obtained, specifically including: when the first device detects that the loudness of the audio signal is greater than a preset value, M first captured images corresponding to the detected audio signal are obtained, thereby increasing the accuracy of the first device in determining that the user inputs an audio signal to itself.

[0020] In a possible implementation, after the first device detects whether a user inputs an audio signal to the first device, the method further includes: if a user inputs an audio signal to the first device, indicating that the user speaking at this time is a user using the first device, the first device may stop displaying the second shot screen of the second device. Of course, the first device may also continue to display the second shot screen of the second device, and this application does not impose any limitation on this.

[0021] In the second aspect, the present application provides a shooting method, including: after the second device establishes a network connection with the first device, the second device can use a camera to collect shooting images and use a microphone to detect audio signals; when the second device detects that a user inputs an audio signal to the second device, the second device can add a preset voice mark to the collected shooting images, and the voice mark is used to indicate that the user is speaking; then, the second device can send the shooting images carrying the voice mark to the first device, so that the first device can display the shooting images carrying the voice mark in the display interface. In this way, when different users use their respective slave devices to input audio signals, the first device as the master device can flexibly and accurately switch the shooting images collected by the slave device with user voice input to the master device for display, so that the user can focus on the shooting images of the slave device with user voice input, thereby improving the user experience.

[0022] In one possible implementation, after the second device uses a camera to capture a picture and uses a microphone to detect an audio signal, it also includes: when the second device detects an audio signal, obtaining M pictures corresponding to the detected audio signal, where M is an integer greater than 1; if the lip features in the M pictures match the detected audio signal, the second device can determine that a user has input an audio signal into the second device.

[0023] In one possible implementation, when the second device detects an audio signal, M captured images corresponding to the detected audio signal are obtained, including: when the second device detects that the loudness of the audio signal is greater than a preset value, M captured images corresponding to the detected audio signal are obtained.

[0024] In a possible implementation, after the second device establishes a network connection with the first device, the second device further includes: the second device obtains the shooting picture of the first device; if the shooting picture of the first device contains a sound identification mark, the second device displays the shooting picture of the first device in the display interface. In other words, the second device can also display the shooting picture carrying the sound identification mark, so that users in the distributed shooting scene can all focus on the shooting picture of the slave device with the user's voice input.

[0025] In a possible implementation, the display interface of the second device may also include a first window and a second window, wherein the second device displays the captured image of the first device in the display interface, including: the second device can display the captured image of the first device in the first window, and display the captured image of the second device in the second window.

[0026] In a third aspect, the present application provides an electronic device (such as the first device mentioned above), comprising: a display screen, a communication module, one or more processors, one or more cameras, one or more memories, and one or more computer programs; wherein the processor is coupled to the communication module, the display screen and the memory, and the one or more computer programs are stored in the memory. When the electronic device is running, the processor executes the one or more computer programs stored in the memory so that the electronic device performs the shooting method in any of the above aspects.

[0027] In a fourth aspect, the present application provides an electronic device (such as the second device mentioned above), comprising: a display screen, a communication module, one or more processors, one or more cameras, one or more memories, and one or more computer programs; wherein the processor is coupled to the communication module and the memory, and the one or more computer programs are stored in the memory. When the electronic device is running, the processor executes the one or more computer programs stored in the memory so that the electronic device performs the shooting method in any of the above aspects.

[0028] In a fifth aspect, the present application provides a distributed shooting system, comprising the first device in the third aspect and the second device in the fourth aspect. The first device can display a first shooting picture in a display interface, and the first shooting picture is a shooting picture collected by the first device; when the first device establishes a network connection with N electronic devices, the first device instructs the N electronic devices to start collecting shooting pictures, where N is an integer greater than 1; when the second device uses a camera to collect shooting pictures, it can also use a microphone to detect audio signals; when the second device detects that a user inputs an audio signal to the second device, the second device adds a preset voice identifier to the collected shooting picture (for example, the second shooting picture), and the voice identifier is used to indicate that the user is speaking; the second device sends the second shooting picture carrying the voice identifier to the first device; after the first device obtains the second shooting picture, if the second shooting picture contains a preset voice identifier, the first device displays the second shooting picture in the display interface.

[0029] In a sixth aspect, the present application provides a computer-readable storage medium, comprising computer instructions. When the computer instructions are executed on the first device or the second device, the first device or the second device executes the shooting method described in any of the above aspects.

[0030] In a seventh aspect, the present application provides a computer program product. When the computer program product is run on the above-mentioned first device or second device, the first device or the second device executes the shooting method described in any of the above aspects.

[0031] An eighth aspect provides a graphical user interface (GUI) on an electronic device, the electronic device having a display screen, a camera, a memory and one or more processors, the one or more processors being used to execute one or more computer programs stored in the memory, the graphical user interface comprising a graphical user interface displayed when the electronic device executes the technical solution that may be designed according to the first aspect and any item of the first aspect or the second aspect and any item of the second aspect.

[0032] It can be understood that the electronic devices, distributed shooting systems, computer-readable storage media and computer program products provided in the above-mentioned aspects are all applied to the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 A schematic diagram of the architecture of a distributed shooting system provided in an embodiment of the present application;

[0034] Figure 2 An example of an application scenario of a shooting method provided in an embodiment of the present application Figure 1 ;

[0035] Figure 3 An example of an application scenario of a shooting method provided in an embodiment of the present application Figure 2 ;

[0036] Figure 4 An example of an application scenario of a shooting method provided in an embodiment of the present application Figure 3 ;

[0037] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application Figure 1 ;

[0038] Figure 6 A schematic diagram of the architecture of an operating system in an electronic device provided in an embodiment of the present application;

[0039] Figure 7 An example of an application scenario of a shooting method provided in an embodiment of the present application Figure 4 ;

[0040] Figure 8 An example of an application scenario of a shooting method provided in an embodiment of the present application Figure 5 ;

[0041] Fig. 9 An example of an application scenario of a shooting method provided in an embodiment of the present application Figure 6 ;

[0042] Fig.10 An example of an application scenario of a shooting method provided in an embodiment of the present application Figure 7 ;

[0043] Fig.11 An example of an application scenario of a shooting method provided in an embodiment of the present application Figure 8 ;

[0044] Fig.12 An example of an application scenario of a shooting method provided in an embodiment of the present application Figure 9 ;

[0045] Fig.13 An example of an application scenario of a shooting method provided in an embodiment of the present application Figure 10 ;

[0046] Fig.14 An example of an application scenario of a shooting method provided in an embodiment of the present application Figure 10 one;

[0047] Fig.15 An example of an application scenario of a shooting method provided in an embodiment of the present application Figure 10 two;

[0048] Fig.16 An example of an application scenario of a shooting method provided in an embodiment of the present application Figure 10 three;

[0049] Fig.17 An example of an application scenario of a shooting method provided in an embodiment of the present application Figure 10 Four;

[0050] Fig.18 An example of an application scenario of a shooting method provided in an embodiment of the present application Figure 10 five;

[0051] Fig.19 An example of an application scenario of a shooting method provided in an embodiment of the present application Figure 10 six;

[0052] Fig. 20 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application Figure 2 ;

[0053] Fig.21 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application Figure 3 . DETAILED DESCRIPTION

[0054] The implementation of this embodiment will be described in detail below with reference to the accompanying drawings.

[0055] A shooting method provided in an embodiment of the present application can be applied to Figure 1 In the distributed shooting system 200 shown in FIG. Figure 1 As shown, the distributed shooting system 200 may include a master device 101 and N slave devices 102, where N is an integer greater than 0. The master device 101 may communicate with any slave device 102 via wired or wireless communication.

[0056] Exemplarily, a universal serial bus (USB) can be used to establish a wired connection between the master device 101 and the slave device 102. For another example, a wireless connection can be established between the master device 101 and the slave device 102 through a global system for mobile communications (GSM), a general packet radio service (GPRS), a code division multiple access (CDMA), a wideband code division multiple access (WCDMA), a time division code division multiple access (TD-SCDMA), a long term evolution (LTE), Bluetooth, wireless fidelity (Wi-Fi), NFC, voice over Internet protocol (VoIP), and a communication protocol supporting a network slicing architecture.

[0057] Among them, one or more cameras can be set in the master device 101 and the slave device 102.

[0058] The master device 101 can use its own camera to collect image data (also referred to as a captured image), and the slave device 102 can also use its own camera to collect image data. Exemplarily, the slave device 102 can use its own camera to collect image data, and the slave device 102 can send the image data to the master device 101, and the master device 101 displays the image data from the slave device 102. Alternatively, the master device 101 and the slave device 102 can use their own cameras to collect image data at the same time, and the slave device 102 can send the image data to the master device 101, and the master device 101 simultaneously displays the image data from the master device 101 and the slave device 102, thereby realizing a distributed shooting function across devices.

[0059] Exemplarily, the above-mentioned master device 101 (or slave device 102) can specifically be a mobile phone, a tablet computer, a television (also known as a smart TV, a smart screen or a large-screen device), a laptop computer, an ultra-mobile personal computer (UMPC), a handheld computer, a netbook, a personal digital assistant (PDA), a wearable electronic device (for example, a smart watch, smart glasses, a smart helmet, a smart bracelet), a vehicle-mounted device, a virtual reality device, and other electronic devices with a shooting function, and the embodiments of the present application do not impose any restrictions on this.

[0060] Taking a mobile phone as the main device 101 as an example, an application with a shooting function may be installed in the mobile phone, such as a camera application, a live broadcast application, or a video call application. Figure 2 As shown, taking the camera application as an example, after detecting that the user has opened the camera application, the mobile phone can open its own camera to start collecting shooting images, and display the shooting images in real time in the preview box 202 of the preview interface 201. Still taking the camera application as an example, still as Figure 2 As shown, the mobile phone can set a preset button 203 in the preview interface 201 of the camera application, and the preset button 203 is used to trigger the mobile phone to obtain the shooting picture taken by the slave device and display the shooting picture of the slave device. For example, the preset button 203 can trigger the mobile phone to display both its own shooting picture and the shooting picture of the slave device in the preview interface 201. For another example, the preset button 203 can trigger the mobile phone to switch its own shooting picture in the preview interface 201 to the shooting picture of the slave device. At this time, the mobile phone may not display its own shooting picture.

[0061] Exemplarily, after the mobile phone detects that the user clicks the preset button 203, the mobile phone can search for one or more electronic devices that currently have a shooting function. For example, the server can record whether each electronic device has a shooting function. Then, the mobile phone can query the server for electronic devices with a shooting function that are logged in with the same account (such as a Huawei account) as the mobile phone.

[0062] Alternatively, the mobile phone can search for electronic devices in the same Wi-Fi network as the mobile phone. Then, the mobile phone can send a query request to each electronic device in the same Wi-Fi network, triggering the electronic device that received the query request to send a response message to the mobile phone, and the response message can indicate whether it has a shooting function. In this way, the mobile phone can determine the electronic device with a shooting function in the current Wi-Fi network based on the received response message.

[0063] For example, the electronic devices with shooting functions searched by the mobile phone include TV 1, watch 2 and tablet computer 3. The mobile phone can use these three electronic devices as slave devices to establish network connections with TV 1, watch 2 and tablet computer 3. For example, the mobile phone can establish Wi-Fi connection or Wi-Fi P2P connection with TV 1, watch 2 and tablet computer 3 respectively, or the mobile phone can directly establish mobile network connection with TV 1, watch 2 and tablet computer 3, and the mobile network includes but is not limited to mobile networks supporting 2G, 3G, 4G, 5G and subsequent standard protocols.

[0064] Of course, the mobile phone can also automatically search and connect to one or more electronic devices when the user opens the camera application or when the user triggers an option in the camera application. The embodiments of the present application do not impose any restrictions on this.

[0065] As a possible implementation method, an application for managing smart home devices in the home (such as TVs, air conditioners, speakers or refrigerators, etc.) can be installed in the mobile phone. Taking the smart home application as an example, the user can add one or more smart home devices to the smart home application so that the smart home devices added by the user are associated with the mobile phone. For example, a QR code containing device information such as device identification can be set on the smart home device. After the user scans the QR code using the smart home application on the mobile phone, the corresponding smart home device can be added to the smart home application, thereby establishing an association between the smart home device and the mobile phone. In an embodiment of the present application, when one or more smart home devices added to the smart home application are online, for example, when the mobile phone detects a Wi-Fi signal sent by the added smart home device, the mobile phone can establish a network connection with the smart home device.

[0066] For example, if the mobile phone first establishes a network connection with the TV 1, the mobile phone can send a shooting instruction to the TV 1, so that the TV 1 can respond to the shooting instruction and use its own camera to start collecting shooting images. Figure 3 As shown, TV 1 can send the captured pictures 301 in real time to the mobile phone. At this time, the mobile phone can display the captured pictures 301 from TV 1 in the preview interface 201 of the camera application. In this way, the mobile phone can switch the captured pictures of a slave device (such as TV 1) to the mobile phone (i.e., the master device) in response to the user clicking the preset button 203. Of course, after the mobile phone establishes a network connection with the watch 2 (or tablet computer 3), the mobile phone can also instruct the watch 2 (or tablet computer 3) to start capturing the captured pictures and send the captured pictures to the mobile phone, but the mobile phone may not display the pictures from the watch 2 (or tablet computer 3).

[0067] Subsequently, while using the camera to capture the captured images, the TV 1, the watch 2, and the tablet computer 3 can detect in real time whether there is a user input audio signal. For example, the TV 1, the watch 2, and the tablet computer 3 can use their own microphones to detect whether there is a user input audio signal. For example, if the tablet computer 3 detects that the user inputs an audio signal to itself, it means that the user using the tablet computer 3 is speaking. At this time, if Figure 4 As shown, the tablet computer 3 can add a preset sound mark in the captured picture 401, and send the picture 401 with the sound mark to the mobile phone (i.e., the main device). Then, after the mobile phone receives the picture 401 sent by the tablet computer 3, if it recognizes that the sound mark is set in the picture 401, it means that the user using the tablet computer 3 is speaking at this time. Then, as in the above example, Figure 4 As shown, the mobile phone can display the shooting picture 401 from the tablet computer 3 in the preview interface 201 of the camera application. At this time, the mobile phone can stop displaying the shooting picture sent by the TV 1 in the preview interface 201.

[0068] That is to say, in a distributed shooting scene, multiple slave devices connected to a master device (such as the mobile phone mentioned above) can detect in real time whether a user inputs an audio signal to themselves. When a user inputs an audio signal to a slave device (such as the tablet computer 3 mentioned above), the slave device can actively add a preset voice mark to the captured shooting picture. In this way, when the master device receives the shooting picture sent by the slave device, it can be known through the voice mark in the shooting picture that a user has input an audio signal to the slave device. Furthermore, the master device can display the shooting picture carrying the voice mark in the display interface. In this way, when different users use their respective slave devices to input audio signals, the master device can flexibly and accurately switch the shooting picture collected by the slave device with user voice input to the master device for display, so that the user can focus on the shooting picture of the slave device with user voice input, thereby improving the user's experience.

[0069] In addition, in addition to sending the captured images carrying voice marks to the mobile phone (i.e., the main device), the above-mentioned tablet computer 3 can also send the captured images carrying voice marks to other slave devices (such as the above-mentioned TV 1 and / or watch 2). In this way, other slave devices can also display the captured images carrying voice marks in the display interface, so that users in the distributed shooting scenes can all focus on the captured images of the slave devices with user voice input.

[0070] In other embodiments, after the master device (such as the mobile phone) establishes a connection with each slave device, it can also continue to use its own camera to collect the shooting picture. At this time, the mobile phone can set two windows in the preview interface 201, one of which is used to display the shooting picture sent by the slave device (such as the tablet computer 3) with the user's voice collected according to the above method, and the other window user displays the shooting picture collected by the mobile phone (i.e., the master device). The embodiment of the present application does not impose any restrictions on this.

[0071] For example, a mobile phone is used as the main device 201 in the above distributed shooting system 200. Figure 5 A schematic diagram of the structure of a mobile phone is shown.

[0072] The mobile phone may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, etc.

[0073] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the mobile phone. In other embodiments of the present application, the mobile phone may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0074] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0075] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0076] The wireless communication function of the mobile phone can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.

[0077] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.

[0078] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied on mobile phones. In some embodiments, at least some functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 can be set in the same device as at least some modules of the processor 110.

[0079] The wireless communication module 160 can provide wireless communication solutions for use on mobile phones, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc.

[0080] In some embodiments, the mobile phone's antenna 1 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the mobile phone can communicate with the network and other devices through wireless communication technology.

[0081] The mobile phone implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0082] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the mobile phone may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0083] The mobile phone can realize the shooting function through ISP, camera 193, video codec, GPU, display 194 and application processor.

[0084] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the mobile phone may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0085] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.

[0086] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the mobile phone by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0087] The mobile phone can realize audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor.

[0088] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0089] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The mobile phone can listen to music or listen to hands-free calls through the speaker 170A.

[0090] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the mobile phone receives a call or voice message, the voice can be heard by placing the receiver 170B close to the ear.

[0091] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by putting his mouth close to the microphone 170C to input the sound signal into the microphone 170C. The mobile phone can be provided with at least one microphone 170C. In other embodiments, the mobile phone can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the mobile phone can also be provided with three, four or more microphones 170C to realize the collection of sound signals, noise reduction, identification of sound sources, and directional recording function, etc.

[0092] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0093] The sensor module 180 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.

[0094] Of course, the mobile phone may also include a charging management module, a power management module, a battery, buttons, indicators, and one or more SIM card interfaces, etc., and the embodiments of the present application do not impose any restrictions on this.

[0095] The software system of the above-mentioned mobile phone can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a microservice architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to illustrate the software structure of the mobile phone. Of course, in other operating systems (such as Hongmeng system, Linux system, etc.), as long as the functions implemented by each functional module are similar to the embodiments of the present application, they belong to the scope of the claims of the present application and their equivalent technologies.

[0096] Figure 6 It is a software structure block diagram of the mobile phone provided in the embodiment of the present application.

[0097] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into five layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, the HAL (hardware abstraction layer) layer, and the kernel layer.

[0098] The application layer can include a series of application packages.

[0099] like Figure 6 As shown, the application layer can be installed with applications such as calls, memos, browsers, contacts, galleries, calendars, maps, Bluetooth, music, videos, short messages, etc.

[0100] In the embodiment of the present application, an application with a shooting function may be installed in the application layer, for example, a camera application, a video call application, or a live broadcast application, etc. Of course, when other applications need to use the shooting function, they may also call an application with a shooting function such as a camera application to implement the shooting function.

[0101] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0102] like Figure 6 As shown, taking the camera application as an example, a camera service (CameraService) is set in the application framework layer. The camera application can start the CameraService by calling the preset API. During operation, the CameraService can interact with the Camera HAL in the HAL (hardware abstraction layer). Among them, the Camera HAL is responsible for interacting with the hardware devices (such as cameras) that implement the shooting function in the mobile phone. On the one hand, the CameraHAL hides the implementation details of the relevant hardware devices (such as specific image processing algorithms), and on the other hand, it can provide the Android system with an interface for calling the relevant hardware devices.

[0103] For example, the camera application can send relevant control instructions (such as preview, zoom, photo or video instructions) issued by the user to CameraService. On the one hand, CameraService can send the received control instructions to CameraHAL, so that Camera HAL can call the camera driver in the kernel layer according to the received control instructions, and drive the camera and other hardware devices to respond to the control instructions to collect raw image data. For example, the camera can pass each frame of raw image data collected to Camera HAL through the camera driver at a certain frame rate. Among them, the transmission process of control instructions within the operating system can be seen in Figure 6 The specific transmission process of control flow.

[0104] On the other hand, after receiving the above control instructions, CameraService can determine the shooting strategy at this time according to the received control instructions. The shooting strategy sets the specific image processing tasks that need to be performed on the collected image data. For example, in preview mode, CameraService can set image processing task 1 in the shooting strategy to implement the face detection function. For another example, if the user turns on the beauty function in preview mode, CameraService can also set image processing task 2 in the shooting strategy to implement the beauty function. Then, CameraService can send the determined shooting strategy to Camera HAL.

[0105] When Camera HAL receives each frame of image data collected by the camera, it can perform corresponding image processing tasks on the above image data according to the shooting strategy issued by CameraService to obtain each frame of the captured picture after image processing. For example, Camera HAL can perform image processing task 1 on each frame of image data received according to shooting strategy 1 to obtain each corresponding frame of the captured picture. When shooting strategy 1 is updated to shooting strategy 2, Camera HAL can perform image processing tasks 2 and 3 on each frame of image data received according to shooting strategy 2 to obtain each corresponding frame of the captured picture.

[0106] Subsequently, the Camera HAL can report each frame of the captured image after image processing to the camera application through the CameraService, and the camera application can display each frame of the captured image on the display interface, or the camera application can save each frame of the captured image in the form of a photo or video in the mobile phone. The transmission process of the above-mentioned captured image within the operating system can be seen in Figure 6 The specific transmission process of data flow.

[0107] In addition, the application framework layer may also include a window manager, a content provider, a view system, a resource manager, a notification manager, etc., and the embodiments of the present application do not impose any restrictions on this.

[0108] For example, the above-mentioned window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc. The above-mentioned content provider is used to store and obtain data, and make these data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc. The above-mentioned view system can be used to build the display interface of the application. Each display interface can be composed of one or more controls. Generally speaking, controls can include interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. The above-mentioned resource manager provides various resources for applications, such as localized strings, icons, pictures, layout files, video files, etc. The above-mentioned notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, displaying text messages in the status bar, making beep sounds, vibrating, or flashing indicator lights, etc.

[0109] like Figure 6 As shown in Figure 1, Android runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0110] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0111] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0112] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0113] Among them, the surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of multiple commonly used audio and video formats, as well as static image files. The media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing. The 2D graphics engine is a drawing engine for 2D drawing.

[0114] The kernel layer is located below the HAL and is a layer between hardware and software. The kernel layer at least includes a display driver, a camera driver, an audio driver, a sensor driver, etc., and the present application embodiment does not impose any restrictions on this.

[0115] based on Figure 6 The software architecture of the Android system shown in FIG. 1 is as follows, in the embodiment of the present application: Figure 7 As shown, a device virtualization application for implementing a distributed shooting function can be installed in the application layer of the mobile phone, which may be referred to as a DV application in the future. The DV application can be resident in the mobile phone as a system application. Alternatively, the functions implemented by the DV application can be resident in the mobile phone as a system service.

[0116] When a mobile phone needs to realize a distributed shooting function together with other electronic devices, the DV application in the mobile phone can establish a network connection with the mobile phone by using one or more electronic devices as slave devices of the mobile phone. Figure 7 As shown, after the DV application of the mobile phone establishes a network connection with the slave device, the DV application can obtain the shooting capability parameters of the slave device based on the network connection, and the shooting capability parameters are used to indicate the shooting capability of the slave device. For example, the shooting capability parameters may include the specific image processing algorithm supported by the slave device, the relevant hardware parameters of the camera in the slave device, etc. Then, the DV application can call the preset interface of the HAL, input the obtained shooting capability parameters into the preset interface, and thus create a HAL corresponding to the slave device in the HAL.

[0117] In the embodiment of the present application, the HAL created by the DV application according to the shooting capability parameters of the slave device can be called DMSDP (Distributed Mobile Sensing Development Platform) HAL, which can also be called a virtual Camera HAL. Unlike the traditional Camera HAL in the mobile phone, the DMSDP HAL does not correspond to the actual hardware device of the mobile phone, but corresponds to the slave device currently connected to the mobile phone. The mobile phone can act as a master device to send and receive data with the slave device through DMSDPHAL, and use the slave device as a virtual device of the mobile phone to collaborate with the slave device to complete various services in the distributed shooting scene.

[0118] Still Figure 7 As shown, in addition to creating a corresponding DMSDP HAL for the slave device of the mobile phone in the HAL, the DV application can also send the shooting capability parameters of the slave device to the CameraService for storage, that is, register the shooting capability of the current slave device in the CameraService.

[0119] Later, taking the camera application as an example, when the mobile phone runs the camera application, CameraService can determine the shooting strategy in real time during the shooting process based on the control instructions (such as preview, zoom, recording, etc.) issued by the camera application and the shooting capabilities of the slave device. For example, CameraService can set the image processing tasks that the mobile phone needs to perform and the image processing tasks that the slave device needs to perform in the shooting strategy according to the shooting capability parameters of the slave device. Furthermore, CameraService can send shooting instructions corresponding to the shooting strategy to the slave device through DMSDP HAL, triggering the slave device to perform the corresponding image processing tasks.

[0120] In this way, when the mobile phone and the slave device realize the distributed shooting function, the mobile phone and the slave device can perform corresponding image processing on the image data according to their own shooting capabilities based on the above-mentioned shooting strategy, so that the mobile phone can collaborate with the slave device more efficiently and flexibly to realize the distributed shooting function and achieve better shooting effects in the distributed shooting scenes.

[0121] In the embodiment of the present application, taking mobile phone 1 as a master device as an example, mobile phone 1 and multiple slave devices can perform synchronous shooting in a distributed shooting scenario.

[0122] For example, if it is detected that the user opens the camera application of mobile phone 1, mobile phone 1 can open its own camera to start shooting, and, Figure 8As shown, the mobile phone 1 can display the captured shooting pictures in the preview interface 801 of the camera application. In the embodiment of the present application, a preset button 802 for synchronous shooting with the slave device can be set in the preview interface 801, and the preset button 802 can be used to trigger the mobile phone 1 to display the shooting pictures of two or more electronic devices. For example, the name of the preset button 802 can be "dual view mode", "three view mode" or "multiple view mode". Taking the "dual view mode" as an example, after the mobile phone 1 detects that the user selects the preset button 802 named "dual view mode", it can trigger the mobile phone 1 to create two windows in the preview interface 801, one of which is used to display the shooting picture of the mobile phone 1, and the other window is used to display the shooting pictures of other electronic devices. It should be understood that if the mobile phone establishes a wireless connection with N electronic devices with cameras, when the user clicks the preset button 802 in the preview interface 801, the mobile phone 1 is triggered to create N+1 windows in the preview interface 801, one window is used to display the shooting picture of the mobile phone 1, and the other N windows are used to display the shooting pictures of N electronic devices. Of course, you can also create fewer windows than N+1 or more windows than N+1 to display the shooting interface of mobile phone 1 and the shooting interfaces of other N electronic devices. If the created windows are less than N+1, you can choose not to display the shooting interfaces of some electronic devices. If the created windows are more than N+1, the windows more than N+1 can display other content, or repeatedly display the shooting interfaces of one or more electronic devices.

[0123] Of course, mobile phone 1 can also set the above-mentioned preset button 802 for synchronous shooting with the slave device in the control center, drop-down menu, negative one-screen menu or other applications (such as video call applications, live broadcast applications, etc.) of mobile phone 1, and the embodiments of the present application do not impose any restrictions on this.

[0124] In the following embodiments, the preset button 802 named "dual view mode" is used as an example. When the mobile phone 1 detects that the user clicks the preset button 802, the DV application of the mobile phone 1 can trigger the mobile phone 1 to search for one or more nearby electronic devices with shooting functions. Of course, the mobile phone 1 can also automatically search for one or more nearby electronic devices with shooting functions after the user opens the camera application. Taking the DV application of the mobile phone 1 detecting the two electronic devices, TV 1 and mobile phone 2, as an example, the DV application of the mobile phone 1 can establish network connections with the mobile phone 1 as two slave devices of the mobile phone 1. For example, the mobile phone 1 can establish a Wi-Fi P2P connection with the TV 1, and the mobile phone 1 can establish a Wi-Fi P2P connection with the mobile phone 2. Furthermore, the DV application of the mobile phone 1 can obtain the shooting capability parameter 1 of the TV 1 based on the network connection with the TV 1. Moreover, the DV application of the mobile phone 1 can obtain the shooting capability parameter 2 of the mobile phone 2 based on the network connection with the mobile phone 2.

[0125] Furthermore, if Fig. 9As shown, the DV application of mobile phone 1 can create a corresponding DMSDP HAL in HAL according to the acquired shooting capability parameter 1 and shooting capability parameter 2. For example, the DV application of mobile phone 1 can create a virtual HAL 1 corresponding to TV 1 according to shooting capability parameter 1, and the DV application of mobile phone 1 can create a virtual HAL 2 corresponding to mobile phone 2 according to shooting capability parameter 2. Virtual HAL 1 and virtual HAL 2 can run in DMSDP HAL as two functional modules. Subsequently, mobile phone 1 can exchange data with TV 1 through virtual HAL 1, and mobile phone 1 can exchange data with mobile phone 2 through virtual HAL 2.

[0126] It is understandable that when mobile phone 1 detects a new slave device, a new virtual HAL can be created in the DMSDP HAL according to the above method. Alternatively, when mobile phone 1 detects that the network connection with a current slave device is disconnected, the corresponding virtual HAL can be deleted in the DMSDP HAL. Alternatively, when mobile phone 1 detects that the shooting capability parameters of a slave device are updated, the DV application of mobile phone 1 can update the corresponding virtual HAL according to the updated shooting capability parameters, and the embodiments of the present application do not impose any restrictions on this.

[0127] In other embodiments, after the DV application of mobile phone 1 obtains the shooting capability parameters of TV 1 and mobile phone 2, two DMSDP HALs can also be created in HAL, one DMSDP HAL corresponds to TV 1 and the other DMSDP HAL corresponds to mobile phone 2. The embodiments of the present application do not impose any restrictions on this.

[0128] Alternatively, after searching for one or more electronic devices with a shooting function nearby, the mobile phone 1 may display a corresponding device list. In this way, the user may select one or more electronic devices to be used as slave devices of the mobile phone 1 in the device list displayed by the mobile phone 1. Subsequently, the mobile phone 1 may respond to the user's selection operation, establish a network connection with the corresponding electronic device according to the above method, and create a corresponding DMSDP HAL, and the embodiment of the present application does not impose any restrictions on this.

[0129] Still Fig. 9As shown, the HAL of mobile phone 1 can also be set with a Camera HAL corresponding to the camera of the mobile phone. When it is detected that the user opens the camera application, mobile phone 1 can open its own camera to collect image data. The camera of mobile phone 1 can report the collected image data to Camera HAL, and Camera HAL processes the collected image data into each corresponding frame of the shooting picture (i.e., shooting picture 1). Furthermore, Camera HAL can report the obtained shooting picture 1 to CameraService, and CameraService reports shooting picture 1 to the camera application, so that the camera application displays the shooting picture 1 in the display interface of mobile phone 1.

[0130] In the embodiment of the present application, after the camera application of the mobile phone 1 detects that the user clicks the above-mentioned preset button 802, Fig.10 As shown, the camera application can create window 1201 and window 1202 in the display interface. Fig. 9 The processing process of mobile phone 1 is similar. The CameraService of mobile phone 1 can receive the shooting picture 1 from mobile phone 1 reported in real time by Camera HAL, and the CameraService of mobile phone 1 can report the shooting picture 1 of mobile phone 1 to the camera application. At this time, the camera application can display the shooting picture 1 of mobile phone 1 in window 1201 (or window 1202).

[0131] At the same time, after mobile phone 1 establishes a network connection with the current slave device, the camera application of mobile phone 1 can also display the shooting picture from the slave device in real time in another window (such as window 1202) of the display interface. For example, mobile phone 1 can display the shooting picture of the first slave device that establishes a network connection with mobile phone 1 in window 1202 by default.

[0132] Still taking the example that the slave devices of mobile phone 1 are TV 1 and mobile phone 2, when mobile phone 1 first establishes a network connection with TV 1 and creates a corresponding virtual HAL 1 in DMSDP HAL according to the shooting capability parameters of TV 1, mobile phone 1 can send shooting instruction 1 to TV 1. Fig. 9 As shown, TV 1 can respond to shooting instruction 1 and use the camera of TV 1 to obtain shooting picture 2 in real time. Then, TV 1 can send shooting picture 2 to virtual HAL 1 of mobile phone 1. After receiving shooting picture 2 from TV 1, virtual HAL 1 can report shooting picture 2 to camera application through CameraService of mobile phone 1. Then, as Fig.10As shown, the camera application can display the captured image 2 from the TV 1 in the window 1202. In this way, when the user turns on the synchronous shooting function of the "dual view mode" in the mobile phone 1, the mobile phone 1 can synchronously display the captured image of the mobile phone itself and the captured image of the first slave device connected to the mobile phone 1 in the display interface of the mobile phone 1.

[0133] Of course, the mobile phone 1 can also be set to display the shooting picture of the second (or Nth) slave device connected to the mobile phone 1 in the window 1202. Alternatively, the mobile phone 1 can also be set to display the shooting picture of a specified slave device in the window 1202. Alternatively, the mobile phone 1 can also display the shooting pictures of multiple slave devices connected to the mobile phone 1 in the display interface. Of course, the mobile phone 1 can also not display the shooting pictures of any slave device in the window 1202, and the embodiment of the present application does not impose any restrictions on this.

[0134] On the other hand, after mobile phone 1 establishes a network connection with TV 1, when mobile phone 1 establishes a network connection with mobile phone 2, and creates a corresponding virtual HAL 2 in DMSDP HAL according to the shooting capability parameters of mobile phone 2, since mobile phone 2 is not the first slave device to establish a network connection with mobile phone 1, that is, the shooting picture of mobile phone 2 does not need to be displayed in window 1202, then mobile phone 1 may not send a shooting instruction to mobile phone 2. In this way, mobile phone 2 will not respond to the shooting instruction sent by mobile phone 1 to open the camera to obtain the corresponding shooting picture in real time, and mobile phone 1 will not receive the shooting picture from mobile phone 2.

[0135] Or, in other embodiments, Fig.11 As shown, a control module 1 can also be set in the DMSDP HAL of mobile phone 1, and the control module 1 can be used to determine which slave device to send the captured image to CameraService. For example, when the DV application of mobile phone 1 creates a virtual HAL corresponding to each slave device, the corresponding relationship between different slave devices and different virtual HALs can be saved in the control module 1 of the DMSDP HAL. As shown in Table 1, TV 1 and mobile phone 2 are two slave devices currently connected to mobile phone 1. Among them, TV 1 corresponds to virtual HAL 1, and TV 1 is provided with a camera A, and the shooting capability parameter of camera A is parameter 1. Mobile phone 2 corresponds to virtual HAL 2, and mobile phone 2 is provided with two cameras (i.e., camera B and camera C), and the shooting capability parameter of camera B is parameter 2, and the shooting capability parameter of camera C is parameter 3.

[0136] Table 1

[0137]

[0138] Then, if the mobile phone 1 first establishes a network connection with the TV 1, the control module 1 can set the corresponding relationship between the window 1202 and the TV 1, that is, the window 1202 needs to display the shooting picture of the TV 1. Then, the mobile phone 1 can send a shooting instruction to the TV 1 according to the above method, instructing the TV 1 to send the shooting picture 2 to the virtual HAL 1 of the mobile phone 1. Fig.11 As shown, after the virtual HAL 1 of the mobile phone 1 receives the captured picture 2 from the TV 1, the captured picture 2 can be sent to the above-mentioned control module 1. Since the control module 1 has set the corresponding relationship between the window 1202 and the TV 1, after the control module 1 recognizes that the captured picture 2 is from the TV 1, the captured picture 2 can be reported to the camera application through the CameraService, and the camera application displays the captured picture 2 from the TV 1 in the window 1202.

[0139] And, still Fig.11 As shown, when mobile phone 1 establishes a network connection with mobile phone 2 and creates a corresponding virtual HAL 2 in DMSDP HAL, mobile phone 1 can also send a shooting instruction (i.e., shooting instruction 2) to mobile phone 2. Mobile phone 2 can respond to shooting instruction 2 and use the camera of mobile phone 2 to obtain the corresponding shooting picture 3 in real time. Then, mobile phone 2 can send the shooting picture 3 to the virtual HAL 2 of mobile phone 1. After receiving the shooting picture 3 from mobile phone 2, virtual HAL 2 can send the shooting picture 3 to the above-mentioned control module 1. Since the control module 1 has set the corresponding relationship between window 1202 and TV 1, when the control module 1 recognizes that the shooting picture 3 is not from TV 1, the control module 1 will not report the shooting picture 3 to CameraService. For example, the control module 1 can discard or delete the shooting picture 3 sent by mobile phone 2. In this way, the camera application will not receive the shooting picture 3 from mobile phone 2, nor will it display the shooting picture 3 in the display interface of mobile phone 1.

[0140] Exemplarily, when each slave device (such as the television 1 and the mobile phone 2 ) sends its own captured image to the master device (such as the mobile phone 1 ), the captured image can be sent to the mobile phone 1 in the form of a data packet.

[0141] like Fig.12As shown, the data packet of the above-mentioned shooting picture generally includes a header and a data part. Among them, the data part includes specific image data in the shooting picture, such as YUV (Y is used to indicate brightness, U and V are used to indicate chrominance) data. The header includes parameters related to the data part, such as the name of the shooting picture, the shooting time, the encoding and decoding information, etc. In an embodiment of the present application, the slave device can carry its own device identification in the header of the data packet. For example, TV 1 can carry the device identification of TV 1 in the header of the data packet corresponding to the shooting picture 2, and mobile phone 2 can carry the device identification of mobile phone 2 in the header of the data packet corresponding to the shooting picture 3. In this way, the control module 1 of DMSDPHAL in mobile phone 1 can identify which slave device the shooting picture in the currently received data packet is from by parsing the header of the data packet.

[0142] Alternatively, the TV 1 may also carry the camera identifier of the camera used to shoot the shooting picture 2 in the header of the corresponding data packet. In this way, the control module 1 of the DMSDP HAL in the mobile phone 1 can also learn the specific camera used by the TV 1 when shooting the shooting picture 2 by parsing the header of the data packet.

[0143] Of course, the control module 1 of the DMSDP HAL in the mobile phone 1 can also determine the shooting picture obtained from the virtual HAL 1 as the shooting picture of the TV 1, and correspondingly, the shooting picture obtained from the virtual HAL 2 can be determined as the shooting picture of the mobile phone 2. Alternatively, since the network connection 1 between the mobile phone 1 and the TV 1 may be different from the network connection 2 between the mobile phone 1 and the mobile phone 2, the control module 1 of the DMSDP HAL in the mobile phone 1 can determine the shooting picture obtained from the network connection 1 as the shooting picture of the TV 1, and determine the shooting picture obtained from the network connection 2 as the shooting picture of the mobile phone 2.

[0144] In the embodiment of the present application, the slave devices of mobile phone 1 are still taken as TV 1 and mobile phone 2 as an example. While TV 1 and mobile phone 2 use their own cameras to capture the shooting pictures and send the shooting pictures to mobile phone 1, they can also use the microphone to capture the audio signal input by the user, and then determine whether the user is using the slave device to make a sound based on the collected audio signal.

[0145] Take mobile phone 2 as an example. Fig.13As shown, the architecture of the operating system in mobile phone 2 is similar to that of the operating system in mobile phone 1. Among them, the application layer of mobile phone 2 can install a proxy application, and the proxy application is used to send and receive data with other devices (such as mobile phone 1 or TV 1). Alternatively, the proxy application can also run in mobile phone 2 in the form of SDK (Software Development Kit) or system service. CameraService can also be set in the application framework layer of mobile phone 2. Camera HAL can also be set in the HAL of mobile phone 2, and the Camera HAL of mobile phone 2 corresponds to the camera of mobile phone 2.

[0146] After mobile phone 2 establishes a network connection with mobile phone 1, the proxy application of mobile phone 2 can receive the shooting command sent by mobile phone 1. In response to the shooting command, the proxy application of mobile phone 2 can call the camera of mobile phone 2 through its own CameraService and Camera HAL to collect the corresponding shooting picture (such as the above-mentioned shooting picture 3). The Camera HAL of mobile phone 2 can receive the shooting picture 3 sent by the camera in real time, and then, the Camera HAL of mobile phone 2 can send the received shooting picture 3 to the proxy application through CameraService, and the proxy application sends the shooting picture 3 of mobile phone 2 to the virtual HAL 2 corresponding to mobile phone 2 in mobile phone 1, so that mobile phone 1 can obtain the shooting picture of mobile phone 2 in real time. Of course, after receiving the shooting picture 3, the Camera HAL of mobile phone 2 can also perform relevant image processing (such as beauty, focus, etc.) on the shooting picture 3, and then send the shooting picture after image processing to the proxy application. The embodiment of the present application does not impose any restrictions on this.

[0147] Still Fig.13As shown, the operating system of mobile phone 2 may also include related modules for implementing audio functions. For example, AudioRecord and AudioFlinger may be set in the application framework layer of mobile phone 2, and Audio HAL may be set in the HAL of mobile phone 2. The Audio HAL corresponds to audio input and output devices such as the microphone and speaker of mobile phone 2. For example, the microphone of mobile phone 2 may report the collected audio signal to AudioFlinger. AudioFlinger is used to perform mixing, resampling, sound effect setting and other processing on the collected audio signal. AudioRecord is used to obtain the corresponding audio signal from AudioFlinger for audio recording. AudioRecord and CameraService may interact with the proxy application through a unified interface (e.g., HwMediaProject interface). For example, AudioRecord may report the recorded audio signal to the proxy application through the HwMediaProject interface, and CameraService may report the captured picture to the proxy application through the HwMediaProject interface.

[0148] In the embodiment of the present application, when the mobile phone 2 uses the camera to capture the shooting picture and sends the shooting picture to the mobile phone 1, the mobile phone 2 can also detect whether the user inputs an audio signal to the mobile phone 2 through its own microphone. Fig.13 As shown, when the microphone of mobile phone 2 detects an audio signal, the detected audio signal can be sent to the AudioHAL of mobile phone 2, and the Audio HAL of mobile phone 2 can send the received audio signal to AudioFlinger. Then, AudioRecord can obtain the audio signal from AudioFlinger and report the audio signal to the proxy application through the HwMediaProject interface. After the proxy application receives the audio signal detected by the microphone, it can determine whether the audio signal is the sound input by the user to mobile phone 2.

[0149] Exemplarily, the mobile phone 2 may store the voiceprint features of one or more legitimate users who use the mobile phone 2. When the proxy application of the mobile phone 2 obtains the audio signal detected by the current microphone, the voiceprint features in the audio signal may be extracted. Furthermore, the proxy application of the mobile phone 2 may compare whether the extracted voiceprint features are the voiceprint features of the legitimate user. If they are the voiceprint features of the legitimate user, the proxy application of the mobile phone 2 may determine that the currently detected audio signal is the sound input by the user to the mobile phone 2. Otherwise, the proxy application of the mobile phone 2 may determine that the currently detected audio signal is not the sound input by the user to the mobile phone 2, and the audio signal may be noise or the sound input by other users to other devices.

[0150] Or, still Fig.13 As shown, the proxy application of mobile phone 2 can receive the audio signal reported by AudioRecord and the shooting picture reported by CameraService at the same time. Then, the proxy application of mobile phone 2 can combine the received shooting picture and audio signal to determine whether the currently received audio signal is the sound input by the user to mobile phone 2. For example, Fig.14 As shown, for the audio signal and the shot image received at the same time, the proxy application can use the face recognition algorithm to detect whether the corresponding shot image includes a face image. If a face image is included, the proxy application can further extract the lip shape features in the face image. Furthermore, the proxy application can determine whether a user has input a sound into the mobile phone 2 by comparing whether the audio signal and the lip shape features at the same time match. For example, if the proxy application detects that the audio signal within 500ms continuously matches the corresponding lip shape features, the proxy application can determine that the currently detected audio signal is the sound input by the user into the mobile phone 2, that is, the user using the mobile phone 2 is speaking.

[0151] Alternatively, in addition to comparing whether the audio signal matches the lip shape feature at the same time, the proxy application can also detect whether the loudness of the audio signal is greater than a preset value. For example, if the proxy application detects that the audio signal within 500 ms matches the corresponding lip shape feature, and the loudness of the audio signal within this 500 ms is greater than a preset value, the proxy application can determine that the currently detected audio signal is the sound input by the user to the mobile phone 2.

[0152] Of course, mobile phone 2 can also use other methods to determine whether the currently detected audio signal is the sound input by the user to mobile phone 2. For example, mobile phone 2 can request the server to determine whether the currently detected audio signal is the sound input by the user to mobile phone 2, and the embodiment of the present application does not impose any restrictions on this.

[0153] In the embodiment of the present application, if the proxy application of mobile phone 2 determines that the currently received audio signal is the sound input by the user to mobile phone 2, it means that among the multiple slave devices of mobile phone 1, a user is using mobile phone 2 to speak. Fig.15As shown, the proxy application of mobile phone 2 can add a preset sound identification to the shooting picture (i.e., shooting picture 3) reported by CameraService, and then send the shooting picture 3 with the sound identification to the virtual HAL 2 of mobile phone 1. For example, the above-mentioned sound identification can be a specific mark bit, and the proxy application of mobile phone 2 can add the above-mentioned sound identification to the packet header of the data packet of the shooting picture 3 received in real time. Subsequently, when the proxy application of mobile phone 2 determines that there is no audio signal input, or when the proxy application of mobile phone 2 determines that the currently received audio signal is not the sound input by the user to mobile phone 2, the proxy application of mobile phone 2 can stop adding the above-mentioned sound identification to the corresponding data packet of the shooting picture 3.

[0154] In this way, it is still Fig.15 As shown, after receiving the data packet of the shooting picture 3 from the mobile phone 2, the virtual HAL 2 of the mobile phone 1 can send the data packet of the shooting picture 3 to the control module 1 of the DMSDP HAL. Furthermore, if the control module 1 of the DMSDP HAL parses the sound identification of the data packet, indicating that the user is inputting sound into the mobile phone 2 when shooting the shooting picture 3, the control module 1 can modify the correspondence between the window 1202 and the TV 1 to the correspondence between the window 1202 and the mobile phone 2. Furthermore, the control module 1 of the DMSDP HAL can report the shooting picture 3 of the mobile phone 2 to the CameraService of the mobile phone 1, and stop reporting the shooting picture 2 of the TV 1 to the CameraService. In other words, the control module 1 of the DMSDP HAL in the mobile phone 1 can determine the slave device where the user is speaking by parsing the sound identification in the shooting picture, and then send the shooting picture of the slave device where the user is speaking to the CameraService.

[0155] For example, taking the case where the packet header of data packet 1 includes a sound identification, the control module 1 of DMSDP HAL can send the image data in the data part of data packet 1 to the CameraService of mobile phone 1. Alternatively, the control module 1 of DMSDP HAL can also send both the image data in the data part and the sound identification to the CameraService of mobile phone 1.

[0156] When the CameraService of mobile phone 1 reports the captured image of mobile phone 2 to the camera application, Fig.16As shown in FIG. 1 , the camera application can display the received shot 3 of the mobile phone 2 in the window 1202. At this time, the shot 2 of the TV 1 originally displayed in the window 1202 is switched to the shot 3 of the mobile phone 2. In addition, the camera application can still display the shot 1 shot by the mobile phone 1 itself in the window 1201. In other words, the mobile phone 1 as the master device can display the shot of the mobile phone 1 itself while displaying the shot of the slave device where the user is speaking. In some embodiments, as shown in FIG. Fig.16 As shown, if the camera application receives a voice identification in the captured image 3 of the mobile phone 2, the camera application may also display a first prompt message 1601 in the window 1202 to prompt the user that the user of the mobile phone 2 corresponding to the window 1202 is speaking. The first prompt message 1601 may be text, an icon, an animation, or a voice, etc., and the embodiment of the present application does not impose any limitation on this.

[0157] In addition, while sending the captured image to mobile phone 1, mobile phone 2 can also send the detected audio signal to mobile phone 1 in real time. Subsequently, mobile phone 1 can display the captured image of mobile phone 2 in window 1202 and play the audio received by mobile phone 2. In this way, in scenes such as meetings or video calls, mobile phone 1 as the master device can automatically present the captured image and audio content of the slave device used by the speaking user to the user.

[0158] In some embodiments, if the proxy application of mobile phone 2 determines that the currently received audio signal is not the sound input by the user to mobile phone 2, or if mobile phone 2 does not detect the audio signal, then mobile phone 2 does not need to add a sound mark to the captured shooting picture. Furthermore, after receiving the shooting picture sent by mobile phone 2, the control module 1 of DMSDP HAL in mobile phone 1 will not report the shooting picture of mobile phone 2 to the CameraService of mobile phone 1, and the camera application will not display the shooting picture of mobile phone 2 in the display interface.

[0159] In some embodiments, TV 1 as a slave device of mobile phone 1 can also detect whether a user inputs an audio signal to TV 1 according to the above method. If TV 1 detects that a user inputs an audio signal to TV 1, TV 1 can also send a shot picture with a sound identification added to mobile phone 1 according to the above method. If mobile phone 1 recognizes that a sound identification is added to the shot picture of TV 1, while a sound identification is not added to the shot picture of mobile phone 2, mobile phone 1 can continue to display the shot picture of TV 1 in window 1202.

[0160] If mobile phone 1 recognizes that a sound identifier is added to the shooting picture of TV 1, and a sound identifier is also added to the shooting picture of mobile phone 2, since the control module 1 of DMSDP HAL in mobile phone 1 has recorded the correspondence between TV 1 and window 1202, the control module 1 of DMSDP HAL can continue to report the shooting picture of TV 1 to the CameraService of mobile phone 1, but does not report the shooting picture of mobile phone 2 to the CameraService of mobile phone 1, so that the camera application can continue to display the shooting picture of TV 1 in window 1202.

[0161] Alternatively, if mobile phone 1 recognizes that a voice identifier is added to the shooting picture of TV 1, and a voice identifier is also added to the shooting picture of mobile phone 2, the control module 1 of DMSDP HAL in mobile phone 1 can report the shooting pictures of these two slave devices to CameraService. At this time, after the camera application receives the shooting pictures of TV 1 and mobile phone 2, it can display the shooting picture of TV 1 in window 1202. In addition, the camera application can create a new window in the current display interface and display the shooting picture of mobile phone 2 in the newly created window. In this way, the shooting interface of each slave device that detects the user's voice can be displayed in the display interface of the master device.

[0162] In some embodiments, still taking the example that the mobile phone 1 switches the shooting picture of the TV 1 in the window 1202 to the shooting picture of the mobile phone 2, after the control module 1 of the DMSDP HAL in the mobile phone 1 updates the correspondence between the window 1202 and the TV 1 to the correspondence between the window 1202 and the mobile phone 2, the current time can be recorded as the time when the window 1202 switches the picture. Subsequently, if the control module 1 of the DMSDP HAL in the mobile phone 1 receives a shooting picture with a sound identification sent from other slave devices (such as the TV 1), the control module 1 of the DMSDP HAL can determine whether the time from the last switching of the shooting picture in the window 1202 exceeds the preset time (for example, 3 seconds). If the time from the last switching of the shooting picture in the window 1202 does not exceed the preset time, it means that the time for the mobile phone 1 to switch the shooting picture in the window 1202 is not long. In order to avoid frequent switching of the shooting pictures in the window 1202 to bring a bad user experience to the user, the mobile phone 1 can continue to display the shooting picture of the mobile phone 2 in the window 1202. If the time since the last switching of the shooting picture in the window 1202 exceeds the preset time, the mobile phone 1 can switch the shooting picture of the mobile phone 2 displayed in the window 1202 to the currently received shooting picture carrying the sound identification.

[0163] It can be seen that in the above distributed shooting scenario, after mobile phone 1 (i.e., the master device) establishes a network connection with each slave device (such as the above TV 1 and mobile phone 2), if a slave device detects that a user inputs an audio signal to itself, the slave device can notify the master device to display the shooting screen of the slave device by adding a voice mark in the shooting screen. In this way, when different users use their respective slave devices to input audio signals, the master device can flexibly and accurately switch the shooting screen collected by the slave device with user voice input to the master device for display, so that the user can focus on the shooting screen of the slave device with user voice input, thereby improving the user experience.

[0164] Of course, when the slave device detects that a user inputs an audio signal to itself, the slave device can also notify the master device in other ways to display the shooting screen of the slave device, and the embodiment of the present application does not impose any restrictions on this. For example, after mobile phone 2 detects that the currently received audio signal is the sound input by the user to mobile phone 2, mobile phone 2 can send a first indication message to mobile phone 1, and the first indication message is used to indicate that the user using mobile phone 2 is speaking. Then, after mobile phone 1 receives the first indication message sent by mobile phone 2, it can display the shooting screen of mobile phone 2 received subsequently in the display interface. Subsequently, when mobile phone 2 does not receive an audio signal within a preset time, mobile phone 2 can send a second indication message to mobile phone 1, and the second indication message is used to instruct the user using mobile phone 2 to stop speaking. Then, after mobile phone 1 receives the second indication message sent by mobile phone 2, it can stop displaying the shooting screen of mobile phone 2 in the display interface. Alternatively, when mobile phone 1 is displaying the shooting screen of mobile phone 2, if it receives the first indication message sent by other slave devices, mobile phone 1 can also display the shooting screen of other slave devices and stop displaying the shooting screen of mobile phone 2.

[0165] In some embodiments, in addition to mobile phone 1 (i.e., the main device) being able to display the captured images of the slave device (such as the above-mentioned mobile phone 2) with user voice input in the display interface, other slave devices (such as TV 1) can also display the captured images of the slave device with user voice input in the display interface.

[0166] Still taking the example of mobile phone 2 detecting that a user inputs an audio signal to mobile phone 2, mobile phone 2 can send the captured image with the voice mark to mobile phone 1 and also send the captured image with the voice mark to TV 1. Fig.17As shown, the architecture of the operating system in TV 1 is similar to the architecture of the operating system in mobile phone 2. Among them, the application layer of TV 1 can install a proxy application, and the proxy application is used to send and receive data with other devices (such as mobile phone 1 or mobile phone 2). CameraService can also be set in the application framework layer of TV 1. CameraHAL can also be set in the HAL of TV 1, and the Camera HAL of TV 1 corresponds to the camera of TV 1. In addition, AudioRecord and AudioFlinger can also be set in the application framework layer of TV 1, and Audio HAL can also be set in the HAL of TV 1. The Audio HAL corresponds to audio input and output devices such as the microphone and speaker of TV 1.

[0167] Among them, the process of TV 1 sending the captured image to mobile phone 1 as a slave device of mobile phone 1 is similar to the process of mobile phone 2 sending the captured image to mobile phone 1, and the process of TV 1 detecting whether a user inputs an audio signal to TV 1 is similar to the process of mobile phone 2 detecting whether a user inputs an audio signal to mobile phone 2, so it will not be repeated here.

[0168] The difference is that, Fig.17 As shown, the application layer of TV 1 can also set up a camera application and a DV application. TV 1 can establish a network connection not only with mobile phone 1, but also with mobile phone 2. In addition, TV 1 can obtain the shooting capability parameters of mobile phone 1 and the shooting capability parameters of mobile phone 2. For example, mobile phone 1 can send the shooting capability parameters of TV 1 and the shooting capability parameters of mobile phone 2 obtained by mobile phone 1 to the DV application of TV 1. Furthermore, the DV application of TV 1 can create a corresponding DMSDP HAL in the HAL of TV 1. For example, the DV application of TV 1 can create a virtual HAL 3 corresponding to mobile phone 1 and a virtual HAL 4 corresponding to mobile phone 2 in the DMSDP HAL. Subsequently, TV 1 can receive data sent from mobile phone 1 through virtual HAL 3, and can also receive data sent from mobile phone 2 through virtual HAL 4. In addition, similar to the control module 1 in the DMSDP HAL in mobile phone 1, a control module (hereinafter referred to as control module 2) can also be set in the DMSDP HAL of TV 1, and control module 2 is used to determine which device to send the shooting picture from to the CameraService of TV 1.

[0169] Follow-up, still Fig.17As shown, if another slave device of mobile phone 1 (such as mobile phone 2) detects that a user inputs an audio signal to mobile phone 2, mobile phone 2 can also send a shot picture (such as the above-mentioned shot picture 3) carrying a voice identification to the virtual HAL 4 of TV 1. Then, virtual HAL 4 can report the received shot picture 3 to control module 2. Similar to the working principle of the above-mentioned control module 1, after the control module 2 receives the shot picture 3 from mobile phone 2, if the voice identification carried by the shot picture is parsed, the control module 2 can report the shot picture 3 of mobile phone 2 to the CameraService of TV 1. Subsequently, the CameraService of TV 1 can report the shot picture 3 of mobile phone 2 to the camera application of TV 1, and the camera application of TV 1 will display the shot picture 3 of mobile phone 2 in the display interface of TV 1. In this way, TV 1, as a slave device of mobile phone 1, can also present the shot picture of the slave device (such as the above-mentioned mobile phone 2) with user voice input to the user.

[0170] For example, Fig.18 As shown in (a), after the camera application of TV 1 receives the captured image 3 of mobile phone 2 reported by CameraService, it can only display the captured image 3 of mobile phone 2 in the display interface. At this time, if the CameraService of TV 1 receives the captured image of TV 1 (for example, captured image 2) reported by the Camera HAL of TV 1, the CameraService of TV 1 can report the captured image 2 of TV 1 to the proxy application of TV 1, and the proxy application of TV 1 sends the captured image 2 of TV 1 to mobile phone 1. In other words, the CameraService of TV 1 does not need to report the captured image 2 of TV 1 to the camera application of TV 1, and the camera application of TV 1 will not display its own captured image 2 in the display interface.

[0171] Alternatively, in some scenarios, the CameraService of TV 1 can receive the captured image 2 of TV 1 reported by the Camera HAL of TV 1, and can also receive the captured image 3 of mobile phone 2 reported by the DMSDP HAL of TV 1. In this case, the CameraService of TV 1 can report the captured images of both devices to the camera application of TV 1. Fig.18As shown in (b) in FIG. 1 , the camera application of TV 1 can also create two windows (i.e., window 1801 and window 1802) in its display interface. At this time, the camera application of TV 1 can display the shooting picture 3 of mobile phone 2 in one window (e.g., window 1801), and the camera application of TV 1 can display the shooting picture 2 of TV 1 itself in another window (e.g., window 1802). In this way, TV 1 can also display the shooting picture taken by TV 1 itself while displaying the shooting picture of the slave device with user voice input.

[0172] It should be noted that in the above embodiment, the slave devices of mobile phone 1 include TV 1 and mobile phone 2. When there is user voice input to mobile phone 2, mobile phone 2 can send the captured image of mobile phone 2 to mobile phone 1 and TV 1 for display. It is understandable that mobile phone 2 can also receive and display the captured images of other slave devices (such as TV 1) according to the above method, and the embodiment of the present application does not impose any limitation on this.

[0173] In other embodiments, mobile phone 1, as the main device, can use its own camera to capture the shooting picture and also use the microphone to capture the audio signal input by the user, and then determine whether the user is using mobile phone 1 to speak based on the collected audio signal. Among them, the method of collecting audio signals by mobile phone 1 and determining whether the user inputs audio signals to mobile phone 1 based on the collected audio signals can refer to the method of collecting audio signals by mobile phone 2 and determining whether the user inputs audio signals to mobile phone 2 based on the collected audio signals in the above embodiment, so it will not be repeated here.

[0174] For example, if the mobile phone 1 determines that the user is currently inputting an audio signal to the mobile phone 1, Fig.19 As shown in (a) of FIG. 1 , mobile phone 1 can continue to display the picture taken by mobile phone 1 in window 1201 that originally displayed the picture taken by mobile phone 1. At this time, mobile phone 1 can not display the picture taken by any slave device in window 1202. Currently, mobile phone 1 can also display the picture taken by mobile phone 1 in full screen. Or, as Fig.19 As shown in (b) of FIG. 1 , while the mobile phone 1 continues to display the captured image of the mobile phone 1 in the window 1201, the mobile phone 1 can also display the captured image of a slave device in the window 1202. For example, the mobile phone 1 can continue to display the captured image 2 of the TV 1 before the user inputs the audio signal to the mobile phone 1 in the window 1202.

[0175] In addition, if mobile phone 1 determines that the user is currently inputting an audio signal to mobile phone 1, mobile phone 1 can also add a voice mark in the shooting picture of mobile phone 1 according to the above method. Furthermore, mobile phone 1 can send the shooting picture with the voice mark to the slave devices of mobile phone 1, that is, TV 1 and mobile phone 2. In this way, TV 1 and mobile phone 2 can also display the shooting picture of mobile phone 1 in their own display interfaces according to the above method. In other words, in a distributed shooting scenario, when a user inputs an audio signal to any device among the master device and the slave device, the device can notify other devices to display their own shooting pictures together by adding a voice mark in the shooting picture, so that users of the master device and the slave device can focus on the shooting picture of the slave device with user voice input, thereby improving the user experience.

[0176] It can be understood that in the above embodiment, mobile phone 1 is used as the master device in the distributed shooting scene, and TV 1 and mobile phone 2 are used as slave devices of mobile phone 1. It can be understood that the master device and slave device in the distributed shooting scene can be any electronic device with the above-mentioned shooting function, and the embodiments of the present application do not impose any restrictions on this.

[0177] It should be noted that the above embodiment is a specific method for implementing a distributed shooting function between various functional modules using the Android system as an example. It can be understood that corresponding functional modules can also be set in other operating systems (such as Hongmeng system, etc.) to implement the above method. As long as the functions implemented by each device and functional module are similar to the embodiments of this application, they fall within the scope of the claims of this application and their equivalent technologies.

[0178] like Fig. 20 As shown, an embodiment of the present application discloses an electronic device, which can be the above-mentioned main device (such as a mobile phone). The electronic device may specifically include: a touch screen 2001, wherein the touch screen 2001 includes a touch sensor 2006 and a display screen 2007; one or more processors 2002; a memory 2003; a communication module 2008; one or more cameras 2009; one or more applications (not shown); and one or more computer programs 2004, and the above-mentioned components may be connected via one or more communication buses 2005. Among them, the above-mentioned one or more computer programs 2004 are stored in the above-mentioned memory 2003 and are configured to be executed by the one or more processors 2002, and the one or more computer programs 2004 include instructions, which can be used to execute the relevant steps executed by the main device (such as mobile phone 1) in the above-mentioned embodiment.

[0179] like Fig.21As shown, an embodiment of the present application discloses an electronic device, which can be the above-mentioned slave device (such as a speaker). The electronic device may specifically include: a touch screen 2101, wherein the touch screen 2101 includes a touch sensor 2106 and a display screen 2107; one or more processors 2102; a memory 2103; a communication module 2108; one or more cameras 2109; one or more applications (not shown); and one or more computer programs 2104, and the above-mentioned devices may be connected via one or more communication buses 2105. Among them, the above-mentioned one or more computer programs 2104 are stored in the above-mentioned memory 2103 and are configured to be executed by the one or more processors 2102, and the one or more computer programs 2104 include instructions, which can be used to execute the relevant steps executed by the slave device (such as TV 1 or mobile phone 2) in the above-mentioned embodiment.

[0180] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0181] Each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units.

[0182] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as flash memory, mobile hard disk, read-only memory, random access memory, disk or optical disk.

[0183] The above is only a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto, and any changes or replacements within the technical scope disclosed in the embodiment of the present application should be included in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiment of the present application should be based on the protection scope of the claims.

Claims

1. A shooting method, characterized in that: include: The first device displays a first captured picture in a display interface, where the first captured picture is a captured picture collected by the first device; After the first device establishes a network connection with N electronic devices, the first device instructs the N electronic devices to start collecting and shooting pictures, where N is an integer greater than 1; If the first device and the third device first establish a network connection, the first device obtains a third captured image captured by the third device, and the third device is one of the N electronic devices; The first device displays the third captured picture in the second window of the display interface, and displays the first captured picture in the first window of the display interface; The first device acquires a second captured image captured by a second device, where the second device is one of the N electronic devices except the third device; If the second shot image includes a preset sound identification mark, the first device determines whether the time from displaying the third shot image in the second window exceeds a preset time, and the sound identification mark is used to indicate that the user is speaking; If the preset time is exceeded, the first device displays the second captured image in the second window; The first device again obtains a third shot image captured by the third device; If the third captured picture obtained again does not include the sound identification, the first device continues to display the second captured picture in the second window, and does not display the third captured picture obtained again; If the third captured image that is acquired again contains the sound identification, the first device displays the third captured image that is acquired again in the second window; or, If the third captured image that is acquired again includes the sound identification, the first device creates a third window in the display interface, and displays the third captured image that is acquired again in the third window.

2. The method according to claim 1, characterized in that: The display interface is provided with a preset button, and the preset button is used to synchronously display the shooting pictures of multiple devices; Before the first device acquires the third captured image captured by the third device, the method further includes: In response to a user selecting the preset button, the first device creates the first window and the second window in the display interface.

3. The method according to claim 1, characterized in that After the first device establishes a network connection with the N electronic devices, the method further includes: When the first device uses the camera to capture the first shot image, the microphone is used to detect the audio signal; When the first device detects an audio signal, acquiring M first captured images corresponding to the detected audio signal, where M is an integer greater than 1; If the lip features in the M first shot pictures match the detected audio signal, the first device determines that a user inputs an audio signal to the first device.

4. The method according to any one of claims 1 to 3, characterized in that The second window includes a prompt message, where the prompt message is used to prompt that the user corresponding to the second window is speaking.

5. The method according to claim 3, characterized in that: After the first device determines that a user inputs an audio signal to the first device, the method further includes: The first device adds the sound identification to the collected first shot picture; The first device sends the first captured image carrying the voice identification to the N electronic devices, so that the N electronic devices display the first captured image according to the voice identification.

6. The method according to claim 3, characterized in that When the first device detects an audio signal, acquiring M first shot pictures corresponding to the detected audio signal includes: When the first device detects that the loudness of the audio signal is greater than a preset value, M first shooting pictures corresponding to the detected audio signal are acquired.

7. The method according to claim 6, characterized in that The method further comprises: The first device stops displaying the second captured image.

8. An electronic device, characterized in that: The electronic device is a first device, and the first device includes: Display screen; One or more cameras; one or more processors; Memory; Communication module; Wherein, one or more computer programs are stored in the memory, and the one or more computer programs include instructions. When the instructions are executed by the electronic device, the electronic device executes a shooting method executed by the first device as described in any one of claims 1-7.

9. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, characterized in that: When the instruction is executed on an electronic device, the electronic device executes a shooting method as claimed in any one of claims 1 to 7.

10. A computer program product, characterized in that When the computer program product runs on a first device, the first device is enabled to execute a shooting method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Mobile terminal and implementation method of multi-party video call

    CN104010158A

  • Intelligent conference telephone with mouth shape identification

    CN104301564A

  • Call control method and device for multi party call conference system

    CN106791238A

  • Communicating metadata that identifies a current speaker

    CN107430858A

  • Multimodal identification and tracking of speakers in video

    US20080043144A1