Imaging device, lens recognition method, and lens signal processing method

By incorporating connectors and pull-up circuit modules into the camera device, and utilizing level signals to identify lens configuration parameters, the adaptive configuration problem of lenses lacking electrical properties is solved, thereby improving image quality.

CN120980337BActive Publication Date: 2026-02-03ZHEJIANG DAHUA TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202511469701.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-10-15
Publication Date
2026-02-03
Estimated Expiration
2045-10-15

AI Technical Summary

Technical Problem

Existing technologies cannot adaptively generate suitable lens solutions, especially for lenses that do not have electrical properties, making it difficult to improve image quality.

Method used

By incorporating connectors, pull-up circuit modules, image sensing modules, and image processing modules into the camera device, different combinations of connectors are used to identify the lens, and configuration parameters for the lens are generated through level signals to achieve adaptive configuration.

Benefits of technology

Without relying on the internal electrical structure of the lens, it identifies and generates suitable lens configuration parameters, thereby improving image quality and the adaptive capabilities of the camera device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120980337B_ABST
    Figure CN120980337B_ABST
Patent Text Reader

Abstract

The application relates to a camera device, a lens recognition method and a lens signal processing method. The device comprises a lens, a base, at least two connecting pieces, a pull-up circuit module, an image sensing module and an image processing module. The lens is connected with the base. The first connecting part of the connecting piece is connected with the base, the second connecting part is connected with the image sensor and grounded, and the middle part is connected with the input and output interface of the image sensing module. The output end of the pull-up circuit module is connected with the input and output interface, and the output end and the input and output interface are the same in number as the connecting pieces. The connecting pieces fix the base and the image sensing module. The pull-up circuit module respectively outputs mutually independent level signals based on the output ends. The image sensing module collects and transmits the level signals to the image processing module. The image processing module generates the configuration parameters of the lens according to the level signals. The method can solve the problem that the camera device cannot self-adaptively generate an adaptive lens scheme when the lens does not have electrical properties.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of camera shooting, and in particular to a camera shooting device, a lens recognition method and a lens signal processing method. BACKGROUND

[0002] In the field of camera shooting, lenses designed by different manufacturers have their own unique optical characteristics. In order to improve image quality, it is usually necessary to configure corresponding lens processing parameters according to different lens models. At the same time, since manufacturers generally use self-defined lens interface standards, and these interfaces differ in electrical properties, in the related art, it is usually selected to integrate a recognition chip inside the lens to realize automatic recognition of the lens, or to distinguish lens models through the physical terminal arrangement of the lens interface terminals.

[0003] However, the method of the related art cannot be applied to lenses without electrical properties. Especially in security monitoring cameras or mobile phone modules, there are a large number of fixed-focus lenses without any electrical properties and without available electrical recognition parameters. In order to improve the image quality of these lenses without electrical properties, it is necessary to manually set the adaptive lens processing parameters for different versions of lenses, greatly increasing the development workload.

[0004] At present, there is no effective solution to the problem that when the lens inside does not have electrical properties, the camera shooting device cannot adaptively generate an adaptive lens solution. SUMMARY

[0005] Therefore, it is necessary to provide a camera shooting device, a lens recognition method and a lens signal processing method that can solve the problem that when the lens inside does not have electrical properties, the camera shooting device cannot adaptively generate an adaptive lens solution.

[0006] In a first aspect, a camera shooting device is provided in the present embodiment, which comprises a lens, a base, at least two connecting pieces, a pull-up circuit module, an image sensing module and an image processing module; the lens is connected with the base; a first connecting part of the connecting piece is connected with the base, a second connecting part of the connecting piece is connected with the image sensing module and the second connecting part is grounded, and a middle part of the connecting piece is connected with an input / output interface of the image sensing module; an output end of the pull-up circuit module is connected with the input / output interface of the image sensing module, and the number of output ends of the pull-up circuit module, the number of input / output interfaces and the number of connecting pieces are the same; wherein,

[0007] The connecting piece is used to fix the base and the image sensing module;

[0008] The pull-up circuit module is used to output mutually independent level signals based on each output end.

