Camera adaptation method and system for multiple cameras, terminal and storage medium

By acquiring and analyzing the user's target camera usage requirements and performing register matching and adaptation processing, the problem of low camera adaptation efficiency in the prior art is solved, and efficient compatibility of the vehicle system and normal use of camera functions are achieved.

CN119906888APending Publication Date: 2025-04-29SUZHOU ZHIXING CHANGLIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510077326.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-04-29

AI Technical Summary

Technical Problem

The existing technology cannot flexibly adapt different cameras according to current needs, resulting in low adaptation efficiency, affecting the applicability and compatibility of the vehicle system, and causing the camera function to be unable to be used normally.

Method used

By obtaining the user's target camera usage requirements, the target camera information is obtained, and the target camera information is obtained based on the target index information, the target register is obtained, and the adaptation process is performed until the camera is started successfully.

Benefits of technology

It realizes flexible adaptation of different cameras according to current needs, improves the adaptation efficiency of the camera, ensures the applicability and compatibility of the vehicle system, and ensures the normal use of the camera functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119906888A_ABST
    Figure CN119906888A_ABST
Patent Text Reader

Abstract

The invention discloses a camera adaptation method and system for multiple cameras, a terminal and a storage medium, and the method comprises the steps: obtaining a target camera use demand of a user, carrying out the analysis and processing of the target camera use demand, obtaining target camera information, and carrying out the matching of corresponding target index information according to the target camera information; performing register matching according to the target index information to obtain a target register, and performing adaptation processing on a camera corresponding to the target camera information according to the target register to obtain a target camera; and starting the target camera to obtain a starting result, and if the starting result is that the target camera is in a working state, judging that the target camera is successfully adapted. According to the invention, different cameras are flexibly adapted according to current requirements, the adaptation efficiency of the cameras is improved, and the applicability and compatibility of the vehicle-mounted terminal system can be ensured without re-refreshing corresponding matching software, so that the normal use of corresponding camera functions can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of camera adaptation processing technology, and in particular to a camera adaptation method, system, terminal and computer-readable storage medium for multiple cameras. Background Art

[0002] Cameras are an essential part of the vehicle computer system, including DVRs (Digital Video Recorders, digital video recording devices for vehicles), face recognition, 360 panoramic cameras and other different types of cameras. Among them, the pixels of each camera (for example, 1080P), supported bit rate, resolution and installation location are all different.

[0003] The existing practice is to use a fixed camera with fixed point, fixed shape and fixed function, which is not only inconvenient to match cameras with different pixels, but also easily leads to too many versions, thus affecting the overall adaptability and compatibility of the system. If the camera or camera parameters are different due to different project requirements and vehicle models, it is easy to cause version mismatch, resulting in the camera function being unusable. In addition, general car systems basically specify cameras, and after changing the camera, they need to be re-adapted, etc., which is not suitable for cross-hardware compatibility.

