CN116266885A - Camera module control method, device, electronic equipment and storage medium - Google Patents

Camera module control method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116266885A
CN116266885A CN202111543865.9A CN202111543865A CN116266885A CN 116266885 A CN116266885 A CN 116266885A CN 202111543865 A CN202111543865 A CN 202111543865A CN 116266885 A CN116266885 A CN 116266885A
Authority
CN
China
Prior art keywords
camera module
sensor
module
motion data
communication bus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111543865.9A
Other languages
Chinese (zh)
Inventor
吉高平
司飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202111543865.9A priority Critical patent/CN116266885A/en
Publication of CN116266885A publication Critical patent/CN116266885A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention relates to a camera module control method, a camera module control device, an electronic device and a storage medium, wherein the camera module control method is applied to terminal equipment, and the terminal equipment is provided with a communication bus, a controller, a sensor, a first camera module and a second camera module which are respectively connected with the communication bus; the control method comprises the following steps: under the condition that any one of the first camera module and the second camera module is started, the controller acquires the motion data acquired by the sensor through the communication bus; one of the first camera module and the second camera module in a starting state acquires the motion data transmitted on the communication bus, and the other of the first camera module and the second camera module is in a closing state; and one of the first camera module and the second camera module in a starting state determines a control parameter according to the motion data.

Description

