CN114449211A - Shooting method and device, electronic equipment and storage medium - Google Patents

Shooting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114449211A
CN114449211A CN202011218404.XA CN202011218404A CN114449211A CN 114449211 A CN114449211 A CN 114449211A CN 202011218404 A CN202011218404 A CN 202011218404A CN 114449211 A CN114449211 A CN 114449211A
Authority
CN
China
Prior art keywords
shooting
camera
target
electronic device
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011218404.XA
Other languages
Chinese (zh)
Inventor
张海坡
李国盛
魏强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202011218404.XA priority Critical patent/CN114449211A/en
Publication of CN114449211A publication Critical patent/CN114449211A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image

Landscapes

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

Abstract

The disclosure relates to a shooting method and device, electronic equipment and a storage medium. The method comprises the following steps: searching second electronic equipment sharing the camera of the user in a preset range, and determining at least one second electronic equipment; selecting any second electronic equipment exceeding the shooting capability of the camera of the first electronic equipment as target equipment; shooting based on the camera of the target equipment, and displaying the real-time image acquired by the target equipment. In this embodiment, the first electronic device may multiplex the camera of the second electronic device with higher shooting capability, so as to obtain a high-quality image, which is beneficial to improving the use experience.

Description

Shooting method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of control technologies, and in particular, to a shooting method and apparatus, an electronic device, and a storage medium.
Background
At present, with the wide application of smart phones, cameras thereof have been developed greatly, and the requirements of most users on photographing can be met. In practical applications, some users may seek better image quality or more novel shooting angles to improve the shooting experience.
Taking the updated shooting angle as an example, the user may be limited by the camera capability and the like, cannot obtain a satisfactory shooting effect, and regrets from the scene beauty, thereby reducing the shooting experience.
Disclosure of Invention
The present disclosure provides a shooting method and apparatus, an electronic device, and a storage medium to solve the deficiencies of the related art.
According to a first aspect of the embodiments of the present disclosure, there is provided a shooting method applied to a first electronic device, including:
searching second electronic equipment sharing the camera within a preset range, and determining at least one second electronic equipment;
selecting any second electronic equipment exceeding the shooting capability of the camera of the first electronic equipment as target equipment;
shooting based on the camera of the target equipment, and displaying the real-time image acquired by the target equipment.
Optionally, selecting any second electronic device exceeding the shooting capability of the camera of the first electronic device as the target device includes:
acquiring the shooting capability of each second electronic device from the broadcast message of the second electronic device; the shooting capability is obtained according to at least one of the following camera parameters: resolution, magnification, data format and whether wide angle is supported;
sequencing the shooting capabilities of the at least one second electronic device in a descending order;
and selecting the second electronic equipment with the maximum shooting capability as target equipment.
Optionally, selecting any second electronic device exceeding the shooting capability of the camera of the first electronic device as the target device includes:
acquiring the shooting capability of each second electronic device from the broadcast message of the second electronic device; the shooting capability is obtained according to at least one of the following camera parameters: resolution, magnification, data format and whether wide angle is supported;
displaying a second electronic device with shooting capability exceeding that of the first electronic device in a display interface;
and in response to detecting a trigger operation for representing and selecting the second electronic equipment, taking the second electronic equipment corresponding to the trigger operation as target equipment.
Optionally, shooting based on a camera of the target device, and displaying a real-time image acquired by the target device, includes:
sending a connection establishment request to a target device so that the target device establishes a communication connection with the first electronic device in response to the link establishment request;
generating a control instruction and sending the control instruction to the target device through the communication connection so that the target device responds to the control instruction to acquire a real-time image;
and receiving and displaying the returned receiving of the target equipment.
Optionally, generating the control instruction comprises:
detecting a trigger operation of a user on the first electronic equipment;
when the trigger operation of the characterization shooting is detected, generating a control instruction of the characterization shooting;
alternatively, the first and second electrodes may be,
acquiring the control right of the target equipment camera;
and in response to detecting a trigger operation for representing and editing the camera parameters of the camera of the target device, generating a control instruction for representing and editing the camera parameters, so that the target device edits the camera parameters according to the control instruction.
Optionally, shooting based on a camera of the target device, and displaying a real-time image acquired by the target device, includes:
sending a connection establishment request to a target device so that the target device establishes a communication connection with the first electronic device in response to the link establishment request;
receiving and displaying a real-time image acquired by the target equipment;
and when the trigger operation for representing shooting is detected, shooting or recording a video based on the real-time image.
Optionally, before receiving and displaying the real-time image acquired by the target device, the method further includes:
acquiring the control right of the target equipment camera;
and in response to detecting the trigger operation of the camera parameters for representing and editing the camera of the target equipment, generating a control instruction for representing and editing the camera parameters, so that the target equipment edits the camera parameters according to the control instruction.
Optionally, the communication connection comprises an end-to-end connection for transmitting control instructions and an RTSP connection for transmitting a video stream;
alternatively, the first and second electrodes may be,
the communication connection comprises an end-to-end connection for transmitting control instructions and a video stream;
alternatively, the first and second electrodes may be,
the communication connection comprises an RTSP connection for transmitting control commands and a video stream.
According to a second aspect of the embodiments of the present disclosure, there is provided a shooting apparatus applied to a first electronic device, including:
the electronic equipment searching module is used for searching second electronic equipment sharing the camera of the electronic equipment within a preset range and determining at least one second electronic equipment;
the target equipment selection module is used for selecting any second electronic equipment exceeding the shooting capability of the camera of the first electronic equipment as target equipment;
and the target image shooting module is used for shooting based on the camera of the target equipment and displaying the real-time image acquired by the target equipment.
Optionally, the target device selecting module includes:
the shooting capability acquiring unit is used for acquiring the shooting capability of each second electronic device from the broadcast message of the second electronic device; the shooting capability is obtained according to at least one of the following camera parameters: resolution, magnification, data format and whether wide angle is supported;
the shooting capability sorting unit is used for sorting the shooting capabilities of the at least one second electronic device in a descending order;
and the target equipment selecting unit is used for selecting the second electronic equipment with the maximum shooting capability as the target equipment.
Optionally, the target device selecting module includes:
the shooting capability acquiring unit is used for acquiring the shooting capability of each second electronic device from the broadcast message of the second electronic device; the shooting capability is obtained according to at least one of the following camera parameters: resolution, magnification, data format and whether wide angle is supported;
the electronic equipment display unit is used for displaying second electronic equipment with shooting capability exceeding that of the first electronic equipment in a display interface;
and the target equipment selecting unit is used for responding to the detected trigger operation for representing and selecting the second electronic equipment and taking the second electronic equipment corresponding to the trigger operation as the target equipment.
Optionally, the object image capturing module includes:
a connection request sending unit, configured to send a connection establishment request to a target device, so that the target device establishes a communication connection with the first electronic device in response to the link establishment request;
a control instruction sending unit, configured to generate a control instruction and send the control instruction to the target device through the communication connection, so that the target device obtains a real-time image in response to the control instruction;
and the image acquisition unit is used for receiving and displaying the real-time image returned by the target equipment.
Optionally, the control instruction sending unit includes:
the trigger operation detection subunit is used for detecting the trigger operation of the user on the first electronic equipment;
the control instruction generation subunit is used for generating a control instruction for representing shooting when the trigger operation for representing shooting is detected;
alternatively, the first and second electrodes may be,
a control right acquiring subunit, configured to acquire a control right of the target device camera;
and the control instruction generating subunit is used for generating a control instruction for representing the camera parameters to be edited in response to the detection of the trigger operation for representing the camera parameters to be edited of the target equipment camera, so that the target equipment edits the camera parameters according to the control instruction.
Optionally, the object image capturing module includes:
a connection request sending unit, configured to send a connection establishment request to a target device, so that the target device establishes a communication connection with the first electronic device in response to the link establishment request;
the real-time image display unit is used for receiving and displaying the real-time image acquired by the target equipment;
and the image acquisition unit is used for photographing or recording a video based on the real-time image when the trigger operation for representing photographing is detected.
Optionally, the target image capturing module further includes:
a control right acquisition unit for acquiring a control right of the target device camera;
and the control instruction generating unit is used for responding to the detected trigger operation of the camera parameters for representing and editing the camera of the target equipment, and generating the control instructions for representing and editing the camera parameters so as to enable the target equipment to edit the camera parameters according to the control instructions.
Optionally, the communication connection comprises an end-to-end connection for transmitting control instructions and an RTSP connection for transmitting a video stream;
alternatively, the first and second liquid crystal display panels may be,
the communication connection comprises an end-to-end connection for transmitting control instructions and a video stream;
alternatively, the first and second electrodes may be,
the communication connection comprises an RTSP connection for transmitting control commands and a video stream.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing a computer program executable by the processor;
wherein the processor is configured to execute the computer program in the memory to implement the method as described above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, in which an executable computer program is capable of implementing the method as described above when executed by a processor.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
as can be seen from the above embodiments, in the embodiments of the present disclosure, second electronic devices sharing a camera of the second electronic device within a preset range may be searched, and at least one second electronic device is determined; then, any second electronic equipment exceeding the shooting capability of the camera of the first electronic equipment is selected as target equipment; and then shooting based on a camera of the target equipment, and displaying a real-time image acquired by the target equipment. Therefore, in this embodiment, the first electronic device can reuse the camera of the second electronic device with higher shooting capability, so as to acquire a high-quality image, which is beneficial to improving the use experience.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a photographing method according to an exemplary embodiment.
FIG. 2 is a flow diagram illustrating an acquisition of a target device according to an example embodiment.
FIG. 3 is a flow diagram illustrating another method for acquiring a target device in accordance with an illustrative embodiment.
FIG. 4 is a flow chart illustrating a method of acquiring an image according to an exemplary embodiment.
FIG. 5 is a flow chart illustrating another method of acquiring an image according to an exemplary embodiment.
Fig. 6-9 are schematic diagrams of application scenarios shown according to an example embodiment.
Fig. 10 is a block diagram illustrating a photographing apparatus according to an exemplary embodiment.
FIG. 11 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The following exemplary described embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of devices consistent with certain aspects of the present disclosure as recited in the claims below.
In order to solve The above technical problem, an embodiment of The present disclosure provides a shooting method, and fig. 1 is a flowchart illustrating a shooting method according to an exemplary embodiment, and is applicable to a first electronic device, where The first electronic device may include a smart phone, a tablet computer, a personal computer, and The like, and a second electronic device may include a smart phone, a tablet computer, a personal computer, a distributed camera, or an Internet of Things (IOT) device. Preferably, the scheme can be applied to portable mobile terminals, and can shoot by multiplexing cameras with higher shooting capability compared with traditional mobile terminals, for example, a function phone user can shoot scenes of scenery by multiplexing cameras of high-end mobile phones, and high-quality images can be acquired.
Referring to fig. 1, a photographing method includes steps 11 to 13, wherein:
in step 11, second electronic devices sharing the own camera within a preset range are searched, and at least one second electronic device is determined.
In this embodiment, a sharing button for sharing shooting capability may be provided in the electronic device. When the sharing button is closed, the sharing button indicates that the shooting capability is not shared with other equipment; when the sharing button is turned on, the shooting capability can be shared with other devices, and at the moment, the electronic device can broadcast a sharing message into the space. The shared message includes shooting capability of the electronic device, and the shooting capability is obtained according to at least one of the following camera parameters: resolution, magnification, data format, and whether wide-angle is supported.
In practical applications, the shared message may further include an identification code and/or a device name, and the content included in the shared message may be selected according to a specific scenario.
In this embodiment, an interconnection button for searching for the shared shooting capability may be provided in the electronic device. When the interconnection button is opened, the interconnection button can receive the sharing signal in the preset range and search the electronic equipment sharing the shooting capability, so that the shooting capability of the electronic equipment is multiplexed.
For convenience of description, the electronic device searching for the shared photographing capability will be referred to as a first electronic device, and the electronic device sharing the photographing capability will be referred to as a second electronic device. In practical applications, the roles of the first electronic device and the second electronic device may be interchanged.
When the user has the requirement of multiplexing the shooting capability, the user can open the interconnection button. The first electronic device may receive the sharing message within a preset range after detecting that the interconnection button is turned on, so as to determine at least one second electronic device. And the first electronic device can acquire the shooting capability of each second electronic device from the shared message.
In step 12, any second electronic device exceeding the shooting capability of the camera of the first electronic device is selected as a target device.
In this embodiment, the selecting, by the first electronic device, any second electronic device that exceeds the shooting capability of the first electronic device as the target device includes:
in one example, referring to fig. 2, in step 21, the first electronic device may obtain the shooting capabilities of the second electronic devices from the shared messages broadcast by the second electronic devices.
In step 22, the first electronic device may rank the shooting capabilities of the at least one second electronic device in order from large to small.
For example, according to an electronic device with a large resolution, the shooting capability is large; when the resolution is the same, the shooting capability is high when the magnification is large; when the magnification is the same, the shooting capability of supporting wide angle is large; when wide angles are all supported, the shooting capability of the specified data format is large.
For another example, a score table may be set for each camera parameter, such as a score of 100 when the resolution is greater than 64M; when the resolution is 32M-64M, the score is 90; the resolution is 16-32M, the score is 80, and so on. If the magnification is more than 20 times, the score is 100; when the magnification is 16-20 times, the score is 90; when the magnification is 12-16 times, the score is 80, and so on. If wide angle is supported, the score is 100; wide angle is not supported and a score of 0 is given. If the data format is JPG format, the score is 100; the data format is YUV format, scoring 90. The first electronic device may obtain a score of the photographing capability of each of the second electronic devices according to the scores of the camera parameters.
In step 23, the first electronic device may select the second electronic device with the largest shooting capability as the target device.
In another example, referring to fig. 3, in step 31, the first electronic device may obtain the shooting capabilities of the second electronic devices from the shared messages broadcast by the second electronic devices, and for specific contents, refer to step 21, which is not described herein again.
In step 32, the first electronic device may display a second electronic device having a photographing capability exceeding that of the first electronic device within the display interface. Step 22 may be referred to for determining whether the shooting capability exceeds the shooting capability of the first electronic device, which is not described herein again.
In step 33, the first electronic device may, in response to detecting a trigger operation characterizing the selection of the second electronic device, take the second electronic device corresponding to the trigger operation as the target device.
In step 13, shooting is performed based on the camera of the target device, and a real-time image acquired by the target device is displayed.
In this embodiment, the first electronic device may capture a target image based on a camera of a target device, and display a real-time image acquired by the target device, where the method includes:
in an example, referring to fig. 4, in step 41, the first electronic device may send a connection establishment request to the target device to cause the target device to establish a communication connection with the first electronic device in response to the link establishment request. The communication connection may include an end-to-end connection that may be used to transport images or video and control instructions, wherein the end-to-end connection comprises at least one of: bluetooth connection, WiFi connection, infrared data transmission connection, ZigBee connection and ultra-wideband connection. The communication connection may comprise an RTSP connection that may be used to transmit images or video as well as control instructions. The communication connection may include an end-to-end connection and an RTSP connection, wherein the end-to-end connection may be used to transmit control instructions and the RTSP connection may be used to transmit images or videos, and the present scheme is adopted in the present disclosure.
In step 42, the first electronic device may generate a control instruction and may send the control instruction to the target device over the communication connection to cause the target device to acquire a real-time image in response to the control instruction. The control instruction may include an instruction for characterizing shooting, for example, the first electronic device may detect a trigger operation of a user on the first electronic device, and generate the control instruction for characterizing shooting when the trigger operation for characterizing shooting is detected. The control instruction may further include an instruction characterizing camera parameters of the editing target device camera, for example, the first electronic device may send a control right acquisition request to the target device, and the target device may pass control right to the first electronic device in response to the control right acquisition request, so that the first electronic device may acquire the control right of the target device camera. Then, the first electronic device may generate a control instruction representing the editing camera parameter in response to detecting a trigger operation representing a camera parameter of the editing target device, so that the target device edits the camera parameter according to the control instruction and acquires a real-time image according to the edited camera parameter.
It should be noted that the camera parameters include at least one of the following: professional mode (focus, ISO, lens, etc.), video recording mode (anti-shake, 8K, filter, etc.), picture taking mode (shooting mode (HDR, AI, motion picture, beauty, filter, etc.), portrait mode (AI, no AI, etc.) and others (night view, short video, panorama, VLOG, slow motion, time-lapse photography, tandem, long exposure, budding, magic split, etc.).
In this step, the first electronic device sends a control instruction, such as a photographing instruction, a recording start instruction, a recording end instruction, and the like, through end-to-end connection. In step 43, the first electronic device may receive and display the target device return real-time image. In this step, the first electronic device may receive the real-time image through the RTSP connection. Therefore, the first electronic device can multiplex shooting capabilities by controlling the second electronic device, and is suitable for controlling a scene shot by a high-end mobile phone with a higher configuration by configuring a lower-function mobile phone.
In another example, referring to fig. 5, in step 51, the first electronic device may send a connection establishment request to the target device, so that the target device establishes a communication connection with the first electronic device in response to the link establishment request. The content of step 51 is similar to that of step 41, and reference may be made to the content of step 41, which is not described herein again. In step 52, the first electronic device may be communicatively coupled to receive and display real-time images captured by the target device. In this example, the first electronic device may further acquire a control right of the camera of the target device, and then generate a control instruction representing an editing camera parameter in response to detecting a trigger operation of the camera parameter representing the editing target device camera, so that the target device edits the camera parameter according to the control instruction. In step 53, the first electronic device may take a picture or record a video based on the real-time image when a trigger operation characterizing the taking is detected. Therefore, the first electronic device can directly take a picture or record a video locally, and the method is particularly suitable for scenes in which the second electronic device has higher shooting capability but no data processing capability, and at the moment, high-quality pictures or videos are obtained by utilizing the data processing capability of the first electronic device.
In one embodiment, the electronic device may transmit the target image back to a designated camera of the distributed cameras to cause the electronic device containing the designated camera to display.
Therefore, the embodiment of the disclosure may search for a second electronic device sharing its own camera within a preset range, and determine at least one second electronic device; then, any second electronic equipment exceeding the shooting capability of the camera of the first electronic equipment is selected as target equipment; and then shooting based on a camera of the target equipment, and displaying a real-time image acquired by the target equipment. Therefore, in this embodiment, the first electronic device can reuse the camera of the second electronic device with higher shooting capability, so as to acquire a high-quality image, which is beneficial to improving the use experience.
The above shooting method is described below in conjunction with an actual scene, including:
referring to fig. 6, the user of the second electronic device may activate the share button 60, at which time the second electronic device may broadcast a share message to the surrounding space.
Referring to fig. 7, a user of a first electronic device may activate a search button 70 and add a second electronic device. At this time, the first electronic device may receive the sharing message within the preset range, and determine at least one second electronic device, so as to obtain the second electronic device list 80 shown in fig. 8.
The user of the first electronic device may select one of the second electronic devices from the second electronic device list 80 as the target device.
When the user triggers to operate the target device, the first electronic device may send a connection establishment request to the target device, so as to establish an RTSP connection and a bluetooth connection. Wherein the RTSP connection is used to transmit video streams and the bluetooth connection is used to transmit control commands.
After the communication connection is established, the first electronic device may receive and display the real-time image collected by the target device. Meanwhile, the first electronic device can detect the trigger operation of the user, such as photographing and video recording, generate a corresponding control instruction and send the control instruction to the second electronic device through Bluetooth connection. And after receiving the control instruction, the second electronic equipment can acquire a real-time image in a photographing or video recording mode. The second electronic device may then send the real-time image to the first electronic device through the RTSP connection. In this way, the first electronic device can receive the real-time image and display the real-time image, and the display effect is as shown in fig. 9.
Fig. 10 is a flowchart illustrating a camera according to an exemplary embodiment, and may be applied to a first electronic device, where The first electronic device may include a smart phone, a tablet computer, a personal computer, and The like, and a second electronic device may include a smart phone, a tablet computer, a personal computer, a distributed camera, or an Internet of Things (IOT) device. Preferably, the scheme can be applied to portable mobile terminals, and can shoot by multiplexing cameras with higher shooting capability compared with traditional mobile terminals, for example, a function phone user can shoot scenes of scenery by multiplexing cameras of high-end mobile phones, and high-quality images can be acquired. Referring to fig. 10, a photographing apparatus includes:
the electronic device searching module 101 is configured to search for second electronic devices sharing a camera of the electronic device within a preset range, and determine at least one second electronic device;
a target device selection module 102, configured to select any second electronic device exceeding the shooting capability of the camera of the first electronic device as a target device;
and the target image shooting module 103 is configured to shoot based on a camera of the target device and display a real-time image acquired by the target device.
In an embodiment, the target device selecting module includes:
the shooting capability acquiring unit is used for acquiring the shooting capability of each second electronic device from the broadcast message of the second electronic device; the shooting capability is obtained according to at least one of the following camera parameters: resolution, magnification, data format and whether wide angle is supported;
the shooting capability sorting unit is used for sorting the shooting capabilities of the at least one second electronic device in a descending order;
and the target equipment selecting unit is used for selecting the second electronic equipment with the maximum shooting capability as the target equipment.
In an embodiment, the target device selecting module includes:
the shooting capability acquiring unit is used for acquiring the shooting capability of each second electronic device from the broadcast message of the second electronic device; the shooting capability is obtained according to at least one of the following camera parameters: resolution, magnification, data format and whether wide angle is supported;
the electronic equipment display unit is used for displaying second electronic equipment with shooting capability exceeding that of the first electronic equipment in a display interface;
and the target equipment selecting unit is used for responding to the detected trigger operation for representing and selecting the second electronic equipment and taking the second electronic equipment corresponding to the trigger operation as the target equipment.
In one embodiment, the target image capturing module includes:
a connection request sending unit, configured to send a connection establishment request to a target device, so that the target device establishes a communication connection with the first electronic device in response to the link establishment request;
a control instruction sending unit, configured to generate a control instruction and send the control instruction to the target device through the communication connection, so that the target device obtains a real-time image in response to the control instruction;
and the image acquisition unit is used for receiving and displaying the real-time image returned by the target equipment.
In one embodiment, the control instruction transmitting unit includes:
the trigger operation detection subunit is used for detecting the trigger operation of the user on the first electronic equipment;
the control instruction generation subunit is used for generating a control instruction for representing shooting when the trigger operation for representing shooting is detected;
alternatively, the first and second electrodes may be,
a control right acquiring subunit, configured to acquire a control right of the target device camera;
and the control instruction generating subunit is used for generating a control instruction for representing the camera parameters to be edited in response to the detection of the trigger operation for representing the camera parameters to be edited of the target equipment camera, so that the target equipment edits the camera parameters according to the control instruction.
In one embodiment, the target image capturing module includes:
a connection request sending unit, configured to send a connection establishment request to a target device, so that the target device establishes a communication connection with the first electronic device in response to the link establishment request;
the real-time image display unit is used for receiving and displaying the real-time image acquired by the target equipment;
and the image acquisition unit is used for photographing or recording a video based on the real-time image when the trigger operation for representing photographing is detected.
In one embodiment, the target image capturing module further includes:
a control right acquisition unit for acquiring a control right of the target device camera;
and the control instruction generating unit is used for responding to the detected trigger operation of the camera parameters for representing and editing the camera of the target equipment, and generating the control instructions for representing and editing the camera parameters so as to enable the target equipment to edit the camera parameters according to the control instructions.
In an embodiment, the communication connection comprises an end-to-end connection for transmitting control instructions and an RTSP connection for transmitting a video stream;
alternatively, the first and second electrodes may be,
the communication connection comprises an end-to-end connection for transmitting control instructions and a video stream;
alternatively, the first and second electrodes may be,
the communication connection comprises an RTSP connection for transmitting control commands and a video stream.
It can be understood that the apparatus provided in the embodiment of the present disclosure corresponds to the method shown in fig. 1, and specific contents may refer to the contents of each embodiment of the method, which are not described herein again.
FIG. 11 is a block diagram illustrating an electronic device in accordance with an example embodiment. For example, the electronic device 1100 may be a smartphone, a computer, a digital broadcast terminal, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 11, electronic device 1100 may include one or more of the following components: processing component 1102, memory 1104, power component 1106, multimedia component 1108, audio component 1110, input/output (I/O) interface 1112, sensor component 1114, communication component 1116, and image capture component 1118.
The processing component 1102 generally controls the overall operation of the electronic device 1100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1102 may include one or more processors 1120 to execute computer programs. Further, the processing component 1102 may include one or more modules that facilitate interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102.
The memory 1104 is configured to store various types of data to support operations at the electronic device 1100. Examples of such data include computer programs for any application or method operating on the electronic device 1100, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1104 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1106 provides power to the various components of the electronic device 1100. The power components 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 1100. The power supply 1106 may include a power chip, and the controller may communicate with the power chip to control the power chip to turn the switching device on or off to allow the battery to supply power or not supply power to the motherboard circuitry.
The multimedia component 1108 includes a screen that provides an output interface between the electronic device 1100 and the target object. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a target object. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The audio component 1110 is configured to output and/or input audio signals. For example, the audio component 1110 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 1100 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1104 or transmitted via the communication component 1116. In some embodiments, the audio assembly 1110 further includes a speaker for outputting audio signals.
The I/O interface 1112 provides an interface between the processing component 1102 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc.
The sensor assembly 1114 includes one or more sensors for providing various aspects of state assessment for the electronic device 1100. For example, the sensor component 1114 may detect an open/closed state of the electronic device 1100, the relative positioning of components, such as a display and keypad of the electronic device 1100, the sensor component 1114 may also detect a change in the position of the electronic device 1100 or a component, the presence or absence of a target object in contact with the electronic device 1100, orientation or acceleration/deceleration of the electronic device 1100, and a change in the temperature of the electronic device 1100. In this example, the sensor assembly 1114 may include a magnetic sensor, a gyroscope, and a magnetic field sensor, wherein the magnetic field sensor includes at least one of: hall sensor, thin film magneto-resistance sensor, magnetic liquid acceleration sensor.
The communication component 1116 is configured to facilitate wired or wireless communication between the electronic device 1100 and other devices. The electronic device 1100 may access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, or a combination thereof. In an exemplary embodiment, the communication component 1116 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1116 also includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 1100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components.
In an exemplary embodiment, a non-transitory readable storage medium is also provided that includes an executable computer program, such as the memory 1104 that includes instructions, that are executable by the processor. The readable storage medium may be, among others, ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice in the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (18)

1. A shooting method is applied to first electronic equipment and comprises the following steps:
searching second electronic equipment sharing the camera of the user in a preset range, and determining at least one second electronic equipment;
selecting any second electronic equipment exceeding the shooting capability of the camera of the first electronic equipment as target equipment;
shooting based on the camera of the target equipment, and displaying the real-time image acquired by the target equipment.
2. The shooting method according to claim 1, wherein selecting any second electronic device exceeding the shooting capability of the first electronic device camera as a target device comprises:
acquiring the shooting capability of each second electronic device from the broadcast message of the second electronic device; the shooting capability is obtained according to at least one of the following camera parameters: resolution, magnification, data format and whether wide angle is supported;
sequencing the shooting capabilities of the at least one second electronic device in a descending order;
and selecting the second electronic equipment with the maximum shooting capability as target equipment.
3. The shooting method according to claim 1, wherein selecting any second electronic device exceeding the shooting capability of the first electronic device camera as a target device comprises:
acquiring the shooting capability of each second electronic device from the broadcast message of the second electronic device; the shooting capability is obtained according to at least one of the following camera parameters: resolution, magnification, data format and whether wide angle is supported;
displaying a second electronic device with shooting capability exceeding that of the first electronic device in a display interface;
and in response to detecting a trigger operation for representing and selecting the second electronic equipment, taking the second electronic equipment corresponding to the trigger operation as target equipment.
4. The shooting method according to claim 1, wherein shooting based on a camera of the target device and displaying a real-time image acquired by the target device comprises:
sending a connection establishment request to a target device so that the target device establishes a communication connection with the first electronic device in response to the link establishment request;
generating a control instruction and sending the control instruction to the target device through the communication connection so that the target device responds to the control instruction to acquire a real-time image;
and receiving and displaying the real-time image returned by the target equipment.
5. The photographing method according to claim 4, wherein generating a control instruction includes:
detecting a trigger operation of a user on the first electronic equipment;
when the trigger operation of the characterization shooting is detected, generating a control instruction of the characterization shooting;
alternatively, the first and second electrodes may be,
acquiring the control right of the target equipment camera;
and in response to detecting a trigger operation for representing and editing the camera parameters of the camera of the target device, generating a control instruction for representing and editing the camera parameters, so that the target device edits the camera parameters according to the control instruction.
6. The shooting method according to claim 1, wherein shooting based on a camera of the target device and displaying a real-time image acquired by the target device comprises:
sending a connection establishment request to a target device so that the target device establishes a communication connection with the first electronic device in response to the link establishment request;
receiving and displaying a real-time image acquired by the target equipment;
and when the trigger operation for representing shooting is detected, shooting or recording a video based on the real-time image.
7. The capture method of claim 6, wherein prior to receiving and displaying the real-time image captured by the target device, the method further comprises:
acquiring the control right of the target equipment camera;
and in response to detecting a trigger operation for representing and editing the camera parameters of the camera of the target device, generating a control instruction for representing and editing the camera parameters, so that the target device edits the camera parameters according to the control instruction.
8. Shooting method according to any of claims 4 to 7, characterized in that said communication connection comprises an end-to-end connection for transmitting control commands and an RTSP connection for transmitting a video stream;
alternatively, the first and second electrodes may be,
the communication connection comprises an end-to-end connection for transmitting control instructions and a video stream;
alternatively, the first and second electrodes may be,
the communication connection comprises an RTSP connection for transmitting control commands and a video stream.
9. A shooting device is applied to a first electronic device and comprises:
the electronic equipment searching module is used for searching second electronic equipment sharing the camera of the electronic equipment within a preset range and determining at least one second electronic equipment;
the target equipment selection module is used for selecting any second electronic equipment exceeding the shooting capability of the camera of the first electronic equipment as target equipment;
and the target image shooting module is used for shooting based on the camera of the target equipment and displaying the real-time image acquired by the target equipment.
10. The camera according to claim 9, wherein the target device selection module comprises:
the shooting capability acquiring unit is used for acquiring the shooting capability of each second electronic device from the broadcast message of the second electronic device; the shooting capability is obtained according to at least one of the following camera parameters: resolution, magnification, data format and whether wide angle is supported;
the shooting capability sorting unit is used for sorting the shooting capabilities of the at least one second electronic device in a descending order;
and the target equipment selecting unit is used for selecting the second electronic equipment with the maximum shooting capability as the target equipment.
11. The camera according to claim 9, wherein the target device selection module comprises:
the shooting capability acquiring unit is used for acquiring the shooting capability of each second electronic device from the broadcast message of the second electronic device; the shooting capability is obtained according to at least one of the following camera parameters: resolution, magnification, data format and whether wide angle is supported;
the electronic equipment display unit is used for displaying second electronic equipment with shooting capability exceeding that of the first electronic equipment in a display interface;
and the target equipment selecting unit is used for responding to the detected trigger operation for representing and selecting the second electronic equipment and taking the second electronic equipment corresponding to the trigger operation as the target equipment.
12. The camera of claim 9, wherein the object image capturing module comprises:
a connection request sending unit, configured to send a connection establishment request to a target device, so that the target device establishes a communication connection with the first electronic device in response to the link establishment request;
a control instruction sending unit, configured to generate a control instruction and send the control instruction to the target device through the communication connection, so that the target device obtains a real-time image in response to the control instruction;
and the image acquisition unit is used for receiving and displaying the real-time image returned by the target equipment.
13. The imaging apparatus according to claim 12, wherein the control instruction transmitting unit includes:
the trigger operation detection subunit is used for detecting the trigger operation of the user on the first electronic equipment;
the control instruction generation subunit is used for generating a control instruction for representing shooting when the trigger operation for representing shooting is detected;
alternatively, the first and second electrodes may be,
a control right acquiring subunit, configured to acquire a control right of the target device camera;
and the control instruction generating subunit is used for generating a control instruction for representing the camera parameters to be edited in response to the detection of the trigger operation for representing the camera parameters to be edited of the target equipment camera, so that the target equipment edits the camera parameters according to the control instruction.
14. The camera of claim 9, wherein the target image capture module comprises:
a connection request sending unit, configured to send a connection establishment request to a target device, so that the target device establishes a communication connection with the first electronic device in response to the link establishment request;
the real-time image display unit is used for receiving and displaying the real-time image acquired by the target equipment;
and the image acquisition unit is used for photographing or recording a video based on the real-time image when the trigger operation for representing photographing is detected.
15. The camera of claim 14, wherein the target image capture module further comprises:
a control right acquisition unit for acquiring a control right of the target device camera;
and the control instruction generating unit is used for responding to the detected trigger operation of the camera parameters for representing and editing the camera of the target equipment, and generating the control instructions for representing and editing the camera parameters so as to enable the target equipment to edit the camera parameters according to the control instructions.
16. The camera according to any one of claims 12 to 15, wherein the communication connection comprises an end-to-end connection for transmitting control commands and an RTSP connection for transmitting a video stream;
alternatively, the first and second electrodes may be,
the communication connection comprises an end-to-end connection for transmitting control instructions and a video stream;
alternatively, the first and second electrodes may be,
the communication connection comprises an RTSP connection for transmitting control commands and a video stream.
17. An electronic device, comprising:
a processor;
a memory for storing a computer program executable by the processor;
wherein the processor is configured to execute the computer program in the memory to implement the method of any of claims 1-8.
18. A computer-readable storage medium, characterized in that an executable computer program in the storage medium, when executed by a processor, is capable of implementing the method according to any one of claims 1 to 8.
CN202011218404.XA 2020-11-04 2020-11-04 Shooting method and device, electronic equipment and storage medium Pending CN114449211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011218404.XA CN114449211A (en) 2020-11-04 2020-11-04 Shooting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011218404.XA CN114449211A (en) 2020-11-04 2020-11-04 Shooting method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114449211A true CN114449211A (en) 2022-05-06

Family

ID=81362067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011218404.XA Pending CN114449211A (en) 2020-11-04 2020-11-04 Shooting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114449211A (en)

Similar Documents

Publication Publication Date Title
US11832022B2 (en) Framing method for multi-channel video recording, graphical user interface, and electronic device
CN108419016B (en) Shooting method and device and terminal
US20170304735A1 (en) Method and Apparatus for Performing Live Broadcast on Game
CN111586282B (en) Shooting method, shooting device, terminal and readable storage medium
CN113489894B (en) Shooting method and terminal in long-focus scene
CN107426502B (en) Shooting method and device, electronic equipment and storage medium
US20170311004A1 (en) Video processing method and device
KR20170037868A (en) Method and device for shooting control
RU2664674C2 (en) Method and apparatus for creating a panorama
CN109922252B (en) Short video generation method and device and electronic equipment
US11310443B2 (en) Video processing method, apparatus and storage medium
CN111966314A (en) Image projection method, image projection device, mobile terminal and projection equipment
CN114185503B (en) Multi-screen interaction system, method, device and medium
CN112261453A (en) Method, device and storage medium for transmitting subtitle splicing map
CN108986803B (en) Scene control method and device, electronic equipment and readable storage medium
CN110995993A (en) Star track video shooting method, star track video shooting device and storage medium
CN111614910B (en) File generation method and device, electronic equipment and storage medium
CN111586280A (en) Shooting method, shooting device, terminal and readable storage medium
CN111586296B (en) Image capturing method, image capturing apparatus, and storage medium
CN114449211A (en) Shooting method and device, electronic equipment and storage medium
CN113315903A (en) Image acquisition method and device, electronic equipment and storage medium
CN114339357A (en) Image acquisition method, image acquisition device and storage medium
CN114071004A (en) Moon image acquisition method and device, electronic equipment and storage medium
CA2804594A1 (en) Methods and devices for capturing images
CN113364966B (en) Shooting method, shooting device and storage medium for team shooting

Legal Events

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