[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention

[0005] The main purpose of the present invention is to provide a camera adaptation method, system, terminal and storage medium for multiple cameras, aiming to solve the problem that the prior art cannot flexibly adapt different cameras according to current needs, resulting in low adaptation efficiency, affecting the applicability and compatibility of the vehicle system, and causing the corresponding camera functions to not be used normally.

[0006] To achieve the above object, the present invention provides a camera adaptation method for multiple cameras, the camera adaptation method for multiple cameras comprising the following steps:

[0007] Obtaining the user's target camera usage requirements, analyzing and processing the target camera usage requirements to obtain target camera information, and matching corresponding target index information according to the target camera information;

[0008] Perform register matching according to the target index information to obtain a target register, and perform adaptation processing on a camera corresponding to the target camera information according to the target register to obtain a target camera;

[0009] The target camera is started to obtain a start result. If the start result is that the target camera is in a working state, it is determined that the camera is successfully adapted.

[0010] Optionally, the camera adaptation method for multiple cameras, wherein the step of obtaining the user's target camera usage requirements, analyzing and processing the target camera usage requirements to obtain camera information, and matching corresponding target index information according to the camera information, further comprises:

[0011] Acquire multiple camera data of different models, wherein the camera data includes camera parameters, video stream input format and decoded data bit number;

[0012] Binding processing is performed on each of the camera data and the corresponding camera device node to obtain a binding result, register definition is performed on the binding result, and an index information library is obtained.

[0013] Optionally, the camera adaptation method for multiple cameras, wherein the step of obtaining the user's target camera usage requirements, analyzing and processing the target camera usage requirements to obtain camera information, and matching corresponding target index information according to the camera information, specifically includes:

[0014] Obtaining the user's target camera usage requirements, analyzing and processing the target camera usage requirements, and obtaining target camera information, wherein the target camera information includes a camera device node, camera information, and camera pixels;

[0015] The target camera information is matched according to the index information library to obtain target index information.

[0016] Optionally, the camera adaptation method for multiple cameras, wherein register matching is performed according to the target index information to obtain a target register, and a camera corresponding to the target camera information is adapted according to the target register to obtain a target camera, specifically includes:

[0017] Perform parameter interface matching on the target index information to obtain a target parameter interface, and extract the target channel number and register index information bound to the target parameter interface;

[0018] Perform register matching according to the target channel number and the register index information to obtain a target register, and perform initialization processing on a camera corresponding to the target camera information according to the target register to obtain an initialization result;

[0019] Parameters of the target register are extracted according to the initialization result to obtain target camera parameters, and adaptation processing is performed on the camera corresponding to the target camera information according to the target camera parameters to obtain the target camera.

[0020] Optionally, the camera adaptation method for multiple cameras, wherein register matching is performed according to the target index information to obtain a target register, and a camera corresponding to the target camera information is adapted according to the target register to obtain a target camera, and then further comprises:

[0021] When it is detected that the camera adaptation is completed and the target camera is obtained, a corresponding camera adaptation verification task is created, and a camera start instruction is generated according to the camera adaptation verification task.

[0022] Optionally, the camera adaptation method for multiple cameras, wherein the target camera is started to obtain a startup result, and if the startup result is that the target camera is in a working state, then it is determined that the camera adaptation is successful, specifically includes:

[0023] Starting the target camera according to the camera start instruction, obtaining a start result, and judging whether the target camera is in a working state according to the start result;

[0024] If the video file recorded by the target camera exists in the startup result, it is determined that the target camera is in a working state, indicating that the camera adaptation is successful.

[0025] Optionally, the camera adaptation method for multiple cameras, wherein the target camera is started according to the camera start instruction to obtain a start result, and whether the target camera is in a working state is determined according to the start result, and then further comprises:

[0026] If the video file recorded by the target camera does not exist in the startup result, it is determined that the target camera is not in a working state, and an abnormal reminder message is generated, and the user is notified to perform abnormal processing according to the abnormal reminder message.

[0027] Optionally, in the camera adaptation method for multiple cameras, the camera adaptation system for multiple cameras includes:

[0028] An information matching module is used to obtain the user's target camera usage requirements, analyze and process the target camera usage requirements, obtain target camera information, and match corresponding target index information according to the target camera information;

[0029] A camera adaptation module, used for performing register matching according to the target index information to obtain a target register, and performing adaptation processing on a camera corresponding to the target camera information according to the target register to obtain a target camera;

[0030] The adaptation verification module is used to start the target camera and obtain a startup result. If the startup result is that the target camera is in a working state, it is determined that the camera is successfully adapted.

[0031] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal, wherein the terminal includes: a memory, a processor, and a camera adaptation program for multiple cameras stored in the memory and runnable on the processor, and when the camera adaptation program for multiple cameras is executed by the processor, the steps of the camera adaptation method for multiple cameras as described above are implemented.

[0032] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a camera adaptation program for multiple cameras, and when the camera adaptation program for multiple cameras is executed by a processor, the steps of the camera adaptation method for multiple cameras as described above are implemented.

[0033] In the present invention, the user's target camera usage requirements are obtained, the target camera usage requirements are analyzed and processed to obtain target camera information, and the corresponding target index information is matched according to the target camera information; register matching is performed according to the target index information to obtain a target register, and the camera corresponding to the target camera information is adapted and processed according to the target register to obtain a target camera; the target camera is started to obtain a startup result, and if the startup result is that the target camera is in a working state, it is determined that the camera adaptation is successful. The present invention flexibly adapts different cameras according to current needs, improves the camera adaptation efficiency, and can ensure the applicability and compatibility of the vehicle system without re-flashing the corresponding matching software, thereby ensuring that the corresponding camera functions can be used normally. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 It is a flow chart of a preferred embodiment of the camera adaptation method of multiple cameras of the present invention;

[0035] Figure 2 Schematic diagram of the system architecture corresponding to the camera adaptation method of multiple cameras of the present invention;

[0036] Figure 3 It is a structural diagram of a preferred embodiment of the camera adaptation system for multiple cameras of the present invention;

[0037] Figure 4 It is a schematic diagram of the operating environment of a preferred embodiment of the terminal of the present invention. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0039] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0040] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0041] The camera adaptation method of multiple cameras described in the preferred embodiment of the present invention is as follows: Figure 1 As shown, the camera adaptation method of the multi-channel camera includes the following steps:

