Online shooting method and device, electronic equipment and storage medium

By acquiring device description information and system platform information, the target connection method is determined, enabling cross-device and cross-system camera-terminal device connection. This solves the problem of difficult connection adaptation in existing technologies, improves the compatibility and control stability of shooting equipment and terminal devices, and enhances shooting efficiency and collaborative experience.

CN122002124APending Publication Date: 2026-05-08BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING BAIDU NETCOM SCI & TECH CO LTD
Filing Date
2026-02-05
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

In commercial photography, portrait photography, and professional content creation scenarios, existing technologies struggle to achieve efficient connectivity between cameras and terminal devices from different brands and systems. This results in difficulties in compatibility between shooting equipment and terminal devices, inaccurate control, poor stability, and impacts shooting efficiency and collaborative experience.

Method used

By obtaining the device description information of the shooting equipment, combined with the system platform information and driving method, the target connection method is determined, and the corresponding SDK, PTP instruction set or general camera control library is used to achieve precise cross-device and cross-system connection, ensuring stable communication and control between the terminal equipment and the shooting equipment.

Benefits of technology

It improves the compatibility and accuracy of shooting equipment and terminal devices, ensures the real-time performance and stability of control, enhances shooting efficiency and collaborative experience, and solves the problem of online adaptation under different brands and systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122002124A_ABST
    Figure CN122002124A_ABST
Patent Text Reader

Abstract

The invention provides an online shooting method and 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 following steps: in response to a received connection request of shooting equipment and 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, 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. According to the method and the device, the online compatibility and adaptation precision of the shooting equipment and the terminal equipment are improved, and the reliability of online shooting is also improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of cloud storage, and more particularly to an online shooting method, apparatus, electronic device, and storage medium. Background Technology

[0002] In commercial photography, portrait photography, and professional content creation, photographers have an increasingly urgent need for online collaboration between cameras and computers. Their core demands are focused on real-time previewing of captured images, instant filtering, application of preset effects, and on-site presentations to clients, in order to improve shooting efficiency and collaborative experience. Summary of the Invention

[0003] This disclosure presents an online shooting method, apparatus, electronic device, and storage medium.

[0004] According to a first aspect of this disclosure, an online shooting method is provided, comprising: in response to receiving a connection request between a shooting device and a terminal device, obtaining device description information of the shooting device; determining a target connection method between the shooting device and the terminal device based on the device description information, and connecting the shooting device and the terminal device according to the target connection method; and in response to determining that the shooting device and the terminal device have been successfully connected, controlling the shooting device to shoot through the terminal device.

[0005] According to a second aspect of this disclosure, an online shooting device is provided, comprising: an information acquisition module configured to acquire device description information of the shooting device in response to receiving a connection request between the shooting device and a terminal device; a device connection module configured to determine a target connection method between the shooting device and the terminal device based on the device description information, and connect the shooting device and the terminal device according to the target connection method; and a shooting module configured to control the shooting device to shoot via the terminal device in response to determining that the shooting device and the terminal device have been successfully connected.

[0006] According to a third aspect of this disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform a method as described in any implementation of the first aspect.

[0007] According to a fourth aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions for causing a computer to perform a method as described in any implementation of the first aspect.

[0008] According to a fifth aspect of this disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the method as described in any implementation of the first aspect.

[0009] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0010] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein: Figure 1 This is an exemplary system architecture diagram to which this disclosure can be applied; Figure 2 This is a flowchart of the first embodiment of the online shooting method according to the present disclosure; Figure 3 This is a flowchart of a second embodiment of the online shooting method according to the present disclosure; Figure 4 This is a flowchart of a third embodiment of the online shooting method according to the present disclosure; Figure 5 yes Figure 4 A flowchart of an embodiment of step 404; Figure 6 This is a flowchart of the fourth embodiment of the online shooting method according to the present disclosure; Figure 7 yes Figure 6 A flowchart of an embodiment of step 604; Figure 8 This is a flowchart of the fifth embodiment of the online shooting method according to the present disclosure; Figure 9 This is a flowchart of the sixth embodiment of the online shooting method according to the present disclosure; Figure 10 This is a schematic diagram of a structure of an embodiment of the online shooting device according to the present disclosure; Figure 11 This is a block diagram of an electronic device used to implement the online shooting method of the embodiments of this disclosure. Detailed Implementation

[0011] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0012] It should be noted that, unless otherwise specified, the embodiments and features described in this disclosure can be combined with each other. This disclosure will now be described in detail with reference to the accompanying drawings and embodiments.

[0013] Figure 1 An exemplary system frame 100 is shown, to which embodiments of the online shooting method or online shooting device of this disclosure can be applied.

[0014] like Figure 1 As shown, the system architecture 100 may include a shooting device 101, terminal devices 102 and 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the shooting device 101, terminal devices 102 and 103, and the server 105. The network 104 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.

[0015] Users can use the camera device 101, terminal devices 102 and 103 to interact with the server 105 via the network 104 to receive or send messages, etc. Various applications for enabling information communication between the camera device 101, terminal devices 102 and 103, and server 105 can be installed. These applications include cloud storage applications and instant messaging applications.

[0016] Server 105 can be either hardware or software. When server 105 is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. When server 105 is software, it can be implemented as multiple software programs or software modules, or as a single software program or software module; no specific limitation is made here. Server 105 can provide various services through various built-in applications, taking cloud storage applications that can provide cloud storage services as an example.

[0017] It should be noted that the online shooting method provided in this embodiment is generally executed by server 105, and correspondingly, the online shooting device is generally set in server 105.

[0018] It should be understood that Figure 1 The number of shooting devices, terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0019] Continue to refer to Figure 2 The diagram illustrates a flow 200 of a first embodiment of the online shooting method according to the present disclosure. This online shooting method includes the following steps: Step 201: In response to receiving a connection request between the shooting device and the terminal device, obtain the device description information of the shooting device.