[0009] The image sensing module is configured to collect and transmit the level signal to the image processing module.

[0010] The image processing module is configured to generate configuration parameters of the lens according to the level signal.

[0011] In some embodiments, the image sensing module comprises a signal collecting unit and a first superimposition unit; wherein,

[0012] The signal collecting unit is configured to collect the level signal based on the input / output interface;

[0013] The first superimposition unit is configured to superimpose the collected level signal to a blanking area of an image frame captured by the lens, and transmit the image frame to the image processing module.

[0014] In some embodiments, the camera device comprises a video data bus, two ends of the video data bus are connected with the first superimposition unit in the image sensing module and the image processing module respectively.

[0015] In some embodiments, the image sensing module comprises a signal collecting unit and a second superimposition unit; wherein,

[0016] The signal collecting unit is configured to collect the level signal based on the input / output interface;

[0017] The second superimposition unit is configured to superimpose the level signal and identification information of the image sensing module, and transmit the superimposed data to the image processing module.

[0018] In some embodiments, the camera device comprises a control bus, two ends of the control bus are connected with the second superimposition unit in the image sensing module and the image processing module respectively.

[0019] In some embodiments, the configuration parameters comprise image configuration parameters and sensing configuration parameters, and the image processing module comprises an identification unit and a configuration unit; wherein,

[0020] The identification unit is configured to obtain image configuration parameters and sensing configuration parameters corresponding to the level signal;

[0021] The configuration unit is configured to process the image frame captured by the lens based on the image configuration parameters, and configure the image sensing module based on the sensing configuration parameters.

[0022] In some embodiments, the camera device further comprises a storage module, the storage module is connected with the identification unit in the image processing module; wherein,

[0023] The storage module is used to store the mapping relationship between the level signal and the configuration parameters;

[0024] The identification unit is used to read the mapping relationship stored in the storage module and obtain the image configuration parameters and sensing configuration parameters corresponding to the level signal according to the mapping relationship.

[0025] Secondly, this embodiment provides a lens recognition method, which is applied to the image processing module in the camera device described in the first aspect above. The lens recognition method includes:

[0026] Acquire the level signals obtained from the input / output interface of the image sensing module;

[0027] The lens configuration parameters are generated based on the level signal.

[0028] Thirdly, this embodiment provides a lens signal processing method, which is applied to the image sensing module in the camera device described in the first aspect above. The lens signal processing method includes:

[0029] The input / output interface of the image sensing module acquires the level signal output by the pull-up circuit module and transmits the level signal to the image processing module, so that the image processing module generates the lens configuration parameters based on the level signal.

[0030] In some embodiments, transmitting the level signal to the image processing module includes:

[0031] The acquired level signal is superimposed onto the blanking region of the image frame captured by the lens, and the image frame is transmitted to the image processing module; and / or,

[0032] The level signal and the identification information of the image sensing module are superimposed, and the superimposed data is transmitted to the image processing module.

[0033] The aforementioned camera device, lens recognition method, and lens signal processing method, by setting connectors, change the contact method between the base and the image sensing module, obtain level signals corresponding to each connector based on different contact methods, and obtain configuration parameters matching the current lens through the level signals. This solves the problem that the camera device cannot adaptively generate a suitable lens solution when the lens does not have internal electrical properties, without relying on the internal electrical structure of the lens. Attached Figure Description

[0034] Figure 1 This is a structural block diagram of the camera device in one embodiment;

[0035] Figure 2 This is a schematic diagram of lens mounting in one embodiment;

[0036] Figure 3 This is a schematic diagram of the connection between the image sensor and the pull-up circuit module in one embodiment;

[0037] Figure 4 This is a schematic diagram of the signal transmission of the camera device in one embodiment;

[0038] Figure 5 This is a schematic diagram of superimposing a level signal onto the blanking region of an image frame in one embodiment;

[0039] Figure 6 This is a flowchart illustrating a lens recognition method in one embodiment. Detailed Implementation

[0040] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0041] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment that is mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments without conflict.