[0042] Step S10: obtaining the user's target camera usage requirements, analyzing and processing the target camera usage requirements to obtain target camera information, and matching corresponding target index information according to the target camera information.

[0043] The step S10 comprises:

[0044] Step S11, obtaining the user's target camera usage requirements, analyzing and processing the target camera usage requirements, and obtaining target camera information, wherein the target camera information includes camera device nodes, camera information, and camera pixels;

[0045] Step S12: performing information matching on the target camera information according to the index information library to obtain target index information.

[0046] Specifically, in view of the problem that the prior art cannot flexibly adapt different cameras according to current needs, resulting in low adaptation efficiency, and also affecting the applicability and compatibility of the vehicle system, resulting in the corresponding camera functions not being able to be used normally, in an embodiment of the present invention, a camera adaptation method for multiple cameras is proposed to solve the above-mentioned existing problems, wherein the architecture diagram corresponding to the camera adaptation method for multiple cameras is as follows: Figure 2 As shown, it specifically includes a system kernel layer, an intermediate layer, a system framework layer and an application layer, wherein the system kernel layer has built-in registers of different models, for example, registers of 480P model, registers of 720P model, registers of 960P model and registers of 1080P model; the intermediate layer is responsible for connecting with the android framework layer and the driver communication service layer; the system framework layer includes a camera client, the camera client is used to bind the corresponding camera service, and the application layer is used to receive the corresponding parameter device to start the corresponding camera; the specific processing process is to obtain the user's target camera usage requirements. Before analyzing the target camera usage requirements, it is necessary to create a corresponding index information library for storing the parameters used by different cameras. A number of registers are built into the system, specifically, to obtain data of multiple cameras of different models, wherein the camera data includes camera parameters, video stream input format (for example, 1080P@30, 1080P@25, 1080P@24, 1080i@60, 1080i@50, 720P@60 and 720P@50, etc., wherein 24, 25, 30, 50 and 60 represent frame rates) and the number of decoded data bits; each of the camera data is bound to the corresponding camera device node to obtain a binding result, and register definition is performed on the binding result, that is, the same group of model registers are defined in an array, and multiple groups of index information are formed by defining different model arrays, and an index information library is obtained according to all the index information.

[0047] Afterwards, it is necessary to analyze and process the usage requirements of the target camera. Specifically, the usage requirements of the target camera are analyzed and processed to obtain the target camera information, wherein the target camera information includes the camera device node (for example, dev / video0, dev / video1, ...., dev / video7), camera information and camera pixels; then, the target camera information is matched according to the index information library to obtain the target index information.

[0048] Step S20: performing register matching according to the target index information to obtain a target register, and performing adaptation processing on a camera corresponding to the target camera information according to the target register to obtain a target camera.

[0049] The step S20 comprises:

[0050] Step S21, performing parameter interface matching on the target index information to obtain a target parameter interface, and extracting a target channel number and register index information bound to the target parameter interface;

[0051] Step S22, performing register matching according to the target channel number and the register index information to obtain a target register, and initializing a camera corresponding to the target camera information according to the target register to obtain an initialization result;

[0052] Step S23, extracting parameters of the target register according to the initialization result to obtain target camera parameters, and performing adaptation processing on the camera corresponding to the target camera information according to the target camera parameters to obtain the target camera.