[0020] In this embodiment, when the shooting device connects to the terminal device, it generates a connection request between the shooting device and the terminal device. If the execution entity of the online shooting method (e.g., Figure 1When the server 105 shown receives the connection request, it will obtain the device description information of the shooting device.

[0021] Here, "shooting equipment" generally refers to image acquisition devices that support online control (including shutter triggering, parameter adjustment, and real-time image transmission), such as cameras. "Terminal equipment" refers to core control devices with data processing capabilities that can establish an online connection with the shooting equipment to receive shooting commands, acquire captured images in real time, and perform preprocessing / editing / display functions, such as computers. Establishing a connection between the shooting equipment and the terminal equipment means that the shooting equipment and the terminal equipment are online. Specifically, the terminal equipment (such as a computer) continuously listens for device access events on the USB (Universal Serial Bus) bus through the system's underlying hardware management interface. When the shooting equipment establishes a physical connection with the terminal equipment via a USB data cable, the system triggers a device connection request event. Upon receiving this connection request, the aforementioned execution entity obtains the device description information of the shooting equipment.

[0022] Device description information may include, but is not limited to: the device's VID (Vendor ID), PID (Product ID), and other descriptive information. Other descriptive information refers to a set of standardized hardware information that a USB device such as a camera actively reports to the system when it is connected to a computer, including key attributes such as the device's brand, model, interface type, and communication protocol support.

[0023] Step 202: Determine the target connection method between the shooting device and the terminal device based on the device description information, and connect the shooting device and the terminal device according to the target connection method.

[0024] In this embodiment, the aforementioned execution entity determines the target connection method between the shooting device and the terminal device based on the device description information, and connects the shooting device and the terminal device according to the target connection method.

[0025] Specifically, the aforementioned executing entity first determines the device model based on the device description information, and then determines the connection method between the shooting device and the terminal device, i.e., the target connection method, based on the device model. For example, if the shooting device model is determined to be a preset model (e.g., a Canon camera), the Canon official SDK (Software Development Kit) will be used to connect the shooting device and the terminal device; that is, the target connection method in this case is the connection method based on the SDK corresponding to the device model. As another example, if the shooting device model is determined to be a different model (e.g., a non-Canon camera), a method based on the PTP (Picture Transfer Protocol) instruction set will be used to connect the shooting device and the terminal device; that is, the target connection method in this case is the connection method based on the PTP instruction set.

[0026] In some embodiments, the aforementioned executing entity may further determine the system platform information corresponding to the terminal device, such as determining whether the terminal device is a Windows (graphical operating system developed by Microsoft) platform or a macOS (graphical operating system developed by Apple) platform, and further combine the system platform information and the model information of the shooting device to comprehensively determine the target connection method for connecting the shooting device and the terminal device.

[0027] After determining the target connection method between the shooting device and the terminal device, the aforementioned executing entity will connect the shooting device and the terminal device according to the target connection method to realize the online operation of the shooting device and the terminal device.

[0028] Step 203: In response to determining that the shooting device and the terminal device have been successfully connected, the shooting device is controlled by the terminal device to shoot.

[0029] In this embodiment, if the executing entity determines that the shooting device and the terminal device have been successfully connected, it will control the shooting device to capture images through the terminal device. For example, it can control the shooting device to capture images through a button on the terminal device. Furthermore, since the shooting device and the terminal device have been successfully connected, i.e., the shooting device is successfully online, the terminal device can also be used to control the adjustment of shooting device parameters, etc.

[0030] The online shooting method provided by the embodiments of this disclosure firstly obtains device description information of the shooting device in response to receiving a connection request between the shooting device and the terminal device; then, determines the target connection method between the shooting device and the terminal device based on the device description information, and connects the shooting device and the terminal device according to the target connection method; finally, in response to determining that the shooting device and the terminal device have been successfully connected, the shooting device is controlled by the terminal device to shoot. This method actively acquires device description information by triggering a connection request, using core information such as device brand and model as the basis for determining the target connection method. This ensures a high degree of match between the connection method and the hardware attributes and functional support of the shooting device, effectively solving the problem of online compatibility between shooting devices of different brands / models and terminal devices. It achieves accurate cross-device and cross-protocol online connections, improving the compatibility and accuracy of online connections between shooting devices and terminal devices. In addition, by making device information acquisition and adaptive connection establishment necessary prerequisites for shooting control, this method ensures that the terminal device and the shooting device establish a stable and compatible communication link before executing shooting control commands. This avoids problems such as command failure and invalid shooting control caused by incompatible connection methods, improving the accuracy, real-time performance, and stability of the terminal device's control over the shooting device, and also enhancing the overall reliability of online shooting.

[0031] Furthermore, the collection, storage, use, processing, transmission, provision, and disclosure of any type of information, such as user personal information, involved in the technical solutions disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0032] Continue to refer to Figure 3 , Figure 3 A flow 300 of a second embodiment of the online shooting method according to this disclosure is shown. The online shooting method includes the following steps: Step 301: In response to receiving a connection request between the shooting device and the terminal device, obtain the device description information of the shooting device.

[0033] Step 301 is basically the same as step 201 in the aforementioned embodiment. For the specific implementation method, please refer to the aforementioned description of step 201, which will not be repeated here.

[0034] Step 302: Determine the system platform information corresponding to the terminal device.

[0035] In this embodiment, the entity executing the online shooting method (e.g.) Figure 1 The server 105 shown will determine the system platform information corresponding to the terminal device. The system platform information here may include Windows platform and macOS platform. That is, the above-mentioned execution entity will determine whether the terminal device is a Windows platform or a macOS platform.

[0036] Step 303: Determine the target connection method based on the system platform information and device description information, and connect the shooting device and the terminal device according to the target connection method.

