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

Method and device for supporting hot plug function of camera, equipment and medium

A camera and hot-swappable technology, applied in the computer field, can solve problems such as the inability to update camera device information

Active Publication Date: 2020-07-31
FUZHOU ROCKCHIP SEMICON
View PDF6 Cites 2 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
  • Method and device for supporting hot plug function of camera, equipment and medium
  • Method and device for supporting hot plug function of camera, equipment and medium
  • Method and device for supporting hot plug function of camera, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] Such as 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 inf...

Embodiment 2

[0048] Such as 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 cam...

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 invention provides a method, a device, equipment and a medium for supporting a camera hot plug function. The method comprises the following steps: S1, when judging that a camera is inserted or pulled out, starting to register the camera again; s2, acquiring an interface type and function information of a camera; s3, comparing the obtained function information with a video configuration file preset in a system, and cutting and modifying video configuration information which is not supported in the video configuration file to enable the video configuration information to be in one-to-one correspondence with camera functions, wherein the video configuration files are filled with the same number of video configuration information as the camera configuration files, and the video configuration information is used for camera video configuration; and S4, reporting the number of the inserted cameras and camera information to the upper layer of the system. According to the invention, the inserted camera can be registered and identified in the startup process, and the camera equipment information can be normally updated due to the plugging and replacement of the camera after startup, so that the method is friendly to be compatible with various camera applications on the market, and new software programming or equipment restarting is not needed.

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] Such as 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),...

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
IPC IPC(8): G06F11/22
CPCG06F11/2221G06F11/2289
Inventor 陈潇
Owner FUZHOU ROCKCHIP SEMICON