[0053] Specifically, when the target index information is obtained, parameter interface matching is required, specifically, parameter interface matching is performed on the target index information to obtain a target parameter interface, wherein the target parameter interface is used to inform the system which camera needs to be opened and which set of register parameters to use; then, the target channel number and register index information bound to the target parameter interface are extracted, in order to form a corresponding relationship, so that the corresponding register can be queried when the corresponding parameters are long-transmitted; register matching is performed according to the target channel number and the register index information to obtain a target register, and the camera corresponding to the target camera information is initialized according to the target register to obtain an initialization result, and the purpose of initialization is to enable the corresponding camera to work normally; then, parameter extraction is performed on the target register according to the initialization result to obtain target camera parameters, and the camera corresponding to the target camera information is adapted according to the target camera parameters to obtain the target camera.

[0054] Furthermore, when the camera adaptation is completed and the target camera is obtained, it is necessary to verify whether the camera is successfully adapted. In an embodiment of the present invention, the target camera is started, and then whether the camera is successfully adapted is determined by whether the target camera is in a working state. Specifically, a corresponding camera adaptation verification task is created, and a camera start instruction is generated according to the camera adaptation verification task, and the corresponding camera is started by the camera start instruction.

[0055] Step S30: Start the target camera and obtain a startup result. If the startup result is that the target camera is in a working state, it is determined that the camera adaptation is successful.

[0056] The step S30 comprises:

[0057] Step S31, starting the target camera according to the camera start instruction, obtaining a start result, and judging whether the target camera is in a working state according to the start result;

[0058] Step S32: If the startup result contains a video file recorded by the target camera, it is determined that the target camera is in a working state, indicating that the camera adaptation is successful.

[0059] Specifically, in an embodiment of the present invention, when the camera startup instruction is received, the target camera is started according to the camera startup instruction to obtain a startup result, and whether the target camera is in a working state is determined according to the startup result; if the startup result contains a video file recorded by the target camera, the target camera is determined to be in a working state, indicating that the camera adaptation is successful. The present invention organizes and summarizes the parameters used by different cameras into a configuration table and builds it into the system. Several sets of general parameters can be pre-set, and optional camera parameter configurations can also be made in the upper-level application. The camera does not need to be fixed with the system, so there is no need to fix the corresponding camera parameters, and the randomness of camera use is achieved. There is no need to worry that a certain camera can only use a 480p or 720p pixel camera, and the camera installation location does not need to be predetermined in advance. After the installation is completed, the corresponding configuration can be performed.

[0060] Furthermore, if the video file recorded by the target camera does not exist in the startup result, it is determined that the target camera is not in a working state, and an abnormal reminder message is generated, and the user is notified to perform abnormal processing according to the abnormal reminder message, thereby ensuring the normal use of the camera.

[0061] Furthermore, if Figure 3 As shown, based on the above-mentioned camera adaptation method for multiple cameras, the present invention also provides a camera adaptation system for multiple cameras, wherein the camera adaptation system for multiple cameras comprises:

[0062] The information matching module 51 is used to obtain the user's target camera usage requirements, analyze and process the target camera usage requirements, obtain target camera information, and match corresponding target index information according to the target camera information;

[0063] A camera adaptation module 52 is used to perform register matching according to the target index information to obtain a target register, and to perform adaptation processing on a camera corresponding to the target camera information according to the target register to obtain a target camera;

[0064] The adaptation verification module 53 is used to start the target camera and obtain a start result. If the start result is that the target camera is in a working state, it is determined that the camera is successfully adapted.

[0065] Furthermore, if Figure 4 As shown, based on the above-mentioned camera adaptation method for multiple cameras, the present invention also provides a terminal accordingly, and the terminal includes a processor 10, a memory 20 and a display 30. Figure 4 Only some components of the terminal are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.

[0066] In some embodiments, the memory 20 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. In other embodiments, the memory 20 may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the terminal. Further, the memory 20 may also include both an internal storage unit of the terminal and an external storage device. The memory 20 is used to store application software and various types of data installed on the terminal, such as the program code of the installation terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, a camera adapter program 40 for multiple cameras is stored on the memory 20, and the camera adapter program 40 for multiple cameras can be executed by the processor 10, thereby realizing the camera adaptation method for multiple cameras in the present application.

[0067] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing the camera adaptation method of the multi-channel camera.

[0068] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 30 is used to display information on the terminal and to display a visual user interface. The components of the terminal communicate with each other via a system bus.

[0069] In one embodiment, when the processor 10 executes the camera adapter program 40 of multiple cameras in the memory 20, the following steps are implemented:

[0070] Obtaining the user's target camera usage requirements, analyzing and processing the target camera usage requirements to obtain target camera information, and matching corresponding target index information according to the target camera information;