[0037] In this embodiment, the aforementioned execution entity combines system platform information and device description information to comprehensively determine the target connection method for connecting the shooting device and the terminal device, and connects the shooting device and the terminal device according to the target connection method. For example, on Windows and macOS platforms, the connection methods corresponding to the same model of shooting device may be different; as another example, on the same platform (Windows or macOS), the connection methods corresponding to different models of shooting devices may be different.

[0038] Step 304: In response to determining that the shooting device and the terminal device have been successfully connected, the shooting device is controlled by the terminal device to shoot.

[0039] Step 304 is basically the same as step 203 in the aforementioned embodiment. For the specific implementation method, please refer to the aforementioned description of step 203, which will not be repeated here.

[0040] from Figure 3 It can be seen from this that, with Figure 2 Compared to the corresponding embodiments, the online shooting method in this embodiment emphasizes the steps of determining the system platform information of the terminal device and determining the target connection method based on the system platform information. By combining the system platform information of the terminal device to determine the connection method, the method solves the problem of the same shooting device failing to connect or malfunctioning in different systems under the condition of single device information determination. This achieves a seamless online experience across system platforms, thereby improving the universal adaptability and post-production expansion capabilities of online shooting.

[0041] Continue to refer to Figure 4 , Figure 4 A flow 400 of a third embodiment of the online shooting method according to this disclosure is shown. The online shooting method includes the following steps: Step 401: In response to receiving a connection request between the shooting device and the terminal device, obtain the device description information of the shooting device.

[0042] Step 402: Determine the system platform information corresponding to the terminal device.

[0043] Steps 401-402 are basically the same as steps 301-302 in the aforementioned embodiments. For specific implementation methods, please refer to the aforementioned description of steps 301-302, which will not be repeated here.

[0044] Step 403: In response to determining that the system platform information is the first platform, determine the driving mode of the shooting device in the terminal device.

[0045] In this embodiment, the entity executing the online shooting method (e.g.) Figure 1 If the server 105 shown determines that the system platform information of the terminal device is the first platform, the above-mentioned execution entity will further determine the driving method of the shooting device in the terminal device. Here, the first platform is the Windows platform. That is, if the above-mentioned execution entity determines that the terminal device is the Windows platform, the above-mentioned execution entity will read the driver binding status of the shooting device in the terminal device system and determine whether it is occupied by the operating system in the WPD (Windows Portable Devices) driving mode, that is, determine whether the driving mode of the shooting device in the terminal device is the WPD driving mode.

[0046] It should be noted that the WPD driver is a universal driver solution pre-set by the Windows operating system for portable devices such as cameras and mobile phones. It follows the WPD protocol and its core function is to enable the Windows system to uniformly identify and access the storage resources and basic functions of portable devices.

[0047] Step 404: Determine the target connection method based on the driving method and device description information, and connect the shooting device and the terminal device according to the target connection method.

[0048] In this embodiment, the aforementioned execution entity will further determine the target connection method based on the driving method and device description information, that is, to comprehensively determine the target connection method by combining the driving method of the terminal device and the model information of the shooting device.

[0049] Step 405: In response to determining that the shooting device and the terminal device have been successfully connected, the shooting device is controlled by the terminal device to shoot.

[0050] Step 405 is basically the same as step 203 in the aforementioned embodiment. For the specific implementation method, please refer to the aforementioned description of step 203, which will not be repeated here.

[0051] from Figure 4 It can be seen from this that, with Figure 3 Compared to the corresponding embodiments, the online shooting method in this embodiment emphasizes the step of determining the target connection method based on system platform information. Addressing the issue of WPD drivers occupying camera communication interfaces, which is unique to the first platform (Windows platform), this method incorporates the driver method into the determination of the target connection method. Based on the actual driver binding status of the shooting device (such as whether it is occupied by the WPD driver), a control method that can bypass / be compatible with the driver can be specifically selected. This solves the problem of connection failure and control function failure caused by driver occupation under the Windows platform, thereby improving connection feasibility and stability.

[0052] Continue to refer to Figure 5 , Figure 5 It shows Figure 4 The process 500 of the embodiment of step 404 includes: Step 501: In response to determining that the driving mode is the preset driving mode, determine the model information of the shooting device based on the device description information.

[0053] If the aforementioned execution entity determines that the driving mode is the preset driving mode, which is the WPD driving mode, then if the aforementioned execution entity determines that the shooting device is occupied by the WPD driving mode, the aforementioned execution entity will further determine the model of the shooting device based on the device description information.

[0054] Step 502: Determine whether the model information is the target model, determine the target connection method based on the first determination result, and connect the shooting device and the terminal device according to the target connection method.

[0055] The aforementioned execution entity will determine whether the model of the shooting device is the target model. Here, the target model is the brand model most commonly used by the user. For example, the target model could be a Canon brand camera. In other words, the execution entity will determine whether the model information of the shooting device is the preset target model (e.g., a Canon brand camera). Then, based on the determination result, the target connection method is determined, and the shooting device and the terminal device are connected according to the target connection method.

[0056] With the driving mode of the shooting device set to the preset driving mode, the corresponding connection method is determined according to the model of the shooting device, thereby improving the compatibility between the connection method and the combination of the terminal system and the shooting device.

[0057] In some optional implementations of this embodiment, step 502 further includes: Step 5021: In response to determining that the first judgment result represents the model information as the target model, the target connection method is determined to be the connection method based on the software development kit corresponding to the target model.

[0058] If the aforementioned executing entity determines that the model information of the shooting device is a preset target model (e.g., a Canon brand camera), it will determine the target connection method as a connection method based on the software development kit corresponding to the target model. That is, when the aforementioned executing entity determines that the shooting device is occupied by the WPD driver and the model of the shooting device is a Canon brand camera, it will use the official Canon SDK to control the shooting device.

[0059] Step 5022: In response to determining that the first judgment result characterizes the model information as not the target model, the target connection method is determined to be a connection method based on a preset image transmission protocol instruction set.

