Camera module, processing equipment and control method
The camera and connector are connected through flexible cables, and an interface extender is provided in the camera module, which solves the problem of high connection costs in the existing technology, achieves flexibility and cost reduction, and is suitable for use between mobile devices and motherboards. connection.
Patent Information
- Application Number
- CN202410789338.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-10-15
AI Technical Summary
The existing connection between the camera module and the processing equipment uses a combination of cables and flexible circuit boards, which is expensive and lacks flexibility and installation convenience.
Use flexible cables to connect the camera and connector through welding or bonding to transmit data signals and control signals, and set up an interface expander in the camera module to convert the integrated circuit bus signal into a universal input and output port signal to control infrared Working parameters of camera and color camera.
It reduces the hardware cost of the camera module, improves the connection flexibility and installation convenience, reduces the size and production cost of electronic products, and is suitable for the connection between mobile devices and motherboards.
Smart Images

Figure CN118784784A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of electronic technology, and are related to but not limited to a camera module, a processing device, and a control method. Background Art
[0002] The Mobile Industry Processor Interface (MIPI) design connecting the camera module and the processor adopts a combination of cable and flexible printed circuit (FPC), which is relatively expensive. Summary of the invention
[0003] In view of this, embodiments of the present application provide a camera module, a processing device, a control method, an apparatus, a device, and a storage medium.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] In a first aspect, an embodiment of the present application provides a camera module, including:
[0006] Camera;
[0007] A first connector, used to connect the camera module to a processing device;
[0008] A flexible cable is arranged between the camera and the first connector, and is used to transmit data signals and / or control signals between the camera and the processing device; wherein the flexible cable is arranged between the camera and the first connector by welding or bonding.
[0009] In a second aspect, an embodiment of the present application provides a processing device, including a mainboard and a second connector for plugging into the above-mentioned camera module; wherein the second connector is used to plug into the first connector of the camera module, and the first connector and the second connector support the mobile industry processor interface protocol.
[0010] In a third aspect, an embodiment of the present application provides a control method, which is applied to a processing device, and the method includes:
[0011] In response to running a target application or a target application process, sending a first integrated circuit bus signal to a camera module plugged into the processing device;
[0012] The interface expander in the camera module is used to convert the first integrated circuit bus signal into a corresponding first general input and output port signal to control the working parameters of the infrared camera and / or color camera of the camera module.
[0013] In a fourth aspect, an embodiment of the present application provides a control device, the device comprising:
[0014] A first sending module, configured to send a first integrated circuit bus signal to a camera module plugged into the processing device in response to running a target application or a target application process;
[0015] The control module is used to convert the first integrated circuit bus signal into a corresponding first universal input and output port signal by using the interface expander in the camera module to control the working parameters of the infrared camera and / or color camera of the camera module.
[0016] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the above method when executing the program.
[0017] In a sixth aspect, an embodiment of the present application provides a storage medium storing executable instructions for implementing the above method when executed by a processor.
[0018] In a seventh aspect, a computer program product comprises a computer program or instructions, and when the computer program or instructions are executed by a processor, the steps in the above method are implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 A schematic diagram of the architecture of a camera module provided in an embodiment of the present application;
[0020] Figure 2A A schematic diagram of the architecture of a camera module provided in an embodiment of the present application;
[0021] Figure 2B A schematic diagram of the architecture of a camera module provided in an embodiment of the present application;
[0022] Figure 2C A schematic diagram of the structure of a second flexible circuit board provided in an embodiment of the present application;
[0023] Figure 2D A schematic diagram of the pin connection of the interface expander provided in an embodiment of the present application;
[0024] Figure 3A A schematic diagram of the architecture of a processing device provided in an embodiment of the present application;
[0025] Figure 3B A hierarchical structure diagram of a processing device and a camera module provided in an embodiment of the present application;
[0026] Figure 4AA schematic diagram of an implementation flow of a control method provided in an embodiment of the present application;
[0027] Figure 4B A schematic diagram of a connection line between a camera module and a control chip provided in an embodiment of the present application;
[0028] Figure 5 A schematic diagram of the structure of a control device provided in an embodiment of the present application;
[0029] Figure 6 A hardware entity schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the specific technical solution of the embodiments of the present application will be further described in detail below in conjunction with the drawings in the embodiments of the present application. The following embodiments are used to illustrate the present application, but are not used to limit the scope of the present application.
[0031] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0032] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0033] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0034] The present application embodiment provides a camera module, such as Figure 1 As shown, the camera module includes: a camera 11, a first connector 12 and a flexible cable 13, wherein:
[0035] A first connector 12, used to connect the camera module to a processing device;
[0036] A flexible cable 13 disposed between the camera 11 and the first connector 12, for transmitting data signals and / or control signals between the camera and the processing device;
[0037] The flexible cable 13 is disposed between the camera 11 and the first connector 12 (connector) by welding or bonding.
[0038] In the implementation process, the first connector 12 can be a 40-pin connector for connecting the camera module to a processing device. Here, the processing device includes at least one of the following: a computer, a tablet, a mobile phone, a speaker, a conference machine, and a TV. The 40-pin connector can support the transmission of the Mobile Industry Processor Interface Protocol (MIPI) and the Inter-Integrated Circuit (I2C) protocol to transmit MIPI signals and I2C signals between the processing device and the camera module.
[0039] Here, the flexible cable 13 disposed between the camera 12 and the first connector 12 can be made of highly elastic insulating and conductive materials to make it soft. The flexible cable is used to connect the camera and the first connector because the flexible cable can better adapt to various bends and deformations, making circuit wiring more flexible and installation more convenient.
[0040] Here, welding is a manufacturing process and technology of joining metal or other thermoplastic materials such as plastic by heating, high temperature or high pressure. In the implementation process, the flexible cable can be connected to the base of the camera and / or the terminal of the first connector by welding.
[0041] The bonding method is a method of firmly connecting two or more materials together by using an adhesive. In the implementation process, the flexible cable can also be connected to the base of the camera and / or the terminal of the first connector by bonding packaging.
[0042] During implementation, the data signal between the camera and the processing device may be image data collected by the camera, and the image data meeting the mobile industry processor interface protocol may be transmitted from the camera to the processing device via a flexible cable.
[0043] The control signal between the camera and the processing device may be a control signal sent by the processing device and used to control the camera and / or other camera peripheral components. The control signal satisfying the integrated circuit bus signal protocol may be transmitted from the processing device to the camera and / or other camera peripheral components through a flexible cable. Among them, the other camera peripheral components include at least one of the following: a time of flight (TOF) ranging sensor, a radar, a microphone, etc.
[0044] The camera module in the embodiment of the present application includes: a camera; a first connector for connecting the camera module to a processing device; a flexible cable arranged between the camera and the first connector for transmitting data signals and / or control signals between the camera and the processing device; wherein the flexible cable is arranged between the camera and the first connector by welding or bonding. In this way, the use of a flexible cable to connect the camera and the first connector can not only transmit data signals and / or control signals, but also greatly reduce the hardware cost of the camera module.
[0045] In some embodiments, the flexible cable is a flexible flat cable, such as Figure 2A As shown, the camera module further includes: a first flexible circuit board 14 and a second flexible circuit board 15, wherein:
[0046] a first flexible circuit board 14 fused to the flexible flat cable, the camera 11 being arranged on the first flexible circuit board; and / or,
[0047] The second flexible circuit board 15 is disposed between the flexible flat cable 13 and the first connector 12 , wherein the flexible flat cable 13 and the first connector 12 are respectively fused to opposite ends of the second flexible circuit board 15 on a signal path.
[0048] Here, the flexible cable 13 disposed between the camera 11 and the first connector 12 may be a flexible flat cable (FFC), which is a new type of data cable made of polyethylene terephthalate (PET) insulating material and extremely thin tinned flat copper wire, and pressed together through an automated equipment production line. The flexible flat cable can arbitrarily select the number and spacing of the wires, making wiring more convenient, greatly reducing the size of electronic products, reducing production costs, and improving production efficiency. It is suitable for use between mobile components and motherboards (e.g., between cameras and processing equipment).
[0049] The first flexible printed circuit (FPC) is a highly reliable and extremely flexible printed circuit board made of polyimide or polyester film as the base material. It has the characteristics of high wiring density, light weight, thin thickness and good bendability.
[0050] Here, the first flexible circuit board 14 can be welded with the flexible flat cable by hot bar welding, wherein the principle of hot bar is to first print solder paste on the printed circuit board (PCB), and then use heat to melt the solder and connect and conduct the two electronic components that need to be connected. The first flexible circuit board welded with the flexible flat cable can achieve the purpose of being light, thin, short and small.
[0051] During the implementation process, Figure 2A As shown, the camera 11 may be disposed on the first flexible circuit board 14. In some embodiments, at least one of the following sensors may be disposed on the first flexible circuit board 14: TOF, MIC, and RADAR.
[0052] like Figure 2A As shown, the second flexible circuit board 15 is arranged between the flexible flat cable 13 and the first connector 12. In the implementation process, the flexible flat cable 13 and the first connector 12 are respectively fused at the opposite ends of the second flexible circuit board 15 on the signal path. Here, the second flexible circuit board 15 can be designed as an L-shaped FPC, and the opposite ends are the opposite ends on the signal path.
[0053] In the camera module of the embodiment of the present application, the flexible cable is a flexible flat cable, and the camera module further includes: a first flexible circuit board fused to the flexible flat cable, and the camera is arranged on the first flexible circuit board; and / or a second flexible circuit board arranged between the flexible flat cable and the first connector, wherein the flexible flat cable and the first connector are respectively fused to the opposite ends of the second flexible circuit board on the signal path. In this way, the flexible circuit board can be fused to the flexible flat cable, the camera is arranged and the first connector is fused, so as to achieve the physical properties of light, thin, short and small for the flexible circuit board, so as to improve the hardware physical properties of the camera module.
[0054] In some embodiments, Figure 2B As shown, the camera module further includes a coaxial cable 16 disposed between the second flexible circuit board 15 and the first connector 12, and the second flexible circuit board 15 and the first connector 12 are electrically connected through the coaxial cable 16;
[0055] Among them, the first end of the second flexible circuit board 15 connected to the coaxial cable 16 includes a first pin extending along a first direction and a plurality of second pins arranged side by side along a second direction, the first direction is perpendicular to the second direction, and the first pin is used to fuse the shielding layer of the coaxial cable 16.
[0056] Here, coaxial cable (Coaxial Cable) 16 is a kind of electric wire and signal transmission line, can be used for the transmission of analog signal and digital signal. In the implementation process, the coaxial cable can be made of coaxial polytetrafluoroethylene (coaxial teflon) material, i.e. the cable of coaxial Teflon material.
[0057] During the implementation process, Figure 2B As shown, a coaxial cable 16 may be disposed between the second flexible circuit board 15 and the first connector 12 so that the second flexible circuit board 15 and the first connector 12 are electrically connected through the coaxial cable 16 , and the coaxial cable can transmit data signals and / or control signals.
[0058] Figure 2C A schematic diagram of the structure of a second flexible circuit board provided in an embodiment of the present application is shown in FIG. Figure 2C As shown, the structural diagram includes: A side (SIDE) 21 and B side (SIDE) 22, wherein:
[0059] The B surface 22 is the first end of the second flexible circuit board 15 connected to the coaxial cable 16. The first end 22 includes a first pin 221 extending along a first direction and a plurality of second pins 222 arranged side by side along a second direction. The first direction is perpendicular to the second direction. The first pin 221 is used to weld the shielding layer of the coaxial cable 16. The first pin 221 can be Pin33, and the second pin 222 includes Pin1 to Pin32. The shielding layer of the coaxial cable 16 can effectively prevent the interference of the external electromagnetic field on the cable and ensure the normal transmission of data.
[0060] The A surface 21 is the second end of the second flexible circuit board 15 connected to the flexible flat cable 13 . Pins 1 to 40 may be provided on the second end to achieve electrical connection between the second flexible circuit board 15 and the flexible flat cable 13 .
[0061] In an embodiment of the present application, the camera module also includes a coaxial cable arranged between the second flexible circuit board and the first connector, and the second flexible circuit board and the first connector are electrically connected through the coaxial cable; wherein the first end of the second flexible circuit board connected to the coaxial cable includes a first pin extending along a first direction and a plurality of second pins arranged side by side along a second direction, the first direction is perpendicular to the second direction, and the first pin is used to weld the shielding layer of the coaxial cable. In this way, since the polytetrafluoroethylene used in the coaxial cable is a high temperature resistant, low friction, and corrosion resistant material, it can effectively isolate the electric field between the conductors and reduce the attenuation during signal transmission. The polytetrafluoroethylene insulation layer in the coaxial cable has the advantages of low dielectric loss and stable dielectric properties, so that the coaxial cable can transmit high-quality signals. At the same time, the high temperature resistance of polytetrafluoroethylene also ensures the stability of the coaxial cable in a high temperature environment. The first pin set for welding the shielding layer of the coaxial cable can effectively prevent the interference of the external electromagnetic field on the cable and ensure the normal transmission of data.
[0062] In some embodiments, an interface expander is further provided on the first flexible circuit board, and the interface expander is used to convert the integrated circuit bus signal from the processing device into a general input and output port signal to control the camera module to perform corresponding operations; and / or,
[0063] At least one of a microphone, a radar, a light emitting element, an infrared sensor, and a distance measuring sensor is also arranged on the first flexible circuit board.
[0064] During the implementation process, the interface expander (IO Expender) obtains the integrated circuit bus signal (I2C) from the processing device and converts the I2C signal into a general-purpose input / output port signal (GPIO) to control the camera module to perform corresponding operations based on the GPIO signal, such as turning on or off the camera, identifying the manufacturer information of the camera module, turning on or off the infrared light, controlling the infrared indicator light (IR Indicate LED) or the color indicator light (RGB Indicate LED), turning off the transmission signal related to the infrared (IR) sensor or the color (RGB) image acquisition, and controlling the low dropout linear regulator (Low Dropout Regulaor, LDO) in the power supply circuit of the camera.
[0065] like Figure 2BAs shown, the first connector 12 can be designed as a 40-pin connector for connecting the coaxial cable 16 and the processing device, which is equivalent to the path between the controller (processing device) on the system side and the camera module. In the implementation process, since there are many signals required on the camera module, more cables are required. After using the IO expendor, the two I2C signals are used to replace the 8 GPIO signals, and the RGB, IR, and IO expendor share a set of I2C, which saves 2 signals. Therefore, the first connector is designed with 40Pin, which achieves a reduction in pins and a reduction in device size compared to the 50Pin connector used in the related art, and further reduces costs.
[0066] In some embodiments, at least one of a microphone, a radar, a light-emitting element, an infrared sensor, and a distance sensor is also disposed on the first flexible circuit board. The above devices can obtain corresponding GPIO control signals through the IOExpender disposed on the first flexible circuit board to realize corresponding functions based on the GPIO control signals.
[0067] In the embodiment of the present application, an interface expander is also provided on the first flexible circuit board, and the interface expander is used to convert the integrated circuit bus signal from the processing device into a universal input and output port signal to control the camera module to perform corresponding operations; and / or, at least one of a microphone, a radar, a light-emitting element, an infrared sensor, and a distance sensor is also provided on the first flexible circuit board. In this way, the provision of an interface expander can realize the conversion of the integrated circuit bus signal from the processing device into a universal input and output port signal to control the camera module to perform corresponding operations, and can effectively save the first connector pins, reduce the device volume, and further reduce the cost.
[0068] In some embodiments, the interface expander includes at least one of the following:
[0069] A first pin, used to transmit a control instruction to the infrared camera and / or the color camera of the camera module to control the working parameters of the infrared camera and / or the color camera;
[0070] The second pin is used to drive the working state of the indicator light of the camera module;
[0071] The third pin is used to drive the working state of the fill light of the camera module;
[0072] The fourth pin is used to control the power supply parameters for supplying power to the camera module.
[0073] Figure 2D A schematic diagram of the pin connection of the interface expander provided in the embodiment of the present application, such as Figure 2D As shown, the schematic diagram includes: an expander (IO Expender) 23 and several pins of the expander 23, wherein:
[0074] The IR LED EN pin is used to output a GPIO signal to drive the infrared lamp that enables the camera module; the IRIndicate LED pin is used to output a GPIO signal to control the working indicator light of the camera module; the RGBIndicate LED pin is used to output a GPIO signal to control the RGB indicator light of the camera module; the IR_XSHUTDOWN pin is used to output a GPIO signal to turn off the infrared camera of the camera module; the RGB_XSHUTDOWN pin is used to output a GPIO signal to turn off the color (RGB) camera of the camera module; the CAMER_IR_RGB_EN pin is used to output a GPIO signal to enable the linear regulator (LDO) of the peripheral control circuit of the camera module, wherein the linear regulator is used to power the camera module; the ID_Detect pin is used to obtain attribute information of the camera module identified by the GPIO signal.
[0075] Here, the first pin may include Figure 2D The IR_XSHUTDOWN pin and RGB_XSHUTDOWN pin are shown.
[0076] In the implementation process, the CAMERA_IR_RGB_EN pin can output the second general input and output port signal to control the LDO to power the camera module, and further Figure 2D The IR_XSHUTDOWN pin shown outputs a first general input / output port signal to turn off or start the infrared camera of the camera module; the RGB_XSHUTDOWN pin outputs a first general input / output port signal to turn off or start the color RGB camera of the camera module.
[0077] The second pin may include Figure 2D The IR Indicate LED pin and the RGB Indicate LED pin shown in the figure, wherein the IR Indicate LED pin is used to output the second general input and output port signal to control the IR indicator light of the camera module to enter the working state; the RGB Indicate LED pin is used to output the second general input and output port signal to control the color indicator light of the camera module to enter the working state. That is, the second pin can be used to drive the working state of the indicator light of the camera module.
[0078] The third pin can be Figure 2DThe IR LED EN pin shown can be used to output a second general input and output port signal to drive the infrared light of the camera module, that is, to drive the working state of the fill light of the camera module.
[0079] The fourth pin can be Figure 2D The CAMER_IR_RGB_EN pin shown can be used to output a second general input and output port signal to control the power supply parameters of the LDO for powering the camera module, that is, it can be used to control the power supply parameters for powering the camera module.
[0080] In some embodiments, Figure 2D As shown, the expander also includes an ID_Detect pin for obtaining attribute information of the camera module identified by using GPIO signals, including manufacturer information, parameter information, etc.
[0081] In the embodiment of the present application, the interface expander includes at least one of the following: a first pin for transmitting control instructions to the infrared camera and / or color camera of the camera module to control the working parameters of the infrared camera and / or color camera; a second pin for driving the working state of the indicator light of the camera module; a third pin for driving the working state of the fill light of the camera module; and a fourth pin for controlling the power supply parameters for supplying power to the camera module. In this way, different universal input and output port signals output by different pins of the interface expander can be used to control different cameras in the camera module and different devices in the camera peripheral circuit to realize different functions of the camera module.
[0082] The present application embodiment provides a processing device, such as Figure 3A As shown, it includes a main board 31 and a second connector for plugging in a camera module;
[0083] The second connector is used to be plugged into the first connector of the camera module, and the first connector and the second connector support the mobile industry processor interface protocol.
[0084] like Figure 3AAs shown, the first connector 12 and the second connector 311 can be designed as 40-pin connectors for connecting the camera module 30 and the mainboard 31, which is equivalent to the path between the controller (mainboard) 31 on the system side and the camera module 30. In the implementation process, since there are many signals required on the camera module, more cables are required. The IO expendor can be used in the camera module, and the two I2C signals are used to replace the 8 GPIO signals, and the RGB, IR, and IOexpendor share a set of I2C, which saves 2 signals. Therefore, the first connector is designed with 40 pins, which reduces the number of pins and the size of the device compared to the 50-pin connector used in the related art, and further reduces the cost.
[0085] During implementation, the first connector and the second connector support the mobile industry processor interface protocol MIPI to achieve transmission of data signals and / or control signals between the camera and the processing device.
[0086] The processing device in the embodiment of the present application includes a mainboard and a second connector for plugging in a camera module; wherein the second connector is plugged in with the first connector of the camera module, and the first connector and the second connector support the mobile industry processor interface protocol. In this way, the connection between the camera module and the processing device can be realized, and data communication with the MIPI camera module can be supported.
[0087] In some embodiments, the processing device is provided with an expander driver corresponding to the interface expander in the camera module, and the expander driver can transmit control instructions from the target application to the interface expander in the camera module in the form of an integrated circuit bus signal, so as to utilize the interface expander to convert the integrated circuit bus signal into a general input and output port signal, thereby controlling the camera module to perform corresponding operations.
[0088] Figure 3B A hierarchical structure diagram of a processing device and a camera module provided in an embodiment of the present application, such as Figure 3B As shown, the hierarchical structure diagram includes: an application layer 32, a user mode / kernel mode driver layer 33, a firmware layer 34, a mainboard hardware layer 35 and a camera module hardware layer 36, wherein:
[0089] An expander driver (IO Expender Driver) 331 corresponding to the expander in the camera module is set in the user mode / kernel mode driver layer 33 of the processing device. The expander driver 331 can pass the control instructions from the camera application in the target application layer 32 in the form of I2C through the expander firmware in the firmware layer 34 to the expander in the camera module hardware layer 36, thereby using the interface expander to convert the I2C signal into a GPIO signal, thereby controlling the camera module to perform corresponding operations.
[0090] In some embodiments, the camera module can be controlled to perform corresponding operations based on the GPIO signal, such as turning on or off the camera, identifying the manufacturer information of the camera module, turning on or off the infrared light, controlling the infrared indicator light (IR Indicate LED) or the color indicator light (RGB Indicate LED), turning off the transmission signal related to the infrared (IR) sensor or the color (RGB) image acquisition, controlling the low dropout linear regulator (Low Dropout Regulaor, LDO) in the power supply circuit of the camera, etc.
[0091] In the embodiment of the present application, the processing device is provided with an expander driver corresponding to the interface expander in the camera module, and the expander driver can transmit the control instruction from the target application to the interface expander in the camera module in the form of an integrated circuit bus signal, so as to use the interface expander to convert the integrated circuit bus signal into a universal input and output port signal, and control the camera module to perform corresponding operations. In this way, the expander driver provided in the processing device can be used to drive the interface expander in the camera module to convert the integrated circuit bus signal into a universal input and output port signal, so as to realize the use of the input and output port signal to control the camera module to perform corresponding operations.
[0092] The present application embodiment provides a control method, which is applied to a processing device, such as Figure 4A As shown, the following steps are included:
[0093] Step S410: in response to running a target application or a target application process, sending a first integrated circuit bus signal to a camera module plugged into the processing device;
[0094] Here, the target application can be Figure 3B The camera application of the application layer shown; the target application process can be other application processes that call the camera application, such as the video chat process in WeChat, the video conferencing process in the conference software, and other application processes.
[0095] The first integrated circuit bus signal may be a signal for calling the camera, or a control signal for starting the camera. For example, the first integrated circuit bus signal may be a signal for controlling the infrared camera and / or the color camera of the camera module to perform a start-up operation.
[0096] Step S420: using the interface expander in the camera module to convert the first integrated circuit bus signal into a corresponding first general input / output port signal to control the working parameters of the infrared camera and / or color camera of the camera module.
[0097] During the implementation process, Figure 2D The interface expander 23 shown converts the first integrated circuit bus signal into a corresponding first universal input / output port signal, and then uses the IR_XSHUTDOWN pin to output the first universal input / output port signal to turn off or start the infrared camera of the camera module; the RGB_XSHUTDOWN pin outputs the first universal input / output port signal to turn off or start the color camera of the camera module.
[0098] In the embodiment of the present application, in response to running the target application or the target application process, a first integrated circuit bus signal is sent to the camera module plugged into the processing device; the first integrated circuit bus signal is converted into a corresponding first universal input / output port signal by using the interface expander in the camera module to control the working parameters of the infrared camera and / or the color camera of the camera module. In this way, the first integrated circuit bus signal can be converted into a corresponding first universal input / output port signal by using the interface expander, so as to realize the working parameters of the infrared camera and / or the color camera of the camera module by controlling the first universal input / output port signal.
[0099] In some embodiments, the interface expander is further capable of converting the first integrated circuit bus signal into a corresponding at least one second general purpose input / output port signal to perform at least one of the following operations:
[0100] Controlling power supply parameters for supplying power to the camera module;
[0101] A working state of the indicator light driving the camera module;
[0102] The working state of the fill light driving the camera module.
[0103] In the embodiment of the present application, the second universal input / output port signal is used to perform at least one of the following operations: controlling the power supply parameters for supplying power to the camera module; driving the working state of the indicator light of the camera module; driving the working state of the fill light of the camera module. In this way, different universal input / output port signals output by the interface expander can be used to control different devices in the camera peripheral circuit in the camera module to realize different functions of the camera module.
[0104] In some embodiments, the control method further comprises at least one of the following steps:
[0105] Step S430: sending a second integrated circuit bus signal to the camera module to control a microphone, a radar or a light-emitting element provided on the camera module to enter a corresponding working state;
[0106] During implementation, the interface expander on the camera module can be used to convert the second integrated circuit bus signal into a second universal input and output port signal, that is, other control signals can be triggered at the same time to control other components of the camera to perform corresponding operations. For example, the second integrated circuit bus signal can also control the working status of other components such as radar, microphone, light-emitting element, infrared sensor, and distance sensor.
[0107] Figure 4B A schematic diagram of a connection line between a camera module and a control chip provided in an embodiment of the present application, such as Figure 4B As shown, the schematic diagram includes: a control chip 41, a camera 42, an interface expander 43, discrete components and / or logic control 44 and an indicator light 45, wherein:
[0108] The control chip 41 is arranged in the processing device; the camera 42, the interface expander 43, the discrete components & logic control 44 and the indicator light 45 are arranged in the camera module.
[0109] During the implementation process, the control chip can use the I2C driver to output the I2C signal to the interface expander 43, and the interface expander 43 can convert the I2C signal into a GPIO signal, and output the GPIO signal to control the discrete components on the camera module and / or implement the logic control 44, wherein the discrete components include at least one of the following sensors: radar, microphone, light-emitting component, infrared sensor, ranging sensor; the logic control can control the LDO that provides power for the camera and indicator light; the GPIO signal can also control the indicator light 45.
[0110] Step S440, obtaining resource usage information of the processing device, and adjusting the image parameters of the image data fed back by the camera module based on the target transmission path based on the resource usage information, wherein the target transmission path includes a path formed by connecting a camera, a first flexible printed circuit board, a flexible flat cable, a first connector, and a second connector in sequence.
[0111] Here, the resource usage information of the processing device includes information such as the network status of the processing device, the processing capability of the processing device, etc. The image parameters include at least one of the following: resolution, image frame rate, image size, etc.
[0112] In the implementation process, the resolution and / or acquisition frame rate of the camera can be adjusted based on the resource usage information. For example, when it is determined that the network transmission rate of the processing device is lower than the preset rate threshold, the resolution and / or acquisition frame rate of the camera can be lowered.
[0113] like Figure 2A As shown, the target transmission path includes a camera 11, a first flexible circuit board 14, a flexible flat cable 13, a first connector 12 and Figure 3A The second connector 311 shown connects the constructed paths in sequence.
[0114] In an embodiment of the present application, a second integrated circuit bus signal is sent to the camera module to control the microphone, radar or light-emitting device provided on the camera module to enter a corresponding working state; resource usage information of the processing device is obtained, and image parameters of the image data fed back by the camera module based on the target transmission path are adjusted based on the resource usage information, wherein the target transmission path includes a path formed by sequentially connecting a camera, a first flexible circuit board, a flexible flat cable, a first connector and a second connector. In this way, the control of the microphone, radar or light-emitting device on the camera module can be achieved; and the image parameters of the image data fed back by the target transmission path can be adjusted based on the resource information, so that the adjusted image parameters can adapt to the network conditions of the processing device and the processing capacity of the processing device, so as to achieve the best matching effect.
[0115] Based on the foregoing embodiments, an embodiment of the present application provides a control device, which includes the modules included, each module includes each sub-module, each sub-module includes a unit, which can be implemented by a processor in an electronic device; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.
[0116] Figure 5 A schematic diagram of the structure of the control device provided in the embodiment of the present application is shown in FIG. Figure 5 As shown, the device 500 includes:
[0117] A first sending module 510, configured to send a first integrated circuit bus signal to a camera module plugged into the processing device in response to running a target application or a target application process;
[0118] The control module 520 is used to use the interface expander in the camera module to convert the first integrated circuit bus signal into a corresponding first universal input and output port signal to control the working parameters of the infrared camera and / or color camera of the camera module.
[0119] In some embodiments, the interface expander is also capable of converting the first integrated circuit bus signal into a corresponding at least one second general input and output port signal, and the device also includes at least one of the following modules: a first control module, used to control the power supply parameters for supplying power to the camera module; a second control module, used to drive the working status of the indicator light of the camera module; a third control module, used to drive the working status of the fill light of the camera module.
[0120] In some embodiments, the device also includes at least one of the following modules: a second sending module, used to send a second integrated circuit bus signal to the camera module to control the microphone, radar or light-emitting component arranged on the camera module to enter a corresponding working state; an adjustment module, used to obtain resource usage information of a processing device, and adjust the image parameters of the image data fed back by the camera module based on the target transmission path based on the resource usage information, wherein the target transmission path includes a path formed by connecting a camera, a first flexible printed circuit board, a flexible flat cable, a first connector and a second connector in sequence.
[0121] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0122] It should be noted that in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable an electronic device (which can be a mobile phone, a tablet computer, a laptop computer, a desktop computer, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.
[0123] Correspondingly, an embodiment of the present application provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the control method provided in the above embodiment are implemented.
[0124] Correspondingly, an embodiment of the present application provides an electronic device, Figure 6 A hardware entity diagram of an electronic device provided in an embodiment of the present application, such as Figure 6 As shown, the hardware entity of the device 600 includes: a memory 601 and a processor 602, wherein the memory 601 stores a computer program that can be run on the processor 602, and the processor 602 implements the steps of the control method provided in the above embodiment when executing the program.
[0125] The memory 601 is configured to store instructions and applications executable by the processor 602, and can also cache data to be processed or processed by the processor 602 and various modules in the electronic device 600 (for example, image data, audio data, voice communication data, and video communication data), which can be implemented through flash memory (FLASH) or random access memory (Random Access Memory, RAM).
[0126] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
[0127] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.
[0128] 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 device 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 device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0129] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0130] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0131] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0132] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0133] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable an electronic device (which can be a mobile phone, a tablet computer, a laptop computer, a desktop computer, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0134] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0135] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0136] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0137] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A camera module, include: Camera; A first connector, used to connect the camera module to a processing device; A flexible cable disposed between the camera and the first connector, for transmitting data signals and / or control signals between the camera and the processing device; Wherein, the flexible cable is arranged between the camera and the first connector by welding or bonding.
2. The camera module according to claim 1, in, The flexible cable is a flexible flat cable, and the camera module further includes: A first flexible circuit board fused to the flexible flat cable, wherein the camera is arranged on the first flexible circuit board; and / or, A second flexible circuit board is disposed between the flexible flat cable and the first connector, wherein the flexible flat cable and the first connector are respectively fused to opposite ends of the second flexible circuit board on a signal path.
3. The camera module according to claim 2, in, The camera module further includes a coaxial cable disposed between the second flexible circuit board and the first connector, and the second flexible circuit board and the first connector are electrically connected through the coaxial cable; Among them, the first end of the second flexible circuit board connected to the coaxial cable includes a first pin extending along a first direction and a plurality of second pins arranged side by side along a second direction, the first direction is perpendicular to the second direction, and the first pin is used to fuse the shielding layer of the coaxial cable.
4. The camera module according to claim 2, in, An interface expander is also provided on the first flexible circuit board, and the interface expander is used to convert the integrated circuit bus signal from the processing device into a general input and output port signal to control the camera module to perform corresponding operations; and / or, At least one of a microphone, a radar, a light emitting element, an infrared sensor, and a distance measuring sensor is also arranged on the first flexible circuit board.
5. The camera module according to claim 4, in, The interface expander includes at least one of the following: A first pin, used to transmit a control instruction to the infrared camera and / or the color camera of the camera module to control the working parameters of the infrared camera and / or the color camera; A second pin is used to drive the working state of the indicator light of the camera module; The third pin is used to drive the working state of the fill light of the camera module; The fourth pin is used to control the power supply parameters for supplying power to the camera module.
6. A processing device, comprising a mainboard and a camera module plugged into any one of claims 1 to 5; in, The mainboard is provided with a second connector for plugging into the first connector of the camera module, and the first connector and the second connector support a mobile industry processor interface protocol.
7. The processing device according to claim 6, in, The processing device is provided with an expander driver corresponding to the interface expander in the camera module. The expander driver can transmit control instructions from the target application to the interface expander in the camera module in the form of an integrated circuit bus signal, so as to utilize the interface expander to convert the integrated circuit bus signal into a general input and output port signal, thereby controlling the camera module to perform corresponding operations.
8. A control method, applied to a processing device, the method include: In response to running a target application or a target application process, sending a first integrated circuit bus signal to a camera module plugged into the processing device; The interface expander in the camera module is used to convert the first integrated circuit bus signal into a corresponding first general input and output port signal to control the working parameters of the infrared camera and / or color camera of the camera module.
9. The method according to claim 8, in, The interface expander is also capable of converting the first integrated circuit bus signal into a corresponding at least one second general purpose input / output port signal to perform at least one of the following operations: Controlling power supply parameters for supplying power to the camera module; A working state of the indicator light driving the camera module; The working state of the fill light driving the camera module.
10. The method according to claim 8, further comprising at least one of the following: Sending a second integrated circuit bus signal to the camera module to control a microphone, a radar or a light-emitting element arranged on the camera module to enter a corresponding working state; obtaining resource usage information of a processing device, and adjusting image parameters of image data fed back by the camera module based on the target transmission path based on the resource usage information, in, The target transmission path includes a path formed by sequentially connecting a camera, a first flexible circuit board, a flexible flat cable, a first connector and a second connector.