[0071] Perform register matching according to the target index information to obtain a target register, and perform adaptation processing on a camera corresponding to the target camera information according to the target register to obtain a target camera;

[0072] The target camera is started to obtain a start result. If the start result is that the target camera is in a working state, it is determined that the camera is successfully adapted.

[0073] The step of obtaining the user's target camera usage requirements, analyzing and processing the target camera usage requirements to obtain camera information, and matching corresponding target index information according to the camera information may also include:

[0074] Acquire multiple camera data of different models, wherein the camera data includes camera parameters, video stream input format and decoded data bit number;

[0075] Binding processing is performed on each of the camera data and the corresponding camera device node to obtain a binding result, register definition is performed on the binding result, and an index information library is obtained.

[0076] The step of obtaining the user's target camera usage requirements, analyzing and processing the target camera usage requirements to obtain camera information, and matching corresponding target index information according to the camera information specifically includes:

[0077] Obtaining the user's target camera usage requirements, analyzing and processing the target camera usage requirements, and obtaining target camera information, wherein the target camera information includes a camera device node, camera information, and camera pixels;

[0078] The target camera information is matched according to the index information library to obtain target index information.

[0079] The performing register matching according to the target index information to obtain the target register, and performing adaptation processing on the camera corresponding to the target camera information according to the target register to obtain the target camera, specifically includes:

[0080] Perform parameter interface matching on the target index information to obtain a target parameter interface, and extract the target channel number and register index information bound to the target parameter interface;

[0081] Perform register matching according to the target channel number and the register index information to obtain a target register, and perform initialization processing on a camera corresponding to the target camera information according to the target register to obtain an initialization result;

[0082] Parameters of the target register are extracted according to the initialization result to obtain target camera parameters, and adaptation processing is performed on the camera corresponding to the target camera information according to the target camera parameters to obtain the target camera.

[0083] The method further includes performing register matching according to the target index information to obtain a target register, performing adaptation processing on a camera corresponding to the target camera information according to the target register to obtain a target camera, and then further including:

[0084] When it is detected that the camera adaptation is completed and the target camera is obtained, a corresponding camera adaptation verification task is created, and a camera start instruction is generated according to the camera adaptation verification task.

[0085] The step of starting the target camera to obtain a start result, and if the start result is that the target camera is in a working state, determining that the camera is successfully adapted, specifically includes:

[0086] Starting the target camera according to the camera start instruction, obtaining a start result, and judging whether the target camera is in a working state according to the start result;

[0087] If the video file recorded by the target camera exists in the startup result, it is determined that the target camera is in a working state, indicating that the camera adaptation is successful.

[0088] The method further comprises starting the target camera according to the camera start instruction, obtaining a start result, and judging whether the target camera is in a working state according to the start result. Then, the method further comprises:

[0089] If the video file recorded by the target camera does not exist in the startup result, it is determined that the target camera is not in a working state, and an abnormal reminder message is generated, and the user is notified to perform abnormal processing according to the abnormal reminder message.

[0090] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a camera adaptation program for multiple cameras, and when the camera adaptation program for multiple cameras is executed by a processor, the steps of the camera adaptation method for multiple cameras as described above are implemented.

[0091] In summary, the present invention provides a camera adaptation method, system, terminal and storage medium for multiple cameras, the method comprising: obtaining the user's target camera usage requirements, analyzing and processing the target camera usage requirements to obtain target camera information, and matching the corresponding target index information according to the target camera information; performing register matching according to the target index information to obtain a target register, performing adaptation processing on the camera corresponding to the target camera information according to the target register to obtain a target camera; starting the target camera to obtain a startup result, and if the startup result is that the target camera is in a working state, then the camera adaptation is determined to be successful. The present invention flexibly adapts different cameras according to current needs, improves the camera adaptation efficiency, and can ensure the applicability and compatibility of the vehicle system without re-flashing the corresponding matching software, thereby ensuring that the corresponding camera functions can be used normally.

[0092] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or terminal including the element.

[0093] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium that can be read by a computer, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium can be a memory, a disk, an optical disk, etc.