[0042] Unless otherwise defined, the technical or scientific terms used in this application shall have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms “a,” “an,” “an,” “the,” and similar words used in this application do not indicate quantity limitation and may indicate singular or plural. The terms “comprising,” “including,” “having,” and any variations thereof used in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units not listed, or may include other steps or units inherent to these processes, methods, products, or devices. The terms “connected,” “linked,” “coupled,” and similar words used in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. “Multiple” used in this application means two or more. “And / or” describes the relationship between related objects, indicating that three relationships may exist; for example, “A and / or B” can represent: A alone, A and B simultaneously, and B alone. The terms “first,” “second,” “third,” etc., used in this application are merely to distinguish similar objects and do not represent a specific ordering of the objects.

[0043] This embodiment provides a camera device. Figure 1 This is a structural block diagram of the camera device in this embodiment, as shown below. Figure 1 As shown, the camera device includes a lens, a base, at least two connectors, a pull-up circuit module, an image sensing module, and an image processing module; the lens is connected to the base; the first connecting part of the connector is connected to the base, the second connecting part of the connector is connected to the image sensing module and grounded, and the middle part of the connector is connected to the input / output interface of the image sensing module; the output terminal of the pull-up circuit module is connected to the input / output interface of the image sensing module, and the number of output terminals and the number of input / output interfaces of the pull-up circuit module are the same as the number of connectors.

[0044] The camera device can be equipped with replaceable lenses, each matching a different base. The connectors can be metallic or non-metallic. The first and second connecting parts of the connector correspond to the areas at both ends of the connector, and the middle part is the area between the first and second connecting parts. The number and / or type of connectors between the base of different lenses and the image sensor vary. Taking n connectors as an example, 2^n different lenses can be identified through different combinations of connectors; n is greater than or equal to 2.

[0045] Connector for securing the base and image sensing module.

[0046] The connectors can be selected from components such as snap-fits, threads, bolts, and inserts that connect the base and the image sensing module together. Optionally, corresponding number and positional positioning holes are provided in the base and the image sensing module, and the connectors pass through the positioning holes in the base and the positioning holes in the image sensing module in sequence to fix the base and the image sensing module together.

[0047] The pull-up circuit module is used to output independent level signals based on each of the aforementioned output terminals.

[0048] The pull-up circuit module includes at least a pull-up circuit consisting of a pull-up resistor and a power supply. The pull-up circuit module provides at least two default, independent high-level signals. The pull-up circuit module can share the same power supply as the image sensing module, or it can use an external power supply. Optionally, in the pull-up circuit module, one end of the pull-up resistor is connected to the power supply, and the other end is grounded. A level signal can be output from the pull-up resistor to the input / output interface of the image sensing module through the output terminal of the pull-up circuit module.

[0049] The image sensing module is used to acquire and transmit level signals to the image processing module.

[0050] In this design, since the middle part of the connector connects to the input / output interface of the image sensing module, and the second connecting part connects to the image sensing module and is grounded, when the connector is metal, the input / output interface of the image sensing module is grounded through the connector, and the level signal input to the input / output interface is pulled low, meaning the image sensing module acquires a low-level signal. When the connector is non-metallic, the level signal input to the input / output interface is not pulled low, meaning the image sensing module acquires a high-level signal. Optionally, the level signal acquired by the image sensing module can be transmitted to the image processing module via bus communication protocols such as I2C (Inter-Integrated Circuit) or SPI (Serial Peripheral Interface). Alternatively, it can be remotely transmitted via communication networks such as Ethernet, Wi-Fi (mobile hotspot), or 5G (fifth-generation mobile communication technology). Alternatively, the level signal can be stored in a storage medium and then actively read by the image processing module to realize the level signal.

[0051] The image processing module is used to generate lens configuration parameters based on the level signal.

[0052] The lens configuration parameters are used to adjust the lens's shooting performance and / or to adjust the image processing parameters obtained from the lens. Optionally, the configuration parameters include one or more of the following: exposure parameters, gain parameters, white balance parameters, and distortion correction parameters. Optionally, different lens types can be identified based on different combinations of received level signals, and configuration parameters applicable to the current lens type can be obtained.