Camera module control method, device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of terminal equipment, and in particular relates to a camera module control method, a camera module control device, electronic equipment and a storage medium.
Background
With the development of scientific technology, the development of terminal devices such as smart phones and the like is rapid, and various aspects have made a lot of breakthrough progress, for example, the shooting function is more and more abundant, and the quality of shot images and videos is higher and higher. At present, the camera module of the terminal equipment has optical anti-shake technology and the like, and can solve the problem that the shake of the terminal equipment in the shooting process affects the quality of images and videos. In the anti-shake technology, the camera shooting module can acquire motion data from the sensor, and based on the motion data, the camera shooting module is controlled to counteract the influence caused by shake through motion. However, in the related art, the plurality of camera modules and the sensor are mutually affected when in communication, so that the stability of the anti-shake function is poor, the power consumption is higher, and the program is complex.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a method, an apparatus, an electronic device, and a storage medium for controlling an image capturing module, which are used for solving the drawbacks in the related art.
According to a first aspect of embodiments of the present disclosure, there is provided a camera module control method applied to a terminal device, where the terminal device has a communication bus, a controller connected to the communication bus, a sensor first camera module and a sensor second camera module; the control method comprises the following steps:
under the condition that any one of the first camera module and the second camera module is started, the controller acquires the motion data acquired by the sensor through the communication bus;
one of the first camera module and the second camera module in a starting state acquires the motion data transmitted on the communication bus, and the other of the first camera module and the second camera module is in a closing state;
and one of the first camera module and the second camera module in a starting state determines a control parameter according to the motion data.
In one embodiment, further comprising:
under the condition that the first camera module and the second camera module are started, the controller acquires the motion data acquired by the sensor through the communication bus;
the first camera module obtains the motion data transmitted on the communication bus, and the second camera module obtains the motion data transmitted on the communication bus;
the first camera module determines a first control parameter according to the motion data, and the second camera module determines a second control parameter according to the motion data.
In one embodiment, further comprising:
the controller performs initialization configuration on the sensor through the communication bus so as to establish communication connection with the sensor.
In one embodiment, the sensor includes at least one of a gyroscope sensor, an acceleration sensor, and a hall sensor, and the control parameter includes an anti-shake parameter.
According to a second aspect of embodiments of the present disclosure, there is provided a camera module control apparatus applied to a terminal device, the terminal device having a communication bus, a controller, a sensor, and a first camera module and a second camera module connected to the communication bus, respectively; the control device includes:
the first acquisition module is used for controlling the controller to acquire the motion data acquired by the sensor through the communication bus under the condition that any one of the first camera module and the second camera module is started;
the second acquisition module is used for controlling one of the first camera module and the second camera module in a starting state to acquire the motion data transmitted on the communication bus and controlling the other of the first camera module and the second camera module in a closing state;
and the determining module is used for controlling one of the first camera shooting module and the second camera shooting module in a starting state to determine control parameters according to the motion data.
In one embodiment, further comprising:
the third acquisition module is used for controlling the controller to acquire the motion data acquired by the sensor through the communication bus under the condition that the first camera module and the second camera module are started;
the fourth control module is used for controlling the first camera module to acquire the motion data transmitted on the communication bus and controlling the second camera module to acquire the motion data transmitted on the communication bus;
and the fifth control module is used for controlling the first camera module to determine a first control parameter according to the motion data and controlling the second camera module to determine a second control parameter according to the motion data.
In one embodiment, the system further comprises a communication module for:
and controlling the controller to perform initialization configuration on the sensor through the communication bus so as to establish communication connection with the sensor.
In one embodiment, the sensor includes at least one of a gyroscope sensor, an acceleration sensor, and a hall sensor, and the control parameter includes an anti-shake parameter.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device comprising a memory for storing computer instructions executable on a processor for performing the camera module control method according to the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first aspect.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
according to the method, the communication bus and the controller, the sensor, the first camera module and the second camera module which are respectively connected with the communication bus are arranged in the terminal equipment, so that under the condition that any one of the first camera module and the second camera module is started, the controller can acquire the motion data acquired by the sensor through the communication bus, then one of the first camera module and the second camera module which is in a starting state acquires the motion data transmitted on the communication bus, the other of the first camera module and the second camera module is in a closing state, and finally one of the first camera module and the second camera module which is in the starting state determines the control parameters according to the motion data. Because one of the first camera shooting module and the second camera shooting module is in a starting state and when the other of the first camera shooting module and the second camera shooting module is in a closing state, the two camera shooting modules can respectively and independently acquire the motion data and have no dependency relationship with each other, so that the stability of the function related to the control parameter is improved, the power consumption and the program complexity of the function can be reduced, for example, when the control parameter is an anti-shake control parameter, the stability of the anti-shake function can be improved, and the power consumption and the complexity of the anti-shake function are reduced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flowchart of a camera module control method shown in an exemplary embodiment of the present disclosure;
FIG. 2 is a schematic diagram of the connections of a controller, a sensor, and a camera module shown in an exemplary embodiment of the present disclosure;
fig. 3 is a schematic structural view of an image pickup module control apparatus according to an exemplary embodiment of the present disclosure;
fig. 4 is a block diagram of an electronic device shown in an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
With the development of scientific technology, the development of terminal devices such as smart phones and the like is rapid, and various aspects have made a lot of breakthrough progress, for example, the shooting function is more and more abundant, and the quality of shot images and videos is higher and higher. At present, the camera module of the terminal equipment has optical anti-shake technology and the like, and can solve the problem that the shake of the terminal equipment in the shooting process affects the quality of images and videos. In the anti-shake technology, the camera shooting module can acquire motion data from the sensor, and based on the motion data, the camera shooting module is controlled to counteract the influence caused by shake through motion. However, in the related art, the plurality of camera modules and the sensor are mutually affected when in communication, so that the stability of the anti-shake function is poor, the power consumption is higher, and the program is complex.
For example, the plurality of camera modules have OIS (Optical image stabilization, optical anti-shake) function, a driving chip is arranged in the camera module, an MCU (Microcontroller Unit, micro control unit) is arranged in the driving chip, the camera module further has a driving structure such as a motor, and the driving chip can acquire signals of a motion sensor such as a gyroscope and calculate driving parameters of the driving structure according to the acquired signals. The camera modules can be connected through SPI (Serial Peripheral Interface ) communication bus, wherein, the gyroscope is in the slave mode, one camera module is in the host mode, and is responsible for communicating with the gyroscope to acquire signals, and other camera modules are in the monitoring mode, and acquire signals through the communication of the camera module and the gyroscope in the host mode. Therefore, when the camera module in the monitoring mode is opened, the camera module in the host mode is required to be in a working state and is in charge of communication with the gyroscope to acquire signals, and one camera module is in the host mode and one camera module is in the monitoring mode, so that the power consumption of the terminal equipment is higher; moreover, when the camera module in the host mode works in a fault, signals of the gyroscope cannot be acquired, other camera modules can lose the anti-shake effect at the same time, and the stability of the anti-shake function is poor; furthermore, from the software development level, a host camera module for acquiring signals of the gyroscope needs to be configured for each camera module in a monitoring mode, so that the process is complicated.
Based on this, in a first aspect, at least one embodiment of the present disclosure provides a camera module control method, please refer to fig. 1, which illustrates a flow of the method, including step S101 and step S103.
The camera module control method can be applied to terminal equipment such as a smart phone and the like, and the terminal equipment is provided with a communication bus, a controller, a sensor, a first camera module and a second camera module which are respectively connected with the communication bus. The controller can be a main control chip of the terminal equipment or a MCU (Microcontroller Unit, micro control unit) special for the method. The sensor is a motion sensor and is used for collecting motion data of the terminal equipment, for example, the sensor can be at least one of a gyroscope sensor, an acceleration sensor and a Hall sensor, the gyroscope sensor can collect angular velocity of the terminal equipment, the acceleration sensor can collect acceleration of the terminal equipment, and the Hall sensor can collect Hall data of the terminal equipment. The first camera shooting module and the second camera shooting module have anti-shake functions such as OIS, drive structures such as a drive chip and a motor are arranged in the first camera shooting module and the second camera shooting module, and the motor can drive the camera shooting module to move so as to offset the influence generated by shake.
In step S101, when any one of the first camera module and the second camera module is started, the controller acquires the motion data acquired by the sensor through the communication bus.
When the program run by the terminal device needs to use the camera module, at least one camera module is controlled to be started, for example, when the terminal device runs the camera module, the camera module is started, for example, when the terminal device runs a sweeping function in a certain application program, the camera module is started, and the like. When the program run by the terminal equipment does not need to use the camera module, the camera module is controlled to be closed.
The condition that any one of the first camera module and the second camera module is started refers to that the first camera module is started, and meanwhile, the second camera module is closed, or the second camera module is started, and meanwhile, the first camera module is closed. It should be noted that, the terminal device may have other camera modules besides the first camera module and the second camera module, and this embodiment uses two camera modules of the first camera module and the second camera module in the multiple camera modules of the terminal device as an example to illustrate the relationship when the different camera modules are started.
The sensor may be at least one of a gyro sensor, an acceleration sensor, and a hall sensor. The data collected by the sensor may be at least one of angular velocity of the terminal device collected by the gyro sensor, acceleration of the terminal device collected by the acceleration sensor, and hall data of the terminal device collected by the hall sensor.
In an example, referring to fig. 2, the controller, the sensor, the first camera module, the second camera module, and the like are connected to the SPI communication bus, wherein the controller is configured in a master mode, the sensor is configured in a slave mode, and the camera module in a start-up state is configured in a listening mode. Among them, the SPI communication bus may include a data line (SDI/O), a clock signal line (CLK), and a chip select signal line (CS). The controller in master mode in this step thus acquires motion data from the sensor in slave mode. In addition, the controller can also perform initialization configuration on the sensor through the communication bus in advance so as to establish communication connection with the sensor, so that motion data can be acquired from the sensor later.
In step S102, one of the first camera module and the second camera module in an on state acquires the motion data transmitted on the communication bus, and the other of the first camera module and the second camera module is in an off state.
The motion data transmitted on the communication bus is the motion data acquired from the sensor by the controller. That is, the controller is capable of synchronously receiving motion data acquired by the sensor, wherein one of the first camera module and the second camera module is in an activated state.
That is, the started camera module can acquire motion data from the communication bus, other camera modules are in a closed state, and the camera module in the closed state does not acquire the motion data, so that the energy consumption is reduced, and the efficiency is improved.
In an example, referring to fig. 2, the controller, the sensor, the first camera module, the second camera module, and the like are connected to the SPI communication bus, where the controller is configured in a master mode, the sensor is configured in a slave mode, and the camera module in a start-up state is configured in a listening mode. Among them, the SPI communication bus may include a data line (SDI/O), a clock signal line (CLK), and a chip select signal line (CS). Therefore, in the step, the first camera module or the second camera module in the monitoring mode acquires the motion data from the host to the slave from the SPI communication bus.
In step S103, one of the first camera module and the second camera module in an activated state determines a control parameter according to the motion data.
Optionally, the control parameter is an anti-shake parameter, that is, one of the first image capturing module and the second image capturing module in a starting state determines the anti-shake parameter according to the motion data, where the anti-shake parameter may be a motion parameter of a driving structure such as a motor, and the image capturing module may drive the driving structure such as the motor according to the anti-shake parameter, so that the image capturing module moves to offset an influence of shake on the image capturing module.
According to the method, the communication bus and the controller, the sensor, the first camera module and the second camera module which are respectively connected with the communication bus are arranged in the terminal equipment, so that under the condition that any one of the first camera module and the second camera module is started, the controller can acquire the motion data acquired by the sensor through the communication bus, then one of the first camera module and the second camera module which is in a starting state acquires the motion data transmitted on the communication bus, the other of the first camera module and the second camera module is in a closing state, and finally one of the first camera module and the second camera module which is in the starting state determines the control parameters according to the motion data. Because one of the first camera shooting module and the second camera shooting module is in a starting state and when the other of the first camera shooting module and the second camera shooting module is in a closing state, the two camera shooting modules can respectively and independently acquire the motion data and have no dependency relationship with each other, so that the stability of the function related to the control parameter is improved, the power consumption and the program complexity of the function can be reduced, for example, when the control parameter is an anti-shake control parameter, the stability of the anti-shake function can be improved, and the power consumption and the complexity of the anti-shake function are reduced.
In some embodiments of the present disclosure, the first camera module and the second camera module may also both be activated, in which case the first camera module and the second camera module may acquire motion data and determine control parameters in the following manner: firstly, under the condition that the first camera shooting module and the second camera shooting module are started, the controller acquires motion data acquired by the sensor through the communication bus; the first camera module obtains the motion data transmitted on the communication bus, and the second camera module obtains the motion data transmitted on the communication bus; the first camera module determines a first control parameter according to the motion data, and the second camera module determines a second control parameter according to the motion data.
When the first camera shooting module and the second camera shooting module are in a starting state, the two camera shooting modules acquire motion data from the communication bus, and control and determine respective control parameters according to the motion data. As can be seen from the embodiment shown in fig. 1, when at least one of the first camera module and the second camera module is started, the controller obtains the motion data collected by the sensor through the communication bus, and the first camera module and/or the second camera module in the starting state obtains the motion data transmitted on the communication bus, and determines the control parameters according to the motion data.
It can be understood that the terminal device may further include other camera modules besides the first camera module and the second camera module, and in this embodiment, the first camera module and the second camera module are started and acquire motion data, and the other camera modules are in a closed state. When at least one camera module is in a starting state, the controller can acquire the motion data acquired by the sensor through the communication bus, and the camera module in the starting state can acquire the motion data transmitted on the communication bus and determine control parameters such as anti-shake parameters and the like according to the motion data.
According to a second aspect of embodiments of the present disclosure, there is provided a camera module control apparatus applied to a terminal device, the terminal device having a communication bus, a controller, a sensor, a first camera module, and a second camera module, which are respectively connected to the communication bus; referring to fig. 3, the control device includes:
a first obtaining module 301, configured to control the controller to obtain, through the communication bus, motion data collected by the sensor when any one of the first camera module and the second ray module is started;
a second obtaining module 302, configured to control one of the first camera module and the second camera module in an on state to obtain the motion data transmitted on the communication bus, and control the other of the first camera module and the second camera module in an off state;
and the determining module 303 is configured to control one of the first camera module and the second camera module in a start state to determine a control parameter according to the motion data.
In some embodiments of the present disclosure, further comprising:
the third acquisition module is used for controlling the controller to acquire the motion data acquired by the sensor through the communication bus under the condition that the first camera module and the second camera module are started;
the fourth control module is used for controlling the first camera module to acquire the motion data transmitted on the communication bus and controlling the second camera module to acquire the motion data transmitted on the communication bus;
a fifth control module for controlling the first camera module to determine a first control parameter according to the motion data and controlling the second camera module to determine a second control parameter according to the motion data
In some embodiments of the present disclosure, a communication module is further included for:
and controlling the controller to perform initialization configuration on the sensor through the communication bus so as to establish communication connection with the sensor.
In some embodiments of the present disclosure, the sensor includes at least one of a gyroscope sensor, an acceleration sensor, and a hall sensor, and the control parameter includes an anti-shake parameter.
The specific manner in which the various modules perform the operations in relation to the apparatus of the above embodiments has been described in detail in relation to the embodiments of the method of the first aspect and will not be described in detail here.
In accordance with a third aspect of embodiments of the present disclosure, reference is made to fig. 4, which schematically illustrates a block diagram of an electronic device. For example, apparatus 400 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 4, apparatus 400 may include one or more of the following components: a processing component 402, a memory 404, a power supply component 406, a multimedia component 408, an audio component 410, an input/output (I/O) interface 412, a sensor component 414, and a communication component 416.
The processing component 402 generally controls the overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 402 may include one or more processors 420 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
Memory 404 is configured to store various types of data to support operations at device 400. Examples of such data include instructions for any application or method operating on the apparatus 400, contact data, phonebook data, messages, pictures, videos, and the like. The memory 404 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 406 provides power to the various components of the device 400. The power components 406 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 400.
The multimedia component 408 includes a screen between the device 400 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation. In some embodiments, the multimedia component 408 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 410 is configured to output and/or input audio signals. For example, the audio component 410 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 further includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 414 includes one or more sensors for providing status assessment of various aspects of the apparatus 400. For example, the sensor assembly 414 may detect the on/off state of the device 400, the relative positioning of the components, such as the display and keypad of the device 400, the sensor assembly 414 may also detect the change in position of the device 400 or a component of the device 400, the presence or absence of user contact with the device 400, the orientation or acceleration/deceleration of the device 400, and the change in temperature of the device 400. The sensor assembly 414 may also include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate communication between the apparatus 400 and other devices in a wired or wireless manner. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi,2G or 3G,4G or 5G, or a combination thereof. In one exemplary embodiment, the communication part 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the power supply methods of electronic devices described above.
In a fourth aspect, the present disclosure also provides, in an exemplary embodiment, a non-transitory computer-readable storage medium, such as memory 404, comprising instructions executable by processor 420 of apparatus 400 to perform the method of powering an electronic device described above. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. The camera module control method is characterized by being applied to terminal equipment, wherein the terminal equipment is provided with a communication bus, a controller, a sensor, a first camera module and a second camera module, wherein the controller, the sensor, the first camera module and the second camera module are respectively connected with the communication bus; the control method comprises the following steps:
under the condition that any one of the first camera module and the second camera module is started, the controller acquires the motion data acquired by the sensor through the communication bus;
one of the first camera module and the second camera module in a starting state acquires the motion data transmitted on the communication bus, and the other of the first camera module and the second camera module is in a closing state;
and one of the first camera module and the second camera module in a starting state determines a control parameter according to the motion data.
2. The image capturing module control method according to claim 1, further comprising:
under the condition that the first camera module and the second camera module are started, the controller acquires the motion data acquired by the sensor through the communication bus;
the first camera module obtains the motion data transmitted on the communication bus, and the second camera module obtains the motion data transmitted on the communication bus;
the first camera module determines a first control parameter according to the motion data, and the second camera module determines a second control parameter according to the motion data.
3. The image capturing module control method according to claim 1 or 2, further comprising:
the controller performs initialization configuration on the sensor through the communication bus so as to establish communication connection with the sensor.
4. The image capturing module control method according to claim 1 or 2, wherein the sensor includes at least one of a gyro sensor, an acceleration sensor, and a hall sensor, and the control parameter includes an anti-shake parameter.
5. The camera module control device is characterized by being applied to terminal equipment, wherein the terminal equipment is provided with a communication bus, a controller, a sensor, a first camera module and a second camera module, wherein the controller, the sensor, the first camera module and the second camera module are respectively connected with the communication bus; the control device includes:
the first acquisition module is used for controlling the controller to acquire the motion data acquired by the sensor through the communication bus under the condition that any one of the first camera module and the second ray module is started;
the second acquisition module is used for controlling one of the first camera module and the second camera module in a starting state to acquire the motion data transmitted on the communication bus and controlling the other of the first camera module and the second camera module in a closing state;
and the determining module is used for controlling one of the first camera shooting module and the second camera shooting module in a starting state to determine control parameters according to the motion data.
6. The camera module control apparatus according to claim 5, further comprising:
the third acquisition module is used for controlling the controller to acquire the motion data acquired by the sensor through the communication bus under the condition that the first camera module and the second camera module are started;
the fourth control module is used for controlling the first camera module to acquire the motion data transmitted on the communication bus and controlling the second camera module to acquire the motion data transmitted on the communication bus;
and the fifth control module is used for controlling the first camera module to determine a first control parameter according to the motion data and controlling the second camera module to determine a second control parameter according to the motion data.
7. The camera module control apparatus according to claim 5 or 6, further comprising a communication module configured to:
and controlling the controller to perform initialization configuration on the sensor through the communication bus so as to establish communication connection with the sensor.
8. The camera module control apparatus according to claim 5 or 6, wherein the sensor includes at least one of a gyro sensor, an acceleration sensor, and a hall sensor, and the control parameter includes an anti-shake parameter.
9. An electronic device comprising a memory, a processor for storing computer instructions executable on the processor, the processor for executing the computer instructions based on the camera module control method of any one of claims 1 to 4.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method of any of claims 1 to 4.
CN202111543865.9A 2021-12-16 2021-12-16 Camera module control method, device, electronic equipment and storage medium Pending CN116266885A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111543865.9A CN116266885A (en) 2021-12-16 2021-12-16 Camera module control method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111543865.9A CN116266885A (en) 2021-12-16 2021-12-16 Camera module control method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116266885A true CN116266885A (en) 2023-06-20

