Search

CN-122002124-A - Online shooting method and device, electronic equipment and storage medium

CN122002124ACN 122002124 ACN122002124 ACN 122002124ACN-122002124-A

Abstract

The disclosure provides an online shooting method, an online shooting device, electronic equipment and a storage medium, relates to the field of cloud storage, and can be applied to a cloud platform. The method comprises the steps of responding to a connection request of the shooting equipment and the terminal equipment, obtaining equipment description information of the shooting equipment, determining a target connection mode of the shooting equipment and the terminal equipment according to the equipment description information, connecting the shooting equipment and the terminal equipment according to the target connection mode, and controlling the shooting equipment to shoot through the terminal equipment in response to the fact that the shooting equipment and the terminal equipment are successfully connected. The method and the device have the advantages that the online compatibility and the adaption accuracy of the shooting equipment and the terminal equipment are improved, and the online shooting reliability is also improved.

Inventors

  • TIAN LEI

Assignees

  • 北京百度网讯科技有限公司

Dates

Publication Date
20260508
Application Date
20260205

Claims (17)

  1. 1. An online photographing method, comprising: Acquiring equipment description information of shooting equipment in response to receiving a connection request of the shooting equipment and terminal equipment; Determining a target connection mode of the shooting equipment and the terminal equipment according to the equipment description information, and connecting the shooting equipment and the terminal equipment according to the target connection mode; And in response to determining that the shooting equipment is successfully connected with the terminal equipment, controlling the shooting equipment to shoot through the terminal equipment.
  2. 2. The method of claim 1, further comprising: determining system platform information corresponding to the terminal equipment and The determining, according to the device description information, a target connection mode between the photographing device and the terminal device includes: And determining the target connection mode according to the system platform information and the equipment description information.
  3. 3. The method of claim 2, wherein the determining the target connection mode according to the system platform information and the device description information comprises: Responding to the fact that the system platform information is determined to be a first platform, and determining a driving mode of the shooting equipment in the terminal equipment; and determining the target connection mode according to the driving mode and the equipment description information.
  4. 4. A method according to claim 3, wherein said determining the target connection mode from the driving mode and the device description information comprises: determining model information of the shooting equipment according to the equipment description information in response to determining that the driving mode is a preset driving mode; judging whether the model information is a target model or not, and determining the target connection mode according to the obtained first judging result.
  5. 5. The method of claim 4, wherein the determining the target connection mode according to the obtained first determination result includes: Responding to the fact that the model information is characterized as the target model according to the first judging result, and determining that the target connection mode is based on a connection mode of a software development kit corresponding to the target model; and responding to the fact that the first judging result represents the model information as not the target model, and determining that the target connection mode is a connection mode based on a preset picture transmission protocol instruction set.
  6. 6. A method according to claim 3, wherein said determining the target connection mode from the driving mode and the device description information comprises: and in response to determining that the driving mode is not the preset driving mode, determining that the target connection mode is a connection mode based on a universal camera control library.
  7. 7. The method of claim 2, wherein the determining the target connection mode according to the system platform information and the device description information comprises: Determining model information of the shooting equipment according to the equipment description information in response to determining that the system platform information is a second platform; And judging whether the model information is a target model or not, and determining the target connection mode according to the obtained second judging result.
  8. 8. The method of claim 7, wherein the determining the target connection mode according to the obtained second determination result includes: And responding to the fact that the model information is characterized as the target model according to the second judging result, and determining that the target connection mode is based on the connection mode of the software development kit corresponding to the target model.
  9. 9. The method of claim 7, wherein the determining the target connection mode according to the obtained second determination result includes: Responding to the fact that the second judging result represents the model information as not being the target model, judging whether the model information belongs to compatible picture transmission protocol control equipment or not, and obtaining a third judging result; And determining the target connection mode according to the third judging result.
  10. 10. The method of claim 9, wherein the determining the target connection mode according to the third determination result includes: Responding to the fact that the third judging result represents that the model information belongs to the compatible picture transmission protocol control equipment, and determining that the target connection mode is a connection mode based on a preset picture transmission protocol instruction set; And responding to the fact that the third judging result represents that the model information does not belong to the compatible picture transmission protocol control equipment, and determining that the target connection mode is a connection mode based on a universal camera control library.
  11. 11. The method of claim 1, further comprising: Acquiring an object handle of a target image shot by the shooting equipment; Downloading the target image to a buffer area of the terminal equipment according to the object handle, and processing the target image; and storing the processed target image into an item gallery of the terminal equipment, and synchronously displaying the target image on a front page of the terminal equipment.
  12. 12. The method of claim 11, further comprising: for the currently processed target image, acquiring the repair parameters of the latest stored image in the project gallery, and The processing the target image includes: and processing the currently processed target image by using the map trimming parameters.
  13. 13. The method of any one of claims 1-12, further comprising: detecting the connection state of the shooting equipment and the terminal equipment in real time; And generating prompt information and reconnecting the shooting equipment and the terminal equipment in response to the fact that the connection state is the disconnection state or the abnormal state.
  14. 14. An online photographing apparatus, comprising: An information acquisition module configured to acquire device description information of a photographing device in response to receiving a connection request of the photographing device and a terminal device; The equipment connection module is configured to determine a target connection mode of the shooting equipment and the terminal equipment according to the equipment description information and connect the shooting equipment and the terminal equipment according to the target connection mode; And the shooting module is configured to control the shooting device to shoot through the terminal device in response to determining that the shooting device is successfully connected with the terminal device.
  15. 15. An electronic device, comprising: At least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-13.
  16. 16. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-13.
  17. 17. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any of claims 1-13.

Description

Online shooting method and device, electronic equipment and storage medium Technical Field The disclosure relates to the field of cloud storage, and in particular relates to an online shooting method, an online shooting device, electronic equipment and a storage medium. Background In the scenes of business photography, portrait photography, professional content creation and the like, online collaborative demands of photographers on cameras and computers are increasingly urgent, and core appeal is focused on real-time preview, instant screening, pre-set effect application and client site display of photographed images so as to improve photographing efficiency and collaborative experience. Disclosure of Invention The disclosure provides an online shooting method, an online shooting device, electronic equipment and a storage medium. According to a first aspect of the present disclosure, there is provided an online photographing method, including acquiring device description information of a photographing device in response to receiving a connection request of the photographing device and a terminal device, determining a target connection mode of the photographing device and the terminal device according to the device description information, connecting the photographing device and the terminal device according to the target connection mode, and controlling the photographing device to perform photographing through the terminal device in response to determining that the photographing device and the terminal device have been successfully connected. According to a second aspect of the present disclosure, there is provided an online photographing apparatus, including an information acquisition module configured to acquire device description information of a photographing device in response to receiving a connection request of the photographing device and a terminal device, a device connection module configured to determine a target connection manner of the photographing device and the terminal device according to the device description information and connect the photographing device and the terminal device according to the target connection manner, and a photographing module configured to control the photographing device to perform photographing through the terminal device in response to determining that the photographing device and the terminal device have been successfully connected. According to a third aspect of the present disclosure there is provided an electronic device comprising at least one processor and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method as described in any one of the implementations of the first aspect. According to a fourth aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform a method as described in any one of the implementations of the first aspect. According to a fifth aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements a method as described in any of the implementations of the first aspect. It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification. Drawings The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein: FIG. 1 is an exemplary system architecture diagram to which the present disclosure may be applied; FIG. 2 is a flowchart of a first embodiment of an online photographing method according to the present disclosure; FIG. 3 is a flow chart of a second embodiment of an online shooting method according to the present disclosure; FIG. 4 is a flow chart of a third embodiment of an online shooting method according to the present disclosure; FIG. 5 is a flow chart of an embodiment of step 404 of FIG. 4; FIG. 6 is a flowchart of a fourth embodiment of an online photographing method according to the present disclosure; FIG. 7 is a flow chart of an embodiment of step 604 of FIG. 6; FIG. 8 is a flowchart of a fifth embodiment of an online photographing method according to the present disclosure; FIG. 9 is a flowchart of a sixth embodiment of an online photographing method according to the present disclosure; FIG. 10 is a schematic diagram of an embodiment of an online camera according to the present disclosure; fig. 11 is a block diagram of an electronic device for implementing an online photographing method according to an embodiment of the present disclosure. Detailed Description Exemplar