[0053] The camera device in this embodiment connects an image sensing module and a pull-up circuit module, and fixes the base to the image sensing module via connectors. It can change the output level signal of the pull-up circuit module based on different connectors, resulting in different input / output signal levels when the image sensor contacts different connectors. Without relying on the internal electrical structure of the lens, it identifies configuration parameters matching the current lens by collecting the level signals corresponding to multiple connectors, thus solving the problem that the camera device cannot adaptively generate a suitable lens solution when the lens lacks internal electrical properties.

[0054] In one embodiment, the image sensing module includes a signal acquisition unit and a first superposition unit; wherein, the signal acquisition unit is used to acquire level signals based on the input / output interface; the first superposition unit is used to superimpose the acquired level signals onto the blanking area of ​​the image frame captured by the lens, and transmit the image frame to the image processing module.

[0055] The signal lines in the signal acquisition unit are connected to both the output terminal of the pull-up circuit module and the middle part of the connector via input / output interfaces. Optionally, the signal acquisition unit may also include circuitry for signal shaping and / or circuitry to enhance noise immunity, ensuring clear signal edges and preventing misreading. Furthermore, the signal acquisition unit can also be used to acquire light signals transmitted through the lens.

[0056] The blanking region of an image frame refers to the time period during video signal transmission when no image content is displayed on the screen. The blanking region includes horizontal and vertical blanking regions. The horizontal blanking region occurs at the end of each line of image scanning and before the start of the next line; it does not carry image information. The vertical blanking region occurs after the entire frame scan is completed and before the electron beam is repositioned to the top of the screen to begin a new frame; it also does not carry image information. Optionally, a level signal can be superimposed onto the horizontal and / or vertical blanking regions of the image frames captured by the lens. Optionally, the first superposition unit is used to obtain the position of the effective pixel area and the position of the blanking region in the image frame based on the frame synchronization signal; and superimpose the acquired level signal into the blanking region. The level signal can be superimposed into the blanking regions of one or more image frames.

[0057] Furthermore, the camera device includes a video data bus, with its two ends connected to the first overlay unit and the image processing module in the image sensing module, respectively. The video data bus can employ interface schemes such as MIPI (Mobile Industry Processor Interface) or LVDS (Low-Voltage Differential Signaling) to support high-speed data transmission. Optionally, the first overlay unit transmits image frames with superimposed level signals in the blanking region to the image processing module via the video data bus.

[0058] In this embodiment, the image sensing module includes a signal acquisition unit and a first overlay unit. While transmitting image frames, it can synchronously transmit level signals without requiring a separate signal transmission channel. This simplifies the hardware design of the camera device, improves communication efficiency, and allows the image processing module to quickly generate configuration parameters suitable for the current lens based on the level signals.

[0059] In one embodiment, the image sensing module includes a signal acquisition unit and a second overlay unit; wherein the signal acquisition unit is used to acquire level signals based on the input / output interface; and the second overlay unit is used to overlay the level signals and the identification information of the image sensing module, and transmit the overlaid data to the image processing module.

[0060] The identification information of the image sensing module includes features to distinguish different image sensors. Optionally, the second overlay unit generates a parameter field representing the level signal, adding this parameter field to the identification information of the image sensing module to obtain the fused data. The identification information of the image sensing module can be its ID.

[0061] Furthermore, the camera device includes a control bus, with its two ends connected to the second overlay unit and the image processing module in the image sensing module, respectively. The control bus can utilize common communication protocols such as I2C or SP for data interaction. Optionally, the second overlay unit transmits the overlaid level signal and the identification information of the image sensing module to the image processing module via the control bus.

[0062] In this embodiment, the signal acquisition unit and the first overlay unit within the image sensing module transmit the identification information of the image sensing module and the level signal simultaneously. This eliminates the need for an additional independent signal transmission channel, allowing the image processing module to quickly generate configuration parameters that conform to the current lens based on the level signal.