[0060] If the aforementioned execution entity determines that the model information of the shooting device is not the preset target model (e.g., a non-Canon brand camera), it will determine the target connection method as a connection method based on a preset image transmission protocol command set. That is, when the aforementioned execution entity determines that the shooting device is occupied by the WPD driver and the model of the shooting device is not a Canon brand camera, it will adopt a connection control method based on the PTP command set.

[0061] With the driving mode of the shooting device set to the preset driving mode, the corresponding connection method is determined according to the model of the shooting device, thereby improving the compatibility between the connection method and the combination of the terminal system and the shooting device.

[0062] Step 503: In response to determining that the driving mode is not the preset driving mode, the target connection mode is determined to be the connection mode based on the general camera control library.

[0063] If the aforementioned execution entity determines that the driving method is not the preset driving method, that is, if it determines that the shooting device is not occupied by the WPD driver, then the aforementioned execution entity will determine that the target connection method is a connection method based on a general camera control library. That is, if the aforementioned execution entity determines that the shooting device is not occupied by the WPD driver, it will use a general camera control library (such as libgphoto2) to realize camera control and data interaction.

[0064] When the driving mode of the shooting device is determined to be different from the preset driving mode, the connection mode based on the general camera control library is used as the target connection mode, thereby improving the matching degree between the connection mode and the terminal system and shooting device combination.

[0065] It should be noted that during camera control, if the current strategy fails to execute or a connection error occurs, the strategy chain will be automatically recalculated and switched to another available control scheme.

[0066] By using the threshold of "whether the driver method is preset", the connection method of the Windows platform is selected in layers. This avoids the adaptation deviation of a single adaptation logic for different driver environments. The target connection method matches the hardware attributes (device description information) of the shooting device and fits its actual driver running environment in the Windows system. This improves the matching degree between the connection method and the combination of terminal system and shooting device, and ensures the stability of the communication link.

[0067] Continue to refer to Figure 6 , Figure 6 A flowchart 600 is shown according to a fourth embodiment of the online shooting method according to the present disclosure. The online shooting method includes the following steps: Step 601: In response to receiving a connection request between the shooting device and the terminal device, obtain the device description information of the shooting device.

[0068] Step 602: Determine the system platform information corresponding to the terminal device.

[0069] Steps 601-602 are basically the same as steps 301-302 in the aforementioned embodiments. For specific implementation methods, please refer to the aforementioned description of steps 301-302, which will not be repeated here.

[0070] Step 603: In response to determining that the system platform information is the second platform, the model information of the shooting device is determined according to the device description information.

[0071] In this embodiment, the entity executing the online shooting method (e.g.) Figure 1 If the server 105 shown determines that the system platform information of the terminal device is the second platform, the above-mentioned execution entity will further determine the model information of the shooting device according to the device description information. Here, the second platform is the macOS platform. That is, if the above-mentioned execution entity determines that the terminal device is the macOS platform, the above-mentioned execution entity will determine the model information of the shooting device according to the device description information.

[0072] Step 604: Determine whether the model information is the target model, determine the target connection method based on the obtained second determination result, and connect the shooting device and the terminal device according to the target connection method.

[0073] The aforementioned execution entity will determine whether the model of the shooting device is the target model. Here, the target model is the brand model most commonly used by the user. For example, the target model could be a Canon brand camera. In other words, the execution entity will determine whether the model information of the shooting device is the preset target model (e.g., a Canon brand camera). Then, based on the determination result, the target connection method is determined, and the shooting device and the terminal device are connected according to the target connection method.

[0074] Step 605: In response to determining that the shooting device and the terminal device have been successfully connected, the shooting device is controlled by the terminal device to shoot.

[0075] Step 605 is basically the same as step 203 in the aforementioned embodiment. For the specific implementation method, please refer to the aforementioned description of step 203, which will not be repeated here.

[0076] from Figure 6 It can be seen from this that, with Figure 3Compared to the corresponding embodiments, the online shooting method in this embodiment emphasizes the step of determining the target connection method based on system platform information. It addresses the issue of driver conflicts on the second platform (macOS platform) without the Windows platform style, eliminating redundant driver method determination steps. It directly extracts model information based on device description information and uses it as the core basis for connection method determination. This aligns with the hardware communication logic of the macOS platform, simplifies the connection determination process on this platform, improves the efficiency of device identification and connection establishment, and achieves lightweight adaptation and rapid connection establishment of the online link.

[0077] Continue to refer to Figure 7 , Figure 7 It shows Figure 6 The process 700 of the embodiment of step 604 includes: Step 701: In response to determining that the second judgment result characterizes the model information as the target model, the target connection method is determined to be the connection method based on the software development kit corresponding to the target model.

[0078] If the aforementioned executing entity determines that the model information of the shooting device is a preset target model (e.g., a Canon brand camera), it will determine the target connection method to be a connection method based on the software development kit corresponding to the target model. That is, when the aforementioned executing entity determines that the shooting device model is a Canon brand camera, it will use the official Canon SDK to control the shooting device.

[0079] When the model information is determined to be the target model, the connection method based on the software development kit corresponding to the target model is taken as the target connection method, thereby improving the compatibility between the connection method and the combination of terminal system and shooting equipment.

[0080] Step 702: In response to determining that the second judgment result characterizes the model information as not being the target model, determine whether the model information belongs to a compatible image transmission protocol control device, and obtain the third judgment result.

[0081] If the aforementioned executing entity determines that the model information of the shooting device is not the preset target model (e.g., a non-Canon brand camera), it will further determine whether the model information of the shooting device belongs to a compatible image transmission protocol control device, thereby obtaining the judgment result.

[0082] Step 703: Determine the target connection method based on the third judgment result, and connect the shooting device and the terminal device according to the target connection method.

[0083] The aforementioned executing entity will determine the target connection method based on the judgment results obtained from the preceding steps, and then connect the shooting equipment and the terminal equipment according to the target connection method.

[0084] If the model information is determined to be a non-target model, it is further determined whether the model information belongs to a compatible image transmission protocol control device, and the target connection method is determined based on the judgment result, thereby improving the matching degree between the connection method and the terminal system and shooting equipment combination.

[0085] In some optional implementations of this embodiment, step 703 further includes: Step 7031: In response to determining that the third judgment result indicates that the model information belongs to a compatible image transmission protocol control device, the target connection method is determined to be a connection method based on a preset image transmission protocol instruction set.

[0086] If the aforementioned execution entity identifies the shooting device as a non-Canon brand camera and the model of the shooting device belongs to a compatible PTP control device, it will determine the target connection method as a connection method based on a preset image transmission protocol instruction set, that is, adopt a connection control method based on the PTP instruction set.

[0087] Step 7032: In response to determining that the third judgment result indicates that the model information does not belong to a compatible image transmission protocol control device, the target connection method is determined to be a connection method based on a general camera control library.

[0088] If the aforementioned execution entity identifies the shooting device as a non-Canon brand camera and the model of the shooting device is not a compatible PTP control device, it will determine that the target connection method is a connection method based on a general camera control library, that is, to adopt a general camera control scheme (such as libgphoto2).

[0089] It should be noted that during camera control, if the current strategy fails to execute or a connection error occurs, the strategy chain will be automatically recalculated and switched to another available control scheme.

[0090] Therefore, a three-level progressive connection method precision determination logic was created for macOS (second platform). Based on the target model / non-target model layer, a second determination of PTP protocol compatibility is added for non-target models to achieve deep matching between connection method and device capabilities. This not only ensures the depth of professional control, but also achieves the accuracy and fallback of compatibility adaptation.

[0091] In some optional implementations of this embodiment, the aforementioned execution entity constructs a cross-brand unified PTP instruction encapsulation mechanism. By introducing a PTP instruction abstraction layer, the instruction differences of different brand cameras are uniformly encapsulated and adapted, thereby realizing unified control and data interaction of cross-brand cameras.

[0092] The PTP command abstraction layer provides a unified description of the core operations involved in camera control and data acquisition. It includes at least the following abstract command types: `InitiateCapture`: triggers the camera to capture images; `GetObjectHandles`: retrieves handles to the image objects generated during capture; `GetObject`: retrieves image data based on the object handle; and `Event Polling`: monitors camera event notifications in real time, including events such as capture completion and object addition. Through these abstract command definitions, the upper-layer business logic is no longer dependent on specific brand-specific command implementations.

[0093] Below the PTP command abstraction layer, a brand adaptation layer is set up to map the unified abstract commands to the actual command formats supported by each camera brand, including but not limited to: Canon brand cameras: converting SDK calls into corresponding PTP command behaviors through the official Canon EDSDK interface; Nikon brand cameras: achieving control and data acquisition through the MTPPVendor Extension commands provided by Nikon; and Sony brand cameras: achieving shooting and notification through MTP extended commands combined with event mechanisms. The brand adaptation layer can be expanded to include new brand or model adaptation modules as needed without modifying the upper-level command abstraction logic.

[0094] In the instruction execution and data acquisition phase, an object transfer layer is further set up to uniformly manage the image data transmission process. This includes: supporting the segmented transmission of RAW and JPEG image data; supporting breakpoint resumption in the event of interruption or communication abnormality; and enabling direct streaming transmission of image data for some cameras that support Direct Transfer.

[0095] The aforementioned cross-brand unified PTP instruction encapsulation mechanism reduces the cost of synchronous maintenance of cameras from multiple brands, enabling the system to quickly adapt to newly released camera models without refactoring the architecture, thereby improving the product's scalability and long-term maintainability.

[0096] Continue to refer to Figure 8 , Figure 8 A flowchart 800 of a fifth embodiment of the online shooting method according to the present disclosure is shown. This online shooting method includes the following steps: Step 801: In response to receiving a connection request between the shooting device and the terminal device, obtain the device description information of the shooting device.

[0097] Step 802: Determine the target connection method between the shooting device and the terminal device based on the device description information, and connect the shooting device and the terminal device according to the target connection method.

[0098] Step 803: In response to determining that the shooting device and the terminal device have been successfully connected, the shooting device is controlled by the terminal device to shoot.

[0099] Steps 801-803 are basically the same as steps 201-203 in the aforementioned embodiments. For specific implementation methods, please refer to the aforementioned description of steps 201-203, which will not be repeated here.

[0100] Step 804: Obtain the object handle of the target image captured by the imaging device.

[0101] In this embodiment, the entity executing the online shooting method (e.g.) Figure 1 The server 105 shown obtains the object handle of the target image captured by the imaging device. That is, the camera event thread is used to listen for event notifications from the camera, including events such as CaptureComplete and ObjectAdded, and records the corresponding object handles.

[0102] Step 805: Download the target image to the cache of the terminal device according to the object handle, and process the target image.

[0103] In this embodiment, the aforementioned execution entity downloads the target image to the terminal device's buffer based on the object handle and processes the target image. Specifically, the file download thread downloads RAW and JPEG image data from the shooting device based on the object handle. Multiplexing and parallel downloading are supported, and the execution entity downloads the image data to a temporary buffer. Then, a preprocessing thread preprocesses the downloaded image, including generating thumbnails, parsing EXIF ​​information, and invoking preset processing logic.

[0104] In some optional implementations of this embodiment, the above-described online shooting method further includes: for the target image currently being processed, obtaining the retouching parameters of the latest image stored in the project image library.

[0105] In this implementation, for the currently processed image, the execution entity will search for the most recently generated RAW image in the project library. If no RAW image exists, it will fall back to the most recent JPEG image and extract the retouching operator parameters used in the corresponding image. These retouching operator parameters are stored in JSON format.

