Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2022-05-27
FUZHOU ROCKCHIP SEMICON
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The Android native system can only register a fixed type of camera and can only be registered during the boot process. If the USB / dvp / mipi interface camera is plugged, replaced or removed during boot, the latest camera device information cannot be updated. Reprogram the software adapted to the new firmware to work normally

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method, device, device and medium supporting camera hot plug function
  • A method, device, device and medium supporting camera hot plug function
  • A method, device, device and medium supporting camera hot plug function

Examples

Experimental program
Comparison scheme
Effect test

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. ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a method, device, device and medium for supporting the hot plug function of a camera. The method includes: S1, starting to re-register the camera when it is judged that a camera is inserted or pulled out; S2, acquiring the interface type of the camera and its function information ; S3. Comparing the obtained function information with the video configuration file preset in the system, cutting and modifying 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 video configuration file fills in Recording configuration information with the same number of camera configuration files is used for camera recording configuration; S4, reporting the number of inserted cameras and camera information to the upper layer of the system. The invention can not only register and identify the inserted camera during the startup process, but also update the camera device information normally after the camera is plugged and replaced after the startup, so that it is friendly compatible with various camera applications on the market, and does not need to burn new software or Reboot the device.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method, device, device and medium for supporting the hot plug function of a camera. Background technique [0002] The original open-source Android system only supports fixed camera software configurations. If the camera specifications and types of a product change, the software code needs to be re-modified, which requires recompilation and programming of firmware. Once a product has been mass-produced or Products that are being produced on the production line need to replace the camera, and have to reprogram new firmware replacement or remote firmware upgrade, which is very labor-intensive, material resources and time-consuming. [0003] like figure 1 As shown in , it is a schematic diagram of the process of registering the camera in the Android native system. The Android native system of the Android device includes a kernel layer (Kernel) and an Android layer (Android), an...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/22
CPCG06F11/2221G06F11/2289
Inventor 陈潇
Owner FUZHOU ROCKCHIP SEMICON