[0063] In one embodiment, the configuration parameters include image configuration parameters and sensing configuration parameters, and the image processing module includes: an identification unit and a configuration unit; wherein, the identification unit is used to acquire the image configuration parameters and sensing configuration parameters corresponding to the level signal; the configuration unit is used to process the image frames captured by the lens based on the image configuration parameters, and configure the image sensing module based on the sensing configuration parameters.

[0064] The image configuration parameters indicate the parameters used during image frame preprocessing. Optionally, the image configuration parameters may include at least one or more of the following: automatic exposure parameters, gain parameters, white balance parameters, and distortion correction parameters. The sensor configuration parameters indicate the parameters used by the sensor to process the signal acquired by the lens. Optionally, the sensor configuration parameters may include at least one or more of the following: analog gain parameters, digital gain parameters, and exposure parameters.

[0065] Optionally, the camera device also includes a storage module connected to the recognition unit in the image processing module; wherein, the storage module is used to store the mapping relationship between the level signal and the configuration parameters; the recognition unit is used to read the mapping relationship stored in the storage module and obtain the image configuration parameters and sensing configuration parameters corresponding to the level signal according to the mapping relationship.

[0066] Optionally, the storage module stores image configuration parameters and sensor configuration parameters corresponding to different combinations of level signals. Based on the received combinations of level signals, the recognition unit searches the storage module to obtain the required image configuration parameters and sensor configuration parameters.

[0067] In this embodiment, by acquiring and configuring the image configuration parameters and sensor configuration parameters corresponding to the level signals, the advantages of the current lens can be maximized and its inherent shortcomings can be compensated for, thereby improving the quality of the final image.

[0068] In related technologies, to differentiate between different lenses, manufacturers set up different interfaces with electrical properties for different lenses, typically using independent built-in chips or independent terminals to distinguish lenses. However, the fixed-focus lenses or fisheye lenses currently used in the security industry are generally mounted on a lens mount, which is connected to the image sensor's circuit board via screws or clips, without any electrical connection. This leads to the problem that the camera device cannot adaptively generate a suitable lens solution when the lens lacks internal electrical properties. Based on this, in one embodiment, Figure 2 A schematic diagram of lens installation is provided, such as... Figure 2 As shown, the lens is mounted on a base, which is fixed to the image sensor via metallized or non-metallized connectors. Figure 2Four connectors are shown in the diagram. It's understandable that the number of connectors can be modified according to requirements. By designing different combinations of connectors, different lenses can be identified, and corresponding configuration parameters, i.e., the adapted lens solution, can be obtained. The connectors can be screws and / or clips. The image sensor in this embodiment is the image sensing module described in the previous embodiment.

[0069] Figure 2 Each connector in the system passes sequentially through a through-hole in the base and a through-hole in the image sensor to securely connect the base and the image sensor. Specifically, the first connecting portion of the connector connects to the lens base; the middle portion of the connector contacts the top surface of the image sensor, with the contact area containing the image sensor's I / O interface; and the second connecting portion of the connector contacts the bottom surface of the image sensor and is grounded. The image sensor's I / O interface is the input / output interface described in the above embodiment.

[0070] Figure 3 A schematic diagram of the connection between an image sensor and a pull-up circuit module is provided, such as... Figure 3 As shown, with n I / O interfaces, the pull-up circuit module is configured with n pull-up circuits, and correspondingly, n connectors can be configured. Each pull-up circuit outputs n level signals, including: individual pull-up signal 1, individual pull-up signal 2, ..., individual pull-up signal n. If a metal connector is connected to the I / O interface of the image sensor module, the signal input to the image sensor is pulled low because the second connection part of the connector is grounded; if a non-metallic connector is connected to the I / O interface of the image sensor module, the signal input to the image sensor remains high. Through different combinational logics, 2^n different lens parameters can be identified, where n is greater than or equal to 2.

[0071] Figure 4 A schematic diagram of signal transmission of a camera device is provided, such as... Figure 4 As shown, the lens transmits lens information to the image sensor, which includes at least the light signal acquired by the lens. The base and the image sensor are connected by at least two connectors, allowing the image sensor to receive different combinations of electrical level signals when different lenses are connected. After acquiring the electrical level signals, the image sensor superimposes the signals onto the blanking region of the image frame and sends the signals to the image processing module via interfaces such as MIPI or IVDS. Figure 5 A schematic diagram is provided showing the superimposed level signal onto the blanking region of an image frame, such as... Figure 5As shown, the EFSYNC signal (frame synchronization signal) indicates the start of a new frame, and the FrameValid signal (frame validity signal) indicates the transmission time of valid pixel data in the image frame. The image sensor can determine the location of the blanking region of an image frame based on the EFSYNC and FrameValid signals and store the level signal in the blanking region of one or more image frames. Alternatively, the image sensor can superimpose the level signal into a memory used to store the image sensor's ID, and the image sensor's I2C or SPI control bus can send the level signal to the image processing module. It is understandable that the level signal can also be stored in other registers and sent to the image processing module via the control bus.

[0072] The storage module stores configuration parameters corresponding to different voltage level combinations. The image processing module retrieves the corresponding configuration parameters, including sensor configuration parameters and image configuration parameters, from the storage module based on the corresponding voltage level signal combination transmitted from the image sensor. The intelligent image processing module sends different sensor configuration parameters to the image sensor, and simultaneously adjusts its own exposure and gain parameters based on the image configuration parameters to achieve the best matching effect.

[0073] In this embodiment, based on the mounting characteristics of the lens and lens mount, metallized and / or non-metallized connectors are used to connect the image sensor and the mount. The image sensor, combined with a pull-up circuit module, acquires level signals and identifies the lens based on the acquired level signals. The image sensor stores the level signals in a register and transmits them via I2C or SPI bus, or embeds the level signals within the blanking area of ​​the image frame and uses MIPI or LVDS bus for level signal synchronization. Without setting up additional communication paths, the image processing module retrieves the corresponding processing matching parameters from the storage module based on the acquired level signals, configures the image sensor parameters, and adjusts its own adaptation parameters. Based on the method in this embodiment, lens identification and configuration can be achieved without assembling a memory chip or MPU (Microprocessor Unit) on the lens body, and without installing an impedance identification network on the resistor adapter board. It can support passive fixed-focus lenses with only structural components and glass and no electrical properties.

[0074] Based on the same inventive concept, this application also provides a lens recognition method for the image processing module of the camera device in any of the above embodiments. The solution provided by this method embodiment is similar to the solution described in the above device embodiments, and will not be repeated here.

[0075] In one embodiment, such as Figure 6 As shown, a lens recognition method is provided, which can be applied to...Figure 1 Taking the image processing module as an example, the process includes: Step S601, acquiring the level signals collected by the input / output interface of the image sensing module. The number of acquired level signals is consistent with the number of output terminals of the pull-up circuit module. Step S602, generating lens configuration parameters based on the level signals. This allows for different image processing effects to be achieved depending on the lens model.

[0076] Optionally, the camera device includes a lens, a base, at least two connectors, a pull-up circuit module, an image sensing module, and an image processing module; the lens is connected to the base; the first connecting part of the connector is connected to the base, the second connecting part of the connector is connected to the image sensor and grounded, and the middle part of the connector is connected to the input / output interface of the image sensing module; the output terminal of the pull-up circuit module is connected to the input / output interface of the image sensing module, and the number of output terminals and the number of input / output interfaces of the pull-up circuit module are the same as the number of connectors; wherein, the connectors are used to fix the base and the image sensing module; the pull-up circuit module is used to output independent level signals based on each output terminal; the image sensing module is used to collect and transmit the level signals to the image processing module; the image processing module is used to obtain the level signals collected by the input / output interface of the image sensing module; and generates configuration parameters for the lens based on the level signals.

[0077] In one embodiment, the configuration parameters include image configuration parameters and sensing configuration parameters. Generating lens configuration parameters based on level signals includes: acquiring image configuration parameters and sensing configuration parameters corresponding to the level signals; processing image frames captured by the lens based on the image configuration parameters; and configuring the image sensing module based on the sensing configuration parameters.

