A method, device, device and medium supporting camera hot plug function
A camera, hot-swappable technology, applied in the computer field, can solve the problem of unable to update camera device information and so on
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] like figure 2 As shown, the present embodiment provides a method for supporting the camera hot plug function, including the following steps:
[0037] S1. When it is judged that a camera is plugged in or pulled out, the camera is re-registered; no matter whether the camera is plugged in or pulled out, the camera that is currently plugged in will be registered again, but if the camera is in use, there is no need to re-register.
[0038] S2. Obtain the interface type and functional information of the camera; currently the interface types of the camera mainly include MIPI interface, DVP interface or USB interface, and the functional information includes supported resolution information, frame rate information, focus information, zoom information, Flash information and exposure information;
[0039] S3. Comparing the obtained function information with the video recording configuration file preset in the system, cutting and modifying the video recording configuration inform...
Embodiment 2
[0048] like image 3 As shown, in this embodiment, a device supporting the camera hot plug function is provided, including:
[0049] Judgment plug-in module, which is used to judge the re-registration of the camera when the camera is plugged in or pulled out;
[0050] Obtaining information module, used to obtain the interface type and function information of the camera;
[0051] The configuration file modification module is used to compare the obtained function information with the video configuration file preset in the system, and trim and modify the video configuration information that is not supported in the video configuration file, so that it corresponds to the camera function one by one; wherein , the recording configuration file is filled with the same number of recording configuration information as the camera configuration file, which is used for camera recording configuration;
[0052] The reporting module is used to report the number of inserted cameras and camera...
Embodiment 3
[0060] This embodiment provides an electronic device, such as Figure 4 As shown, it includes a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, any implementation manner in Embodiment 1 can be realized.
[0061] Since the electronic device introduced in this embodiment is the device used to implement the method in Embodiment 1 of this application, based on the method described in Embodiment 1 of this application, those skilled in the art can understand the electronic device of this embodiment. Specific implementation methods and various variations thereof, so how the electronic device implements the method in the embodiment of the present application will not be described in detail here. As long as a person skilled in the art implements the equipment used by the method in the embodiment of the present application, it all belongs to the protection scope of the present application. ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