[0094] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A camera adaptation method for multiple cameras, characterized in that: The camera adaptation method of the multi-channel camera includes: Obtaining the user's target camera usage requirements, analyzing and processing the target camera usage requirements to obtain target camera information, and matching corresponding target index information according to the target camera information; Perform register matching according to the target index information to obtain a target register, and perform adaptation processing on a camera corresponding to the target camera information according to the target register to obtain a target camera; The target camera is started to obtain a start result. If the start result is that the target camera is in a working state, it is determined that the camera adaptation is successful.

2. The camera adaptation method for multiple cameras according to claim 1, characterized in that: The step of obtaining the user's target camera usage requirements, analyzing and processing the target camera usage requirements to obtain camera information, and matching corresponding target index information according to the camera information, further includes: Acquire multiple camera data of different models, wherein the camera data includes camera parameters, video stream input format and decoded data bit number; Binding processing is performed on each of the camera data and the corresponding camera device node to obtain a binding result, register definition is performed on the binding result, and an index information library is obtained.

3. The camera adaptation method for multiple cameras according to claim 2, characterized in that: The obtaining of the user's target camera usage requirements, analyzing and processing the target camera usage requirements to obtain camera information, and matching corresponding target index information according to the camera information specifically includes: Obtaining the user's target camera usage requirements, analyzing and processing the target camera usage requirements, and obtaining target camera information, wherein the target camera information includes a camera device node, camera information, and camera pixels; The target camera information is matched according to the index information library to obtain target index information.

4. The camera adaptation method for multiple cameras according to claim 1, characterized in that: The register matching is performed according to the target index information to obtain the target register, and the camera corresponding to the target camera information is adapted according to the target register to obtain the target camera, specifically including: Perform parameter interface matching on the target index information to obtain a target parameter interface, and extract the target channel number and register index information bound to the target parameter interface; Perform register matching according to the target channel number and the register index information to obtain a target register, and perform initialization processing on a camera corresponding to the target camera information according to the target register to obtain an initialization result; Parameters of the target register are extracted according to the initialization result to obtain target camera parameters, and the camera corresponding to the target camera information is adapted according to the target camera parameters to obtain the target camera.

5. The camera adaptation method for multiple cameras according to claim 1, characterized in that: The register matching is performed according to the target index information to obtain the target register, and the camera corresponding to the target camera information is adapted according to the target register to obtain the target camera, and then the following is further included: When it is detected that the camera adaptation is completed and the target camera is obtained, a corresponding camera adaptation verification task is created, and a camera start instruction is generated according to the camera adaptation verification task.

6. The camera adaptation method for multiple cameras according to claim 5, characterized in that: The target camera is started to obtain a start result, and if the start result is that the target camera is in a working state, it is determined that the camera adaptation is successful, specifically including: Starting the target camera according to the camera start instruction, obtaining a start result, and judging whether the target camera is in a working state according to the start result; If the video file recorded by the target camera exists in the startup result, it is determined that the target camera is in a working state, indicating that the camera adaptation is successful.

7. The camera adaptation method for multiple cameras according to claim 6, characterized in that: The method starts the target camera according to the camera start instruction, obtains a start result, and determines whether the target camera is in a working state according to the start result, and then further includes: If the video file recorded by the target camera does not exist in the startup result, it is determined that the target camera is not in a working state, and an abnormal reminder message is generated, and the user is notified to perform abnormal processing according to the abnormal reminder message.

8. A camera adaptation system for multiple cameras, characterized in that: The camera adaptation system of the multi-channel camera includes: An information matching module is used to obtain the user's target camera usage requirements, analyze and process the target camera usage requirements, obtain target camera information, and match corresponding target index information according to the target camera information; A camera adaptation module, used to perform register matching according to the target index information to obtain a target register, and perform adaptation processing on a camera corresponding to the target camera information according to the target register to obtain a target camera; The adaptation verification module is used to start the target camera and obtain a startup result. If the startup result is that the target camera is in a working state, it is determined that the camera is successfully adapted.

9. A terminal, characterized in that: The terminal includes: a memory, a processor, and a camera adaptation program for multiple cameras stored in the memory and executable on the processor. When the camera adaptation program for multiple cameras is executed by the processor, the steps of the camera adaptation method for multiple cameras as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a camera adaptation program for multiple cameras, and when the camera adaptation program for multiple cameras is executed by a processor, the steps of the camera adaptation method for multiple cameras as described in any one of claims 1 to 7 are implemented.