[0078] In one embodiment, the image sensing module includes a signal acquisition unit and a first overlay unit; wherein the signal acquisition unit is used to acquire level signals based on an input / output interface; and the first overlay unit is used to overlay the acquired level signals onto the blanking region of an image frame captured by the lens, and transmit the image frame to the image processing module. Optionally, the camera device includes a video data bus, with both ends of the video data bus connected to the first overlay unit and the image processing module in the image sensing module, respectively.

[0079] In one embodiment, the image sensing module includes a signal acquisition unit and a second overlay unit; wherein the signal acquisition unit is used to acquire level signals based on an input / output interface; and the second overlay unit is used to overlay the level signals and the identification information of the image sensor, and transmit the overlaid data to the image processing module. Optionally, the camera device includes a control bus, with its two ends connected to the second overlay unit and the image processing module in the image sensing module, respectively.

[0080] Optionally, the camera device further includes a storage module connected to the recognition unit in the image processing module; wherein, the storage module is used to store the mapping relationship between the level signal and the configuration parameters; the image sensor acquires the image configuration parameters and sensing configuration parameters corresponding to the level signal by: reading the mapping relationship stored in the storage module, and obtaining the image configuration parameters and sensing configuration parameters corresponding to the level signal according to the mapping relationship.

[0081] Based on the same inventive concept, this application also provides a lens recognition method for the image sensing unit of the camera device in any of the above embodiments. The solution provided by this lens recognition method embodiment is similar to the implementation solution described in the above device embodiments, and will not be repeated here.

[0082] In one embodiment, a lens signal processing method is provided, which is applied to... Figure 1 Taking the image sensing module as an example, the lens signal processing method includes: acquiring the level signal output by the pull-up circuit module based on the input / output interface of the image sensing module, and transmitting the level signal to the image processing module so that the image processing module can generate the lens configuration parameters according to the level signal.

[0083] Optionally, the camera device includes a lens, a base, at least two connectors, a pull-up circuit module, an image sensing module, and an image processing module; the lens is connected to the base; the first connecting part of the connector is connected to the base, the second connecting part of the connector is connected to the image sensing module and grounded, and the middle part of the connector is connected to the input / output interface of the image sensing module; the output terminal of the pull-up circuit module is connected to the input / output interface of the image sensing module, and the number of output terminals and the number of input / output interfaces of the pull-up circuit module are the same as the number of connectors; wherein, the connectors are used to fix the base and the image sensing module; the pull-up circuit module is used to output independent level signals based on each output terminal; the image processing module is used to generate configuration parameters of the lens according to the level signals; and the image sensing module is used to acquire the level signals output by the pull-up circuit module and transmit the level signals to the image processing module.

[0084] Furthermore, transmitting the level signal to the image processing module includes: superimposing the acquired level signal onto the blanking area of ​​the image frame captured by the lens, and transmitting the image frame to the image processing module; and / or, superimposing the level signal and the identification information of the image sensing module, and transmitting the superimposed data to the image processing module.

[0085] Optionally, the camera device includes a video data bus, with its two ends connected to a first overlay unit and an image processing module in the image sensing module, respectively. Transmitting image frames to the image processing module includes: transmitting image frames to the image processing module via the video data bus.

[0086] Optionally, the camera device includes a control bus, with its two ends connected to the second overlay unit and the image processing module in the image sensing module, respectively. Transmitting the overlaid data to the image processing module includes: transmitting the overlaid data to the image processing module via the control bus.

[0087] In one embodiment, the configuration parameters include image configuration parameters and sensing configuration parameters, and the image processing module includes: an identification unit and a configuration unit; wherein, the identification unit is used to acquire the image configuration parameters and sensing configuration parameters corresponding to the level signal; the configuration unit is used to process the image frames captured by the lens based on the image configuration parameters, and configure the image sensing module based on the sensing configuration parameters.

[0088] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described lens signal processing method embodiment or the lens recognition method embodiment.

[0089] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which is executed by a processor to implement the steps in the lens signal processing method embodiment or the lens recognition method embodiment described above.