[0106] Furthermore, step 805 above includes: processing the target image currently being processed using image editing parameters.

[0107] In other words, the aforementioned execution entity will automatically apply the image retouching operator parameters to the currently processed image. The synchronized image retouching operator parameters include, but are not limited to: curves, color temperature, exposure, skin tone enhancement parameters; blemish repair points (random operators can be selectively filtered); color adjustment LUT parameters, etc.

[0108] This ensures that the photos generated during the shooting process maintain a consistent style, thereby improving the efficiency of the client's photo review and the presentation experience on the shooting site.

[0109] Step 806: Store the processed target image in the project gallery of the terminal device and display it synchronously on the front-end page of the terminal device.

[0110] In this embodiment, the aforementioned execution entity stores the processed image in the project gallery of the terminal device and displays it synchronously on the front-end page of the terminal device.

[0111] from Figure 8 It can be seen from this that, with Figure 2 Compared to the corresponding embodiments, the online shooting method in this embodiment emphasizes the step of importing images captured by the shooting device into the terminal device. By using the object handle as the core scheduling identifier, it constructs a fully automated image processing flow that includes handle acquisition, cache download processing, image library storage, and front-end synchronous display, thereby improving image processing efficiency and the real-time performance of image import.

[0112] Continue to refer to Figure 9 , Figure 9 A flow 900 of a sixth embodiment of the online shooting method according to the present disclosure is shown. The online shooting method includes the following steps: Step 901: In response to receiving a connection request between the shooting device and the terminal device, obtain the device description information of the shooting device.

[0113] Step 902: Determine the target connection method between the shooting device and the terminal device based on the device description information, and connect the shooting device and the terminal device according to the target connection method.

[0114] Step 903: In response to determining that the shooting device and the terminal device have been successfully connected, the shooting device is controlled by the terminal device to shoot.

[0115] Steps 901-903 are basically the same as steps 201-203 in the aforementioned embodiments. For specific implementation methods, please refer to the aforementioned description of steps 201-203, which will not be repeated here.

[0116] Step 904: Real-time detection of the connection status between the shooting device and the terminal device.

[0117] In this embodiment, the entity executing the online shooting method (e.g.) Figure 1The server 105 shown will monitor the connection status between the shooting device and the terminal device in real time. Specifically, it can determine the physical connection status by whether the device handle is invalid, and can also determine session abnormalities by statuses such as SessionLost and TransactionError; it can also determine transmission abnormalities by abnormalities such as read / write interruption and verification failure.

[0118] Step 905: In response to determining that the connection status is disconnected or abnormal, generate a prompt message and reconnect the shooting device and the terminal device.

[0119] In this embodiment, if the execution entity determines that the connection status is disconnected or abnormal—that is, if the device handle is invalid, the physical connection status is determined to be disconnected, or a transmission abnormality is determined through read / write interruption, verification failure, etc.—it will generate a prompt message to alert the user. Simultaneously, it will automatically initiate a retry, attempting to reopen the USB interface, attempt to rebuild the PTP session, etc., to reconnect the shooting device and the terminal device.

[0120] from Figure 9 It can be seen from this that, with Figure 2 Compared to the corresponding embodiments, the online shooting method in this embodiment emphasizes the connection status detection step. Through the above-mentioned disconnection detection and processing mechanism, the stability and fault tolerance of the online shooting system in complex environments are enhanced, ensuring the continuity of long-term shooting tasks.

[0121] Furthermore, in one application scenario of the online shooting method disclosed herein, the online shooting method includes the following stages: Phase 1: Multi-strategy chain camera connection, specifically: Upon detecting the insertion of a camera device, the platform device performs a detection system platform. For the Windows platform, driver usage status is detected, and the appropriate Windows platform strategy is selected based on the driver status. Specifically, for Canon cameras + WPD usage, the Canon official SDK connection strategy is selected; for non-Canon cameras + WPD usage, the PTP command control method is selected; and for no WPD usage, the libgphotp2 control method is selected.

[0122] For the macOS platform, brand priority will be determined, and a macOS platform strategy will be selected based on the determination result. Specifically, for the Canon brand, the Canon official SDK connection strategy will be selected; for non-Canon brands + PTP compatibility, the PTP command control strategy will be selected; for non-Canon + incompatible cases, the libgphotp2 control method will be selected.

[0123] Then, an attempt is made to connect. If the connection is successful, the process proceeds to the next stage. If the connection fails, a fallback mechanism is triggered, and an alternative strategy is selected. Here, the suboptimal strategy is chosen, and the connection is retried. If multiple connection attempts fail, it is identified as an error, and the user is notified to check, while the current connection is released.

[0124] The second stage: shooting and image transmission, specifically: The system awaits a shooting command and determines the shooting trigger method. If it's software-triggered, it shoots according to the software command; if it's triggered by a physical camera button, it detects camera button events. Then, it executes the shooting command and determines the shooting mode. If it's a direct save to card mode, it directly saves the image to the camera's memory card and awaits the next command. If it's a tethered shooting mode, it sets the transmission parameters and selects the transmission protocol. If it's a PTP / MTP protocol, it transmits image data through the PTP transmission channel; if it's SDK-specific, it transmits image data through the SDK transmission channel; if it's libgphotp2, it transmits image data through the general transmission channel. Finally, it temporarily stores the transmitted image data in a temporary folder and extracts the image metadata, thus completing the shooting and transmission process.

[0125] The third stage: Image import and processing, specifically: The import decision is determined. If the import decision is automatic import, the automatic import process is triggered; if the import decision is manual selection, the manual selection import process is triggered. Next, the import source is determined, i.e., whether to import from the temporary storage folder or from the memory card. If imported from the temporary storage folder, the temporary images are read; if imported from the memory card, the images are read from the memory card, and the image format is verified.

[0126] If the verification result indicates that the format is supported, then processing will proceed; if the verification result indicates that the format is not supported, then format conversion will be performed first, and then processing will proceed; in addition, if the verification result indicates that the file is corrupted, then the image is confirmed to be corrupted, an error log will be recorded, and the image will be skipped.

[0127] When performing image processing, first determine the image processing requirements, then apply a preset workflow: first select a preset template, then apply preset parameters, verify the application results, and finally generate the processed image. If the processing requirement is direct import, then directly import it into the image library. This completes the image processing process.

[0128] Phase Four: Image Library Management and Synchronization, specifically: When updating the image library database, the operations for the image library include: adding new images to the image library, generating thumbnails, and automatically generating tags; it also updates metadata, image information, and indexes, and then performs automatic categorization.

[0129] Next, determine whether synchronization is needed. If it's cloud synchronization, synchronize to the cloud; if it's local storage, save to the local directory. If synchronization fails, retry. If the retry succeeds, synchronization is complete; if the retry fails, record the synchronization error and perform a local backup. This completes the gallery update and awaits the user's next action before releasing the current connection.

[0130] Further reference Figure 10 As an implementation of the methods shown in the above figures, this disclosure provides an embodiment of an online shooting device, which is similar to... Figure 2 Corresponding to the method embodiments shown, this device can be specifically applied to various electronic devices.

[0131] like Figure 10 As shown, the online shooting device 1000 of this embodiment includes: an information acquisition module 1001, a device connection module 1002, and a shooting module 1003. The information acquisition module 1001 is configured to acquire device description information of the shooting device in response to receiving a connection request between the shooting device and a terminal device; the device connection module 1002 is configured to determine the target connection method between the shooting device and the terminal device based on the device description information, and connect the shooting device and the terminal device according to the target connection method; the shooting module 1003 is configured to control the shooting device to perform shooting through the terminal device in response to determining that the shooting device and the terminal device have been successfully connected.

[0132] In this embodiment, the specific processing of the information acquisition module 1001, the device connection module 1002, and the shooting module 1003 in the online shooting device 1000, and the resulting technical effects, can be found by referring to [reference needed]. Figure 2 The relevant descriptions of steps 201-203 in the corresponding embodiments will not be repeated here.

[0133] In some optional implementations of this embodiment, the online shooting device 1000 further includes: a platform determination module configured to determine the system platform information corresponding to the terminal device; and a device connection module including: a connection method determination submodule configured to determine the target connection method based on the system platform information and the device description information.

[0134] In some optional implementations of this embodiment, the connection method determination submodule includes: a driving method determination unit, configured to determine the driving method of the shooting device in the terminal device in response to determining that the system platform information is a first platform; and a connection method determination unit, configured to determine the target connection method based on the driving method and device description information.

[0135] In some optional implementations of this embodiment, the connection method determination unit includes: a model determination subunit, configured to determine the model information of the shooting device based on the device description information in response to determining that the driving method is a preset driving method; and a connection method determination subunit, configured to determine whether the model information is a target model and determine the target connection method based on the obtained first determination result.

[0136] In some optional implementations of this embodiment, the connection method determination subunit is further configured to: in response to determining that the model information represented by the first judgment result is the target model, determine that the target connection method is a connection method based on the software development kit corresponding to the target model; in response to determining that the model information represented by the first judgment result is not the target model, determine that the target connection method is a connection method based on a preset image transmission protocol instruction set.

[0137] In some optional implementations of this embodiment, the connection method determination unit is further configured to: in response to determining that the driving method is not a preset driving method, determine that the target connection method is a connection method based on a general camera control library.

[0138] In some optional implementations of this embodiment, the connection method determination submodule includes: a model determination unit, configured to determine the model information of the shooting device based on the device description information in response to determining that the system platform information is a second platform; and a method determination unit, configured to determine whether the model information is a target model and determine the target connection method based on the obtained second determination result.

[0139] In some optional implementations of this embodiment, the method determination unit is further configured to: in response to determining that the second judgment result characterizes the model information as the target model, determine the target connection method as a connection method based on the software development kit corresponding to the target model.

[0140] In some optional implementations of this embodiment, the mode determination unit includes: a result generation subunit, configured to, in response to determining that the second judgment result indicates that the model information is not the target model, determine whether the model information belongs to a compatible image transmission protocol control device, and obtain a third judgment result; and a mode determination subunit, configured to determine the target connection mode based on the third judgment result.

[0141] In some optional implementations of this embodiment, the method determination subunit is further configured to: in response to determining that the third judgment result indicates that the model information belongs to a compatible image transmission protocol control device, determine the target connection method as a connection method based on a preset image transmission protocol instruction set; in response to determining that the third judgment result indicates that the model information does not belong to a compatible image transmission protocol control device, determine the target connection method as a connection method based on a general camera control library.

[0142] In some optional implementations of this embodiment, the online shooting device 1000 further includes: a handle acquisition module configured to acquire an object handle of the target image captured by the shooting device; a download processing module configured to download the target image to the cache of the terminal device according to the object handle and process the target image; and a synchronous display module configured to store the processed target image in the project library of the terminal device and synchronously display it on the front-end page of the terminal device.

[0143] In some optional implementations of this embodiment, the online shooting device 1000 further includes: a parameter acquisition module configured to acquire the retouching parameters of the latest image stored in the project image library for the target image being processed; and a download processing module further configured to process the target image being processed using the retouching parameters.

[0144] In some optional implementations of this embodiment, the online shooting device 1000 further includes: a real-time detection module configured to detect the connection status between the shooting device and the terminal device in real time; and a reconnection module configured to generate a prompt message and reconnect the shooting device and the terminal device in response to determining that the connection status is a disconnection status or an abnormal status.

[0145] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.

[0146] Figure 11 A schematic block diagram of an example electronic device 1100 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0147] Figure 11A schematic block diagram of an example electronic device 1100 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0148] like Figure 11 As shown, device 1100 includes a computing unit 1101, which can perform various appropriate actions and processes according to a computer program stored in read-only memory (ROM) 1102 or a computer program loaded into random access memory (RAM) 1103 from storage unit 1108. The RAM 1103 may also store various programs and data required for the operation of device 1100. The computing unit 1101, ROM 1102, and RAM 1103 are interconnected via bus 1104. Input / output (I / O) interface 1105 is also connected to bus 1104.

[0149] Multiple components in device 1100 are connected to I / O interface 1105, including: input unit 1106, such as keyboard, mouse, etc.; output unit 1107, such as various types of monitors, speakers, etc.; storage unit 1108, such as disk, optical disk, etc.; and communication unit 1109, such as network card, modem, wireless transceiver, etc. Communication unit 1109 allows device 1100 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0150] The computing unit 1101 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 1101 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 1101 performs the various methods and processes described above, such as the online shooting method. For example, in some embodiments, the online shooting method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 1108. In some embodiments, part or all of the computer program may be loaded and / or installed on device 1100 via ROM 1102 and / or communication unit 1109. When the computer program is loaded into RAM 1103 and executed by the computing unit 1101, one or more steps of the online shooting method described above may be performed. Alternatively, in other embodiments, the computing unit 1101 may be configured to perform the online shooting method by any other suitable means (e.g., by means of firmware).

[0151] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0152] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0153] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0154] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0155] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0156] Cloud computing refers to a technological system that enables access to elastic and scalable shared physical or virtual resources via a network. These resources can include servers, operating systems, networks, software, and storage devices, and can be deployed and managed in an on-demand, self-service manner. Cloud computing technology can provide efficient and powerful data processing capabilities for applications such as artificial intelligence and blockchain, as well as for model training.

[0157] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and Virtual Private Server (VPS) services, such as high management difficulty and weak business scalability.

[0158] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.

[0159] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A method for tethered shooting, comprising: In response to receiving a connection request between the shooting device and the terminal device, the device description information of the shooting device is obtained; The target connection method between the shooting device and the terminal device is determined based on the device description information, and the shooting device and the terminal device are connected according to the target connection method. In response to determining that the shooting device and the terminal device have been successfully connected, the shooting device is controlled by the terminal device to shoot.

2. The method according to claim 1, further comprising: Determine the system platform information corresponding to the terminal device; as well as Determining the target connection method between the shooting device and the terminal device based on the device description information includes: The target connection method is determined based on the system platform information and the device description information.

3. The method according to claim 2, wherein, Determining the target connection method based on the system platform information and the device description information includes: In response to determining that the system platform information is a first platform, the driving mode of the shooting device in the terminal device is determined; The target connection method is determined based on the driving method and the device description information.

4. The method according to claim 3, wherein, Determining the target connection method based on the driving method and the device description information includes: In response to determining that the driving mode is a preset driving mode, the model information of the shooting device is determined according to the device description information; Determine whether the model information is the target model, and determine the target connection method based on the first determination result.

5. The method according to claim 4, wherein, Determining the target connection method based on the obtained first judgment result includes: In response to determining that the first judgment result indicates that the model information is the target model, the target connection method is determined to be a connection method based on the software development kit corresponding to the target model; In response to determining that the first judgment result indicates that the model information is not the target model, the target connection method is determined to be a connection method based on a preset image transmission protocol instruction set.

6. The method according to claim 3, wherein, Determining the target connection method based on the driving method and the device description information includes: In response to determining that the driving mode is not a preset driving mode, the target connection mode is determined to be a connection mode based on a general camera control library.

7. The method according to claim 2, wherein, Determining the target connection method based on the system platform information and the device description information includes: In response to determining that the system platform information is a second platform, the model information of the shooting device is determined according to the device description information; Determine whether the model information is the target model, and determine the target connection method based on the obtained second determination result.

8. The method according to claim 7, wherein, Determining the target connection method based on the obtained second judgment result includes: In response to determining that the second judgment result indicates that the model information is the target model, the target connection method is determined to be a connection method based on the software development kit corresponding to the target model.

9. The method according to claim 7, wherein, Determining the target connection method based on the obtained second judgment result includes: In response to determining that the second judgment result indicates that the model information is not the target model, it is determined whether the model information belongs to a compatible image transmission protocol control device, and a third judgment result is obtained; The target connection method is determined based on the third judgment result.

10. The method according to claim 9, wherein, Determining the target connection method based on the third judgment result includes: In response to determining that the third judgment result indicates that the model information belongs to the compatible image transmission protocol control device, the target connection method is determined to be a connection method based on a preset image transmission protocol instruction set; In response to determining that the third judgment result indicates that the model information does not belong to the compatible image transmission protocol control device, the target connection method is determined to be a connection method based on a general camera control library.

11. The method according to claim 1, further comprising: Obtain the object handle of the target image captured by the imaging device; The target image is downloaded to the cache of the terminal device according to the object handle, and the target image is processed. The processed target image is stored in the project gallery of the terminal device and simultaneously displayed on the front-end page of the terminal device.

12. The method of claim 11, further comprising: For the target image being processed, obtain the retouching parameters of the latest image stored in the project image library; as well as The processing of the target image includes: The target image is processed using the image editing parameters.

13. The method according to any one of claims 1-12, further comprising: Real-time detection of the connection status between the shooting device and the terminal device; In response to determining that the connection status is disconnected or abnormal, a prompt message is generated, and the shooting device and the terminal device are reconnected.

14. A tethered shooting device, comprising: The information acquisition module is configured to acquire device description information of the shooting device in response to receiving a connection request between the shooting device and the terminal device; The device connection module is configured to determine the target connection method between the shooting device and the terminal device based on the device description information, and connect the shooting device and the terminal device according to the target connection method; The shooting module is configured to control the shooting device to shoot in response to determining that the shooting device and the terminal device have been successfully connected.

15. An electronic device comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed 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. 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. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-13.