WO2021139694A1 - 控制方法、装置及电子设备 - Google Patents
控制方法、装置及电子设备 Download PDFInfo
- Publication number
- WO2021139694A1 WO2021139694A1 PCT/CN2021/070514 CN2021070514W WO2021139694A1 WO 2021139694 A1 WO2021139694 A1 WO 2021139694A1 CN 2021070514 W CN2021070514 W CN 2021070514W WO 2021139694 A1 WO2021139694 A1 WO 2021139694A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- rotation speed
- magnetic flux
- magnetic field
- driving device
- camera module
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/695—Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects
Definitions
- the present invention relates to the field of communication technology, in particular to a control method, device and electronic equipment.
- the liftable camera module is mainly driven by a stepper motor in the electronic device to provide the driving force for the liftable camera module, and the stepper motor can control the rising and falling of the liftable camera module and the magnet.
- the magnetic flux detected by the Hall switch in the electronic device will change with the movement of the magnet, so the magnetic flux detected by the Hall switch can be used to determine whether the liftable camera module is stretched in place .
- the lifting distance of the liftable camera module is limited, and the rising time reserved for the liftable camera module may be longer.
- the liftable camera module can rise to the top within 0.6 seconds, but the reserved rising time It may be set to 0.8 seconds. If the liftable camera module has been raised to the top, and the stepping motor still provides driving force for the liftable camera module at a high speed, it will cause a high-speed stall, which will cause the coil to heat up, cause magnetic field confusion and magnetic pole reversal. At this time, it will cause the problem that the liftable camera module shrinks by itself. Therefore, there is a lack of an effective drive device control mechanism in the existing technical solutions.
- the purpose of the embodiments of the present invention is to provide a control method, device, and electronic equipment, so as to solve the problem of self-shrinking of a liftable camera module that cannot be effectively solved in the prior art.
- a control method provided by an embodiment of the present invention is applied to an electronic device.
- the electronic device includes a liftable camera module, a detection component, and a driving device.
- the detection component includes at least one magnetic field sensor and a magnet.
- the magnet is fixedly connected to the liftable camera module, and the method includes:
- the rotation speed of the driving device is adjusted.
- an embodiment of the present invention provides a control device, which includes:
- An information acquisition module configured to acquire magnetic field change information through the at least one magnetic field sensor when the driving device drives the liftable camera module to rise;
- the speed adjustment module is used to adjust the rotation speed of the driving device based on the magnetic field change information.
- an embodiment of the present invention provides an electronic device including a processor, a memory, and a computer program stored on the memory and capable of running on the processor.
- the computer program is executed by the processor, Implement the steps of the control method provided in the foregoing embodiment.
- an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the control method provided in the above-mentioned embodiments are implemented.
- the electronic equipment includes a liftable camera module, a detection component, and a driving device.
- the detection component includes at least one magnetic field sensor and a magnet.
- the method for fixedly connecting with the liftable camera module includes: obtaining magnetic field change information through at least one magnetic field sensor during the process of driving the liftable camera module up by the driving device, and adjusting the rotation speed of the driving device based on the magnetic field change information. In this way, the rotation speed of the driving device can be adjusted according to the detected magnetic field change information, avoiding the problem of self-shrinking of the liftable camera module caused by the inability to effectively control the rotation speed of the driving device.
- Fig. 1 is a flowchart of an embodiment of a control method of the present invention
- Figure 2 is a schematic diagram of a liftable camera module of the present invention
- Figure 3 is a schematic diagram of another liftable camera module of the present invention.
- FIG. 4 is a flowchart of another embodiment of the control method of the present invention.
- Figure 5 is a schematic diagram of yet another liftable camera module of the present invention.
- FIG. 6 is a schematic diagram of the relationship between the rising distance of a liftable camera and the rotation speed of the driving device of the present invention
- FIG. 7 is a schematic diagram of the relationship between the rising distance of another liftable camera module and the rotation speed of the driving device according to the present invention.
- Figure 8 is a schematic structural diagram of a control device of the present invention.
- Fig. 9 is a schematic structural diagram of an electronic device of the present invention.
- the embodiments of the present invention provide a control method, device and electronic equipment.
- an embodiment of the present invention provides a control method.
- the execution body of the method may be an electronic device configured with a liftable camera module, a detection component, and a driving device.
- the electronic device may be a mobile phone,
- the detection component includes at least one magnetic field sensor and a magnet, and the magnet is fixedly connected to the liftable camera module.
- the method may specifically include the following steps:
- the magnetic field change information is acquired through at least one magnetic field sensor.
- the magnetic field change information may include magnetic flux information or magnetic flux change information.
- the electronic equipment may include a housing, a liftable camera module, a driving device, and a detection component.
- the housing is provided with an opening, and the driving device may be connected to the liftable camera module and drive the liftable camera.
- the module extends out of the housing through the opening of the electronic device, or drives the liftable camera module to retract into the housing through the beginning of the electronic device.
- the driving device can provide driving force for the liftable camera module, and the liftable camera module can be raised or lowered in the fixed track under the drive of the driving device.
- the driving device may include a driving motor and other driving components, and the driving motor may It is a stepping motor.
- the distance between the magnet and the magnetic field sensor in the electronic device is also As the liftable camera module changes, that is, the magnetic field information detected by the magnetic field sensor will change with the movement of the magnet. Therefore, the magnetic field change information detected by the magnetic field sensor can be used to determine whether the liftable camera module expands or contracts. In place.
- the lifting distance of the liftable camera module is limited, and the rising time reserved for the liftable camera module may be longer.
- the liftable camera module can rise to the top within 0.6 seconds, but the reserved rising time It may be set to 0.8 seconds. If the liftable camera module has been raised to the top, and the stepper motor still provides driving force for the liftable camera module at a high speed, it will cause the high-speed stall, which will cause the coil to heat up, cause magnetic field disorder and magnetic pole reversal. At this time, it will cause the problem that the liftable camera module shrinks by itself. Therefore, there is a lack of an effective drive device control mechanism in the existing technical solutions. To this end, the embodiments of the present invention provide a technical solution that can solve the foregoing problems, which may specifically include the following content:
- the magnetic field change information can be acquired through at least one magnetic field sensor during the process of driving the liftable camera to rise by the driving device.
- the driving device provides driving force for the liftable camera module, it can be divided into two different driving stages, and the two driving stages can be a start-up phase and an ascent phase.
- the driving device in the start-up phase, can obtain a larger driving force (the driving force is inversely proportional to the rotation speed) through a smaller rotation speed, so as to drive the liftable camera module to start.
- the driving liftable camera module After the driving liftable camera module is started, in order to drive the liftable camera module to reach the top quickly, the liftable camera module can be driven to rise quickly at a higher speed during the ascent stage.
- the starting time for the driving device to drive the liftable camera module can be 0.2 to 0.3 seconds (that is, the time required for the start-up phase)
- the time for driving the liftable camera module to rise to the top can be 0.4 to 0.6 seconds (that is, the time required for the rising phase). Therefore, it can be judged that the liftable camera module is in the start-up phase and/or according to the magnetic field change information detected by at least one magnetic field sensor at the 0.2 second, 0.3 second, 0.4 second, 0.5 second, and 0.6 second, respectively. Whether there is an abnormality in the ascent phase, for example, the magnetic field change information in the 0.3 second can be used to determine whether the elevating camera module has been activated.
- the magnetic field change information through at least one magnetic field sensor based on a preset time period.
- there may also be multiple methods for obtaining magnetic field change information which may be different according to different actual application scenarios, which are not specifically limited in the embodiment of the present invention.
- the rotation speed of the driving device is adjusted based on the magnetic field change information.
- the relationship between the magnetic field information detected by the magnetic field sensor and the rising distance of the liftable camera module can be determined according to the relative position between the magnetic field sensor in the electronic device and the movable range of the magnet, and then according to the predetermined
- the change of magnetic field information over time ie, magnetic field change information adjusts the rotational speed of the drive device.
- the electronic device includes a magnetic field sensor and is located at the opening of the electronic device housing, that is, above the movable range of the magnet, then, when the magnet rises with the liftable camera module , the magnetic field information (such as magnetic flux) that can be detected by the magnetic field sensor gradually becomes larger, that is, the relationship between the magnetic flux detected by the magnetic field sensor and the rising distance of the liftable camera module is proportional.
- the magnetic field information such as magnetic flux
- the rotation speed of the driving device can be adjusted based on the detected magnetic flux or the change of the detected magnetic flux.
- the relationship between the magnetic flux detected by the magnetic field sensor and the rising distance of the liftable camera module is proportional. If the detected magnetic flux is greater than the preset threshold, the rotation speed of the driving device can be adjusted to the preset Rotating speed. For example, when the liftable camera module is in the inactive state, the magnetic flux detected by the magnetic field sensor is Q1, and the magnetic flux detected by the magnetic field sensor is Q2 at 0.6 seconds after the liftable camera module is activated.
- the preset threshold of the magnetic flux corresponding to 0.6 seconds is Q3, and it can be detected whether Q2 is greater than Q3. If Q2 is greater than Q3, it indicates that the liftable camera module has risen to the top at this time. At this time, the rotation speed of the driving device can be adjusted to a preset rotation speed to avoid the problem of high rotation speed blocking of the driving device.
- the above method for adjusting the speed based on the magnetic flux is an optional and achievable adjustment method.
- the positional relationship between the magnetic field sensor and the liftable camera module that is, the movable range of the magnet
- a control method provided by an embodiment of the present invention is applied to electronic equipment.
- the electronic equipment includes a liftable camera module, a detection component, and a driving device.
- the detection component includes at least one magnetic field sensor and a magnet, and the magnet is fixedly connected to the liftable camera module.
- the method includes: obtaining magnetic field change information through at least one magnetic field sensor during the ascent of the driving device driving the liftable camera module, and adjusting the rotation speed of the driving device based on the magnetic field change information. In this way, the rotation speed of the driving device can be adjusted according to the detected magnetic field change information, avoiding the problem of self-shrinking of the liftable camera module caused by the inability to effectively control the rotation speed of the driving device.
- an embodiment of the present invention provides a control method.
- the execution body of the method may be an electronic device configured with a liftable camera module, a detection component, and a driving device.
- the electronic device may be a mobile phone,
- the detection component includes at least one magnetic field sensor and a magnet, and the magnet is fixedly connected to the liftable camera module.
- the method may specifically include the following steps:
- the magnetic field change information is acquired through at least one magnetic field sensor.
- the rotation speed of the driving device is adjusted based on at least one of the first magnetic flux and the second magnetic flux.
- the detection component may include at least one of a first magnetic field sensor and a second magnetic field sensor, the first magnetic flux detected by the first magnetic field sensor may be a magnetic flux that gradually decreases as the magnet rises, and the second magnetic field sensor detects
- the second magnetic flux of may be a magnetic flux that gradually becomes larger as the magnet rises.
- the second magnet sensor may be located above the first magnet sensor, and the first magnet sensor may be located below the movable range of the magnet, and the second magnet sensor may be located at the center of the movable range of the magnet.
- the upper side that is, the distance between the second magnet sensor and the opening of the electronic device housing, is smaller than the distance between the first magnet sensor and the opening of the electronic device housing. Therefore, as the magnet rises with the liftable camera module, the distance between the magnet and the first magnet sensor gradually increases, and the distance between the magnet and the second magnet sensor gradually decreases, that is, the first magnet sensor detects The magnetic flux obtained gradually decreases, and the magnetic flux detected by the second magnet sensor gradually increases.
- the rotation speed of the driving device can be adjusted according to at least one of the first magnetic flux and the second magnetic flux.
- the rotation speed of the driving device can be adjusted based on the magnetic flux difference between the first magnetic flux and the second magnetic flux.
- the ascending process of the elevating camera module can be divided into three phases, namely the startup phase P1, the ascending phase P2, and the deceleration phase P3.
- the corresponding rotation speed can be adjusted to the preset rotation speed of the P2 stage.
- the distance between the liftable camera module and the starting position can be determined according to the magnetic flux difference between the first magnetic flux and the second magnetic flux. The greater the difference, the greater the difference between the liftable camera module and the starting position. The greater the distance.
- the embodiment of the present invention does not specifically limit the method for determining the distance between the liftable camera module and the starting position based on the magnetic flux difference.
- the rotation speed of the driving device can be reduced to the preset rotation speed, so that when the liftable camera module is about to rise to the top, the driving device can be lifted and lowered based on the preset rotation speed.
- the camera module provides the driving force.
- the rotation speed of the driving device can be reduced to the preset rotation speed.
- the driving device still provides driving force for the liftable camera module at a high speed.
- the rotation speed of the driving device can be adjusted in real time based on the amount of change in the predetermined length of time. That is, as shown in Figure 7, the rising process of the liftable camera module can be divided into multiple The duration of each stage is the aforementioned predetermined time length, which can be determined based on the preset correspondence between the change in the magnetic flux difference and the rotational speed in different time periods, and the change in the magnetic flux difference in the predetermined time. Corresponding to the rotation speed of the driving device, and adjust the rotation speed of the driving device, with a small amount of rotation speed change, so that the liftable camera module can rise more smoothly from the opening of the electronic device housing, or more smoothly from the opening of the housing of the electronic device. The opening of the electronic device is retracted into the housing, which has a better user perception.
- the above S404 is an optional and achievable speed adjustment method.
- the speed of the driving device can also be adjusted through S406 to S408, that is, after S402, S406 to S408 can be continuously executed.
- the first condition may include: the magnetic flux is greater than the first preset threshold or the magnetic flux change value is greater than the first preset change Threshold and other conditions.
- the relationship between the magnetic flux detected by the magnetic field sensor (that is, the acquired magnetic field change information may include magnetic flux information) and the rising distance of the liftable camera module may be a proportional relationship.
- the first preset threshold that is, the magnetic field change information satisfies the first condition
- the first condition may include: the magnetic flux is less than the first preset threshold or the magnetic flux change is less than the first preset change Threshold and other conditions.
- the second rotation speed may be less than the first rotation speed.
- the second condition may include: the magnetic flux is greater than the second preset threshold or The magnetic flux change value is greater than the second preset change threshold and other conditions, the second preset threshold may be greater than the first preset threshold, and the second preset change threshold may be greater than the first preset change threshold.
- the relationship between the magnetic flux detected by the magnetic field sensor (that is, the acquired magnetic field change information may include magnetic flux information) and the rising distance of the liftable camera module may be a proportional relationship.
- the ascending process of the lifting camera module can be divided into three stages, which are the startup phase P1, the ascending phase P2, and the deceleration phase P3.
- the magnetic field change information satisfies the first condition (for example, the magnetic flux is greater than the first preset threshold)
- the rotating speed of the driving device can be adjusted to the first rotating speed to make the liftable camera The module quickly protrudes from the opening of the housing of the electronic device.
- the magnetic field change information satisfies the second condition (for example, the magnetic flux is greater than the second preset threshold)
- the rotation speed of the driving device can be adjusted from the first rotation speed to the second rotation speed to avoid A high-speed stall has occurred.
- a control method provided by an embodiment of the present invention is applied to electronic equipment.
- the electronic equipment includes a liftable camera module, a detection component, and a driving device.
- the detection component includes at least one magnetic field sensor and a magnet, and the magnet is fixedly connected to the liftable camera module.
- the method includes: obtaining magnetic field change information through at least one magnetic field sensor during the ascent of the driving device driving the liftable camera module, and adjusting the rotation speed of the driving device based on the magnetic field change information. In this way, the rotation speed of the driving device can be adjusted according to the detected magnetic field change information, avoiding the problem of self-shrinking of the liftable camera module caused by the inability to effectively control the rotation speed of the driving device.
- the embodiment of the present invention also provides a control device, as shown in FIG. 8.
- the control device includes: a magnetic flux acquisition module 801 and a speed adjustment module 802, in which:
- the magnetic flux acquisition module 801 is configured to acquire magnetic field change information through the at least one magnetic field sensor when the driving device drives the liftable camera module to rise;
- the speed adjustment module 802 is configured to adjust the rotation speed of the driving device based on the magnetic field change information.
- the speed adjustment module 802 includes:
- a first adjustment unit configured to adjust the rotation speed of the driving device to a first rotation speed when the magnetic field change information satisfies a first condition
- the second adjustment unit is configured to adjust the rotation speed of the driving device from the first rotation speed to the second rotation speed when the magnetic field change information satisfies the second condition, and the second rotation speed is less than the first rotation speed.
- the detection component includes at least one of a first magnetic field sensor and a second magnetic field sensor
- the magnetic field change information includes magnetic flux
- the first magnetic flux detected by the first magnetic field sensor is The magnetic flux gradually becomes smaller as the magnet rises
- the second magnetic flux detected by the second magnetic field sensor is the magnetic flux that gradually becomes larger as the magnet rises.
- the speed adjustment module 802 includes:
- the third adjustment unit is configured to adjust the rotation speed of the driving device based on at least one of the first magnetic flux and the second magnetic flux.
- the third adjustment unit is configured to:
- the rotation speed of the driving device is adjusted.
- the third adjustment unit is configured to:
- the rotation speed of the driving device is reduced to the preset rotation speed.
- the third adjustment unit is configured to:
- the rotation speed of the driving device is adjusted based on the amount of change in the magnetic flux difference within a predetermined time length.
- the information transmission apparatus of the embodiment of the present invention can also execute the method executed by the electronic device in FIG. 1 to FIG. 7 and realize the functions of the embodiment of the electronic device shown in FIG. 1 to FIG. 7, which will not be repeated here.
- the embodiment of the present invention provides a control device, which acquires magnetic field change information through at least one magnetic field sensor during the process of driving the liftable camera module up by the drive device, and adjusts the rotation speed of the drive device based on the magnetic field change information.
- the rotation speed of the driving device can be adjusted according to the detected magnetic field change information, avoiding the problem of self-shrinking of the liftable camera module caused by the inability to effectively control the rotation speed of the driving device.
- FIG. 9 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
- the electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and Power 911 and other components.
- a radio frequency unit 901 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and Power 911 and other components.
- the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
- electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
- the processor 910 is configured to obtain magnetic field change information through the at least one magnetic field sensor when the driving device drives the liftable camera module to rise;
- the processor 910 is further configured to adjust the rotation speed of the driving device based on the magnetic field change information.
- the processor 910 is further configured to adjust the rotation speed of the driving device to the first rotation speed when the magnetic field change information satisfies the first condition;
- the processor 910 is further configured to adjust the rotation speed of the driving device from the first rotation speed to the second rotation speed when the magnetic field change information satisfies the second condition, and the second rotation speed is less than the second rotation speed. The first speed.
- the processor 910 is further configured to adjust the rotation speed of the driving device based on at least one of the first magnetic flux and the second magnetic flux.
- the processor 910 is further configured to adjust the rotation speed of the driving device based on the magnetic flux difference between the first magnetic flux and the second magnetic flux.
- the processor 910 is further configured to reduce the rotation speed of the driving device to a preset rotation speed when it is detected that the magnetic flux difference is less than a preset magnetic flux threshold.
- the processor 910 is further configured to adjust the rotation speed of the driving device based on the amount of change of the magnetic flux difference within a predetermined time length.
- An embodiment of the present invention provides an electronic device.
- the electronic device includes a liftable camera module, a detection component, and a driving device.
- the detection component includes at least one magnetic field sensor and a magnet.
- the magnet is fixedly connected to the liftable camera module.
- the method includes: When the device drives the liftable camera module to rise, the magnetic field change information is acquired through at least one magnetic field sensor, and the rotation speed of the driving device is adjusted based on the magnetic field change information. In this way, the rotation speed of the driving device can be adjusted according to the detected magnetic field change information, avoiding the problem of self-shrinking of the liftable camera module caused by the inability to effectively control the rotation speed of the driving device.
- the radio frequency unit 901 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, after receiving the downlink data from the base station, it is processed by the processor 910; Uplink data is sent to the base station.
- the radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
- the radio frequency unit 901 can also communicate with the network and other devices through a wireless communication system.
- the electronic device provides users with wireless broadband Internet access through the network module 902, such as helping users to send and receive emails, browse web pages, and access streaming media.
- the audio output unit 903 can convert the audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into an audio signal and output it as sound. Moreover, the audio output unit 903 may also provide audio output related to a specific function performed by the electronic device 900 (for example, call signal reception sound, message reception sound, etc.).
- the audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
- the input unit 904 is used to receive audio or video signals.
- the input unit 904 may include a graphics processing unit (GPU) 9041 and a microphone 9042.
- the graphics processor 9041 is configured to provide an image of a still picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
- the processed image frame may be displayed on the display unit 906.
- the image frames processed by the graphics processor 9041 may be stored in the memory 909 (or other storage medium) or sent via the radio frequency unit 901 or the network module 902.
- the microphone 9042 can receive sound and can process such sound into audio data.
- the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 901 for output in the case of a telephone conversation mode.
- the electronic device 900 further includes at least one sensor 905, such as a light sensor, a motion sensor, and other sensors.
- the light sensor includes an ambient light sensor and a proximity sensor.
- the ambient light sensor can adjust the brightness of the display panel 9061 according to the brightness of the ambient light.
- the proximity sensor can close the display panel 9061 and the display panel 9061 when the electronic device 900 is moved to the ear. / Or backlight.
- the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 905 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
- the display unit 906 is used to display information input by the user or information provided to the user.
- the display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
- LCD liquid crystal display
- OLED organic light-emitting diode
- the user input unit 907 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
- the user input unit 907 includes a touch panel 9071 and other input devices 9072.
- the touch panel 9071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 9071 or near the touch panel 9071. operating).
- the touch panel 9071 may include two parts: a touch detection device and a touch controller.
- the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 910, the command sent by the processor 910 is received and executed.
- the touch panel 9071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
- the user input unit 907 may also include other input devices 9072.
- other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
- the touch panel 9071 can cover the display panel 9061.
- the touch panel 9071 detects a touch operation on or near it, it transmits it to the processor 910 to determine the type of the touch event, and then the processor 910 determines the type of the touch event according to the touch.
- the type of event provides corresponding visual output on the display panel 9061.
- the touch panel 9071 and the display panel 9061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 9071 and the display panel 9061 can be integrated
- the implementation of the input and output functions of the electronic device is not specifically limited here.
- the interface unit 908 is an interface for connecting an external device and the electronic device 900.
- the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
- the interface unit 908 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 900 or can be used to connect the electronic device 900 to an external device. Transfer data between devices.
- the memory 909 can be used to store software programs and various data.
- the memory 909 may mainly include a storage program area and a storage data area.
- the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
- the memory 909 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
- the processor 910 is the terminal speed adjustment center, which uses various interfaces and lines to connect various parts of the entire electronic device, and by running or executing software programs and/or modules stored in the memory 909, and calling data stored in the memory 909, Perform various functions of the electronic device and process data to monitor the electronic device as a whole.
- the processor 910 may include one or more processing units; preferably, the processor 910 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 910.
- the electronic device 900 may also include a power source 911 (such as a battery) for supplying power to various components.
- a power source 911 such as a battery
- the power source 911 may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
- the embodiment of the present invention also provides an electronic device, including a processor 910, a memory 909, a computer program stored on the memory 909 and running on the processor 910, when the computer program is executed by the processor 910
- an electronic device including a processor 910, a memory 909, a computer program stored on the memory 909 and running on the processor 910, when the computer program is executed by the processor 910
- the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
- a computer program is stored on the computer-readable storage medium.
- the computer program is executed by a processor, each process of the above-mentioned control method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, I won’t repeat it here.
- the computer readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
- the embodiment of the present invention provides a computer-readable storage medium, which acquires magnetic field change information through at least one magnetic field sensor during the process of driving the liftable camera module up by a driving device, and adjusts the rotation speed of the driving device based on the magnetic field change information .
- the rotation speed of the driving device can be adjusted according to the detected magnetic field change information, avoiding the problem of self-shrinking of the liftable camera module caused by the inability to effectively control the rotation speed of the driving device.
- the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
- computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
- These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
- the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
- These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
- the instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
- the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
- processors CPUs
- input/output interfaces network interfaces
- memory volatile and non-volatile memory
- the memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
- RAM random access memory
- ROM read-only memory
- flash RAM flash memory
- Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
- the information can be computer-readable instructions, data structures, program modules, or other data.
- Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
- the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
- computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
Description
Claims (16)
- 一种控制方法,应用于电子设备,所述电子设备包括可升降摄像头模组、检测组件及驱动装置,所述检测组件包括至少一个磁场传感器及磁体,所述磁体与所述可升降摄像头模组固定连接,所述方法包括:在所述驱动装置驱动所述可升降摄像头模组上升的过程中,通过所述至少一个磁场传感器获取磁场变化信息;基于所述磁场变化信息,调整所述驱动装置的转速。
- 根据权利要求1所述的方法,其中,所述基于所述磁场变化信息,调整所述驱动装置的转速,包括:在所述磁场变化信息满足第一条件时,调整所述驱动装置的转速至第一转速;在所述磁场变化信息满足第二条件时,将所述驱动驱动装置的转速由所述第一转速调整至所述第二转速,所述第二转速小于所述第一转速。
- 根据权利要求1所述的方法,其中,所述检测组件包括第一磁场传感器和第二磁场传感器中的至少一个,所述磁场变化信息包括磁通量信息,所述第一磁场传感器检测到的第一磁通量为随着所述磁体的上升而逐渐变小的磁通量,所述第二磁场传感器检测到的第二磁通量为随着所述磁体的上升而逐渐变大的磁通量,所述基于所述磁场变化信息,调整所述驱动装置的转速,包括:基于所述第一磁通量和所述第二磁通量中的至少一个,调整所述驱动装置的转速。
- 根据权利要求3所述的方法,其中,所述基于所述第一磁通量和所述第二磁通量中的至少一个,调整所述驱动装置的转速,包括:基于所述第一磁通量和所述第二磁通量的磁通量差值,调整所述驱动装置的转速。
- 根据权利要求4所述的方法,其中,所述基于所述第一磁通量和所述第二磁通量的磁通量差值,调整所述驱动装置的转速,包括:在检测到所述磁通量差值小于预设磁通量阈值的情况下,将所述驱动装置的转速调小为预设转速。
- 根据权利要求4所述的方法,其中,所述基于所述第一磁通量和所述第二磁通量的磁通量差值,调整所述驱动装置的转速,包括:基于所述磁通量差值在预定时间长度内的变化量,调整所述驱动装置的转速。
- 一种控制装置,所述装置包括:信息获取模块,用于在所述驱动装置驱动所述可升降摄像头模组上升的过程中,通过所述至少一个磁场传感器获取磁场变化信息;速度调整模块,用于基于所述磁场变化信息,调整所述驱动装置的转速。
- 根据权利要求7所述的装置,其中,所述速度调整模块,包括:第一调整单元,用于在所述磁场变化信息满足第一条件时,调整所述驱动装置的转速至第一转速;第二调整单元,用于在所述磁场变化信息满足第二条件时,将所述驱动驱动装置的转速由所述第一转速调整至所述第二转速,所述第二转速小于所述第一转速。
- 根据权利要求7所述的装置,其中,所述检测组件包括第一磁场传感器和第二磁场传感器中的至少一个,所述磁场变化信息包括磁通量,所述第一磁场传感器检测到的第一磁通量为随着所述磁体的上升而逐渐变小的磁通量,所述第二磁场传感器检测到的第二磁通量为随着所述磁体的上升而逐渐变大的磁通量,所述速度调整模块,包括:第三调整单元,用于基于所述第一磁通量和所述第二磁通量中的至少一个,调整所述驱动装置的转速。
- 根据权利要求9所述的装置,其中,所述第三调整单元,用于:基于所述第一磁通量和所述第二磁通量之间的磁通量差值,调整所述驱动装置的转速。
- 根据权利要求10所述的装置,其中,所述第三调整单元,用于:在检测到所述磁通量差值小于预设磁通量阈值的情况下,将所述驱动装置的转速调小为预设转速。
- 根据权利要求10所述的装置,其中,所述第三调整单元,用于:基于所述磁通量差值在预定时间长度内的变化量,调整所述驱动装置的转速。
- 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至6中任一项所述的控制方法的步骤。
- 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的控制方法的步骤。
- 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如 权利要求1-6任一项所述的方法。
- 一种控制装置,包括所述装置被配置成用于执行如权利要求1-6任一项所述的控制方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010025121.7A CN111246085B (zh) | 2020-01-10 | 2020-01-10 | 一种控制方法、装置及电子设备 |
CN202010025121.7 | 2020-01-10 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021139694A1 true WO2021139694A1 (zh) | 2021-07-15 |
Family
ID=70878203
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/070514 WO2021139694A1 (zh) | 2020-01-10 | 2021-01-06 | 控制方法、装置及电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111246085B (zh) |
WO (1) | WO2021139694A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114744932A (zh) * | 2022-04-07 | 2022-07-12 | 福建星云电子股份有限公司 | 一种电机同步控制方法、系统、设备及介质 |
CN117041145A (zh) * | 2023-06-29 | 2023-11-10 | 荣耀终端有限公司 | 路由器及其检测方法、智能家居系统 |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111246085B (zh) * | 2020-01-10 | 2022-01-07 | 维沃移动通信(杭州)有限公司 | 一种控制方法、装置及电子设备 |
WO2022247435A1 (zh) * | 2021-05-26 | 2022-12-01 | Oppo广东移动通信有限公司 | 电子设备、补光模组、保护壳、控制方法、装置及介质 |
CN113329124B (zh) * | 2021-05-28 | 2022-08-26 | 北京小米移动软件有限公司 | 摄像头控制方法、摄像头控制装置及存储介质 |
CN113359946B (zh) * | 2021-06-29 | 2022-11-11 | 歌尔科技有限公司 | 一种旋转控制部件、方法、装置及电子设备 |
CN114501220B (zh) * | 2022-02-28 | 2023-02-28 | 歌尔股份有限公司 | 耳机控制方法、装置、耳机设备及存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180054565A1 (en) * | 2016-08-18 | 2018-02-22 | Verily Life Sciences Llc | Dermal camera attachment |
CN108989491A (zh) * | 2018-06-08 | 2018-12-11 | Oppo广东移动通信有限公司 | 电子装置、速度控制方法及相关产品 |
CN109040348A (zh) * | 2018-06-08 | 2018-12-18 | Oppo广东移动通信有限公司 | 电子装置、驱动控制方法及相关产品 |
CN110581952A (zh) * | 2019-09-17 | 2019-12-17 | 深圳市万普拉斯科技有限公司 | 摄像头升降控制方法、装置和移动终端 |
CN110602399A (zh) * | 2019-09-17 | 2019-12-20 | 深圳市万普拉斯科技有限公司 | 摄像头升降障碍的处理方法、装置及移动终端 |
CN111246085A (zh) * | 2020-01-10 | 2020-06-05 | 维沃移动通信(杭州)有限公司 | 一种控制方法、装置及电子设备 |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104580864B (zh) * | 2015-01-21 | 2017-11-14 | 广东欧珀移动通信有限公司 | 摄像头复位方法和装置 |
CN107783352B (zh) * | 2016-08-24 | 2022-11-25 | 台湾东电化股份有限公司 | 光学系统 |
KR102444077B1 (ko) * | 2017-11-29 | 2022-09-16 | 한국전자통신연구원 | 세포 노출 시스템 |
CN207516705U (zh) * | 2017-12-06 | 2018-06-19 | 厦门正华泰精密五金有限公司 | 一种监控用防抖镜头 |
CN109951702B (zh) * | 2019-03-29 | 2024-04-05 | 荣耀终端有限公司 | 位置检测机构、移动终端及位置检测方法 |
CN110139018B (zh) * | 2019-06-26 | 2021-04-02 | 维沃移动通信有限公司 | 摄像头控制模组、摄像头的移动控制方法及终端 |
-
2020
- 2020-01-10 CN CN202010025121.7A patent/CN111246085B/zh active Active
-
2021
- 2021-01-06 WO PCT/CN2021/070514 patent/WO2021139694A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180054565A1 (en) * | 2016-08-18 | 2018-02-22 | Verily Life Sciences Llc | Dermal camera attachment |
CN108989491A (zh) * | 2018-06-08 | 2018-12-11 | Oppo广东移动通信有限公司 | 电子装置、速度控制方法及相关产品 |
CN109040348A (zh) * | 2018-06-08 | 2018-12-18 | Oppo广东移动通信有限公司 | 电子装置、驱动控制方法及相关产品 |
CN110581952A (zh) * | 2019-09-17 | 2019-12-17 | 深圳市万普拉斯科技有限公司 | 摄像头升降控制方法、装置和移动终端 |
CN110602399A (zh) * | 2019-09-17 | 2019-12-20 | 深圳市万普拉斯科技有限公司 | 摄像头升降障碍的处理方法、装置及移动终端 |
CN111246085A (zh) * | 2020-01-10 | 2020-06-05 | 维沃移动通信(杭州)有限公司 | 一种控制方法、装置及电子设备 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114744932A (zh) * | 2022-04-07 | 2022-07-12 | 福建星云电子股份有限公司 | 一种电机同步控制方法、系统、设备及介质 |
CN117041145A (zh) * | 2023-06-29 | 2023-11-10 | 荣耀终端有限公司 | 路由器及其检测方法、智能家居系统 |
Also Published As
Publication number | Publication date |
---|---|
CN111246085A (zh) | 2020-06-05 |
CN111246085B (zh) | 2022-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021139694A1 (zh) | 控制方法、装置及电子设备 | |
US20210329112A1 (en) | Screen Control Method, Terminal, and Storage Medium | |
WO2020221044A1 (zh) | 步进电机的控制方法和移动终端 | |
US11243653B2 (en) | Method for display control and mobile terminal | |
US11635939B2 (en) | Prompting method and mobile terminal | |
WO2019196707A1 (zh) | 一种移动终端控制方法及移动终端 | |
US11366510B2 (en) | Processing method for reducing power consumption and mobile terminal | |
WO2021098672A1 (zh) | 显示方法及电子设备 | |
US11297239B2 (en) | Lens control method and mobile terminal | |
WO2021136159A1 (zh) | 截屏方法及电子设备 | |
US11838438B2 (en) | Message viewing method and terminal | |
WO2020042838A1 (zh) | 摄像头控制方法及终端 | |
WO2019062364A1 (zh) | 显示方法及移动终端 | |
CA3092598C (en) | Display method and mobile terminal | |
WO2021013009A1 (zh) | 拍照方法和终端设备 | |
WO2020207379A1 (zh) | 分屏方法及终端设备 | |
WO2020156444A1 (zh) | 电子设备及其控制方法 | |
WO2020253295A1 (zh) | 控制方法、装置及终端设备 | |
WO2020216002A1 (zh) | 检测方法及移动终端 | |
WO2021121180A1 (zh) | 信息处理方法及电子设备 | |
WO2020238459A1 (zh) | 显示方法和终端设备 | |
WO2021147911A1 (zh) | 移动终端、拍摄模式的检测方法及存储介质 | |
WO2021078140A1 (zh) | 消息交互方法及电子设备 | |
WO2021083090A1 (zh) | 消息发送方法及移动终端 | |
WO2020221024A1 (zh) | 信息提醒方法、移动终端及计算机可读存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21738452 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21738452 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21738452 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 27.02.2023) |