[0090] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the lens signal processing method embodiment or the lens recognition method embodiment described above.

[0091] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0092] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0093] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A camera device, characterized in that, The camera device includes a lens, a base, at least two connectors, a pull-up circuit module, an image sensing module, and an image processing module. The lens is connected to the base. A first connecting portion of each connector is connected to the base, and a second connecting portion of each connector is connected to the image sensing module and grounded. The middle portion of each connector is connected to the input / output interface of the image sensing module. The output terminal of the pull-up circuit module is connected to the input / output interface of the image sensing module. The number of output terminals and the number of input / output interfaces of the pull-up circuit module are the same as the number of connectors. The connector is used to fix the base and the image sensing module; different connector combinations correspond to different lens types, and the number and / or type of connectors between the base and the image sensing module are different for different lens types. The types of connectors include metal and non-metal. The pull-up circuit module is used to output independent level signals based on each of the output terminals; The image sensing module is used to acquire and transmit the level signal to the image processing module; The image processing module is used to generate configuration parameters for the lens based on the level signal. The configuration parameters include image configuration parameters and sensor configuration parameters. The connector can change the level signal output by the pull-up circuit module, so that the image processing module can identify different lens types based on different combinations of received level signals and obtain configuration parameters suitable for the current lens type.

2. The camera device according to claim 1, characterized in that, The image sensing module includes a signal acquisition unit and a first overlay unit; wherein... The signal acquisition unit is used to acquire the level signal based on the input / output interface; The first superposition unit is used to superimpose the acquired level signal onto the blanking area of ​​the image frame captured by the lens, and transmit the image frame to the image processing module.

3. The camera device according to claim 2, characterized in that, The camera device includes a video data bus, the two ends of which are connected to the first overlay unit in the image sensing module and the image processing module, respectively.

4. The camera device according to claim 1, characterized in that, The image sensing module includes a signal acquisition unit and a second overlay unit; wherein... The signal acquisition unit is used to acquire the level signal based on the input / output interface; The second overlay unit is used to overlay the level signal and the identification information of the image sensing module, and transmit the overlaid data to the image processing module.

5. The camera device according to claim 4, characterized in that, The camera device includes a control bus, the two ends of which are connected to the second overlay unit in the image sensing module and the image processing module, respectively.

6. The camera device according to claim 1, characterized in that, The image processing module includes: a recognition unit and a configuration unit; wherein... The identification unit is used to acquire image configuration parameters and sensing configuration parameters corresponding to the level signal; The configuration unit is used to process the image frames captured by the lens based on the image configuration parameters, and to configure the image sensing module based on the sensing configuration parameters.

7. The camera device according to claim 6, characterized in that, The camera device further includes a storage module, which is connected to the recognition unit in the image processing module; wherein... The storage module is used to store the mapping relationship between the level signal and the configuration parameters; The identification unit is used to read the mapping relationship stored in the storage module and obtain the image configuration parameters and sensing configuration parameters corresponding to the level signal according to the mapping relationship.

8. A lens recognition method, characterized in that, The lens recognition method is applied to the image processing module in the camera device according to any one of claims 1 to 6, and the lens recognition method includes: Acquire the level signals obtained from the input / output interface of the image sensing module; The lens configuration parameters are generated based on the level signal.

9. A lens signal processing method, characterized in that, The lens signal processing method is applied to the image sensing module in the camera device according to any one of claims 1 to 6, and the lens signal processing method includes: The input / output interface of the image sensing module acquires the level signal output by the pull-up circuit module and transmits the level signal to the image processing module, so that the image processing module generates the lens configuration parameters based on the level signal.

10. The lens signal processing method according to claim 9, characterized in that, Transmitting the level signal to the image processing module includes: The acquired level signal is superimposed onto the blanking region of the image frame captured by the lens, and the image frame is transmitted to the image processing module; and / or, The level signal and the identification information of the image sensing module are superimposed, and the superimposed data is transmitted to the image processing module.

Citation Information

Patent Citations

  • Lens and electronic device

    CN107819977A