Family

ID=86742771

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111543865.9A Pending CN116266885A (en) 2021-12-16 2021-12-16 Camera module control method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116266885A (en)

Similar Documents

Publication Publication Date Title
WO2021093793A1 (en) Capturing method and electronic device
CN109584879B (en) Voice control method and electronic equipment
WO2021213477A1 (en) Viewfinding method for multichannel video recording, graphic user interface, and electronic device
EP3136793B1 (en) Method and apparatus for awakening electronic device
US20170304735A1 (en) Method and Apparatus for Performing Live Broadcast on Game
EP3136230B1 (en) Method and client terminal for remote assistance
EP3032821B1 (en) Method and device for shooting a picture
EP3512190A1 (en) Method and device for acquiring image, terminal and computer-readable storage medium
JP7355941B2 (en) Shooting method and device in long focus scenario
EP3176776A1 (en) Luminance adjusting method and apparatus, computer program and recording medium
US9491371B2 (en) Method and device for configuring photographing parameters
KR20170037868A (en) Method and device for shooting control
EP3046212A1 (en) Method and apparatus for controlling charging of terminal device
RU2664674C2 (en) Method and apparatus for creating a panorama
KR101788496B1 (en) Method and apparatus for controlling video image and terminal
EP3322227B1 (en) Methods and apparatuses for controlling wireless connection, computer program and recording medium
US20230353862A1 (en) Image capture method, graphic user interface, and electronic device
EP3016236A1 (en) Power supply circuit and electronic equipment
CN108629814B (en) Camera adjusting method and device
CN112217987B (en) Shooting control method and device and storage medium
CN111651441B (en) Data processing method and device and computer storage medium
CN112188034A (en) Image processing method, device, terminal equipment and medium
CN114339019B (en) Focusing method, focusing device and storage medium
CN116266885A (en) Camera module control method, device, electronic equipment and storage medium
CN108769513B (en) Camera photographing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination