CN111601018B - Separable camera module positioning method and electronic equipment - Google Patents

Separable camera module positioning method and electronic equipment Download PDF

Info

Publication number
CN111601018B
CN111601018B CN202010296993.7A CN202010296993A CN111601018B CN 111601018 B CN111601018 B CN 111601018B CN 202010296993 A CN202010296993 A CN 202010296993A CN 111601018 B CN111601018 B CN 111601018B
Authority
CN
China
Prior art keywords
camera module
information
separable
module
detachable
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.)
Active
Application number
CN202010296993.7A
Other languages
Chinese (zh)
Other versions
CN111601018A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010296993.7A priority Critical patent/CN111601018B/en
Publication of CN111601018A publication Critical patent/CN111601018A/en
Application granted granted Critical
Publication of CN111601018B publication Critical patent/CN111601018B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/90Circuit arrangements or systems for wireless supply or distribution of electric power involving detection or optimisation of position, e.g. alignment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a positioning method of a separable camera module and electronic equipment, relates to the technical field of communication, and can solve the problem that time consumption is long when a user retrieves a separable camera. The method comprises the following steps: the method comprises the steps that under the condition that the equipment body wirelessly charges a separable camera module, first charging parameters sent by the separable camera module are received; wherein the first charging parameter comprises at least one of: the wireless charging device comprises a first signal intensity value and a first current value, wherein the first signal intensity value is a signal intensity value of a radio signal received by the separable camera module, and the first current value is a charging current value generated by a first wireless charging coil when the separable camera module receives the radio signal; and acquiring target position information according to the first charging parameter. The embodiment of the invention is applied to the process of determining the distance between the equipment body and the separable camera module by the electronic equipment.

Description

Separable camera module positioning method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a separable camera module positioning method and electronic equipment.
Background
At present, with the rapid development of electronic device shooting technology, detachable cameras are gradually applied to various electronic devices to meet the increasing shooting requirements of users. Generally, in some shooting scenes (for example, when a user needs to shoot a whole body shot), the user may separate the detachable camera from the electronic device, place the detachable camera at a position where the whole part of the user's body can be shot, and then perform a shooting input on the electronic device, so that the electronic device may control the detachable camera to shoot at the position to obtain the whole body shot required by the user.
However, in the above method, after shooting through the detachable camera, the user may forget to collect the detachable camera; when the user needs to retrieve the detachable camera subsequently, the user may need to recall the placement position of the detachable camera for a long time, so that the user can retrieve the detachable camera more time.
Disclosure of Invention
The embodiment of the invention provides a positioning method of a separable camera module and electronic equipment, which can solve the problem that time consumption is long when a user retrieves a separable camera.
In order to solve the technical problem, the embodiment of the invention adopts the following technical scheme:
in a first aspect of the embodiments of the present invention, a method for positioning a detachable camera module is provided, where the method is applied to an electronic device, the electronic device includes a device body, the detachable camera module includes a camera body and a first wireless charging coil, and the method for positioning a detachable camera module includes: the method comprises the steps that under the condition that the equipment body wirelessly charges a separable camera module, first charging parameters sent by the separable camera module are received; wherein the first charging parameter comprises at least one of: the wireless charging device comprises a first signal intensity value and a first current value, wherein the first signal intensity value is a signal intensity value of a radio signal received by the separable camera module, and the first current value is a charging current value generated by a first wireless charging coil when the separable camera module receives the radio signal; and acquiring target position information according to the first charging parameter, wherein the target position information is relative position information between the equipment body and the separable camera module.
In a second aspect of the embodiments of the present invention, a detachable camera module is provided, where the detachable camera module includes: camera body and first wireless charging coil. The first wireless charging coil is arranged on the outer surface of the camera body; the camera body comprises a voltage adjusting module, a first power supply and a first processing unit; the first end of the voltage adjusting module is connected with the first wireless charging coil, the second end of the voltage adjusting module is connected with the first end of the first power supply, the second end of the first power supply is connected with the first end of the first processing unit, and the second end of the first processing unit is connected with the first wireless charging coil.
In a third aspect of the embodiments of the present invention, there is provided an electronic device, where the electronic device includes a device body, and a separable camera module includes a camera body and a first wireless charging coil, and the electronic device further includes: the device comprises a receiving module and an obtaining module. The receiving module is used for receiving a first charging parameter sent by the separable camera module under the condition that the equipment body is wirelessly charged for the separable camera module. Wherein the first charging parameter comprises at least one of: the first signal intensity value is the signal intensity value of a radio signal received by the separable camera module, and the first current value is the charging current value generated by the first wireless charging coil when the separable camera module receives the radio signal. And the acquisition module is used for acquiring target position information according to the first charging parameter received by the receiving module, wherein the target position information is relative position information between the equipment body and the separable camera module.
In a fourth aspect of the embodiments of the present invention, an electronic device is provided, where the electronic device includes a processor, a memory, and a computer program stored in the memory and being executable on the processor, and the computer program, when executed by the processor, implements the steps of the detachable camera module positioning method according to the first aspect.
In a fifth aspect of the embodiments of the present invention, a computer-readable storage medium is provided, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the detachable camera module positioning method according to the first aspect are implemented.
In the embodiment of the present invention, when the device body wirelessly charges the detachable camera module, the electronic device may receive a first charging parameter sent by the detachable camera module, and obtain the target position information between the device body and the detachable camera module according to the first charging parameter. Because the user can carry out wireless charging for detachable camera module through the equipment body when the detachable camera module is retrieved to the demand to make electronic equipment can directly confirm the target location information between equipment body and the detachable camera module according to first charging parameter, and need not the user and recall the position of placing of detachable camera module, consequently can shorten the consuming time that the user retrieved detachable camera module.
Drawings
Fig. 1 is a schematic structural diagram of an android operating system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 3 is a second schematic structural diagram of an electronic apparatus according to an embodiment of the invention;
fig. 4 is a schematic structural diagram of a detachable camera module according to an embodiment of the present invention;
fig. 5 is a second schematic structural diagram of a detachable camera module according to the second embodiment of the present invention;
fig. 6 is a schematic diagram of a circuit connection structure of a detachable camera module according to an embodiment of the present invention;
fig. 7 is a second schematic diagram of a circuit connection structure of a detachable camera module according to an embodiment of the present invention;
fig. 8 is a third schematic structural diagram of a detachable camera module according to an embodiment of the present invention;
fig. 9 is a third schematic diagram of a circuit connection structure of a detachable camera module according to an embodiment of the present invention;
fig. 10 is a schematic view illustrating a positioning method for a detachable camera module according to an embodiment of the present invention;
fig. 11 is a second schematic view illustrating a positioning method for a detachable camera module according to a second embodiment of the present invention;
fig. 12 is a third schematic view illustrating a positioning method for a detachable camera module according to an embodiment of the present invention;
fig. 13 is a schematic diagram illustrating an example of an interface of a wireless charging device according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 15 is a second schematic structural diagram of an electronic apparatus according to a second embodiment of the invention;
fig. 16 is a third schematic structural diagram of an electronic apparatus according to an embodiment of the invention;
fig. 17 is a hardware schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second," and the like, in the description and in the claims of embodiments of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first input and the second input, etc. are for distinguishing different inputs, rather than for describing a particular order of inputs.
In the description of the embodiments of the present invention, the meaning of "a plurality" means two or more unless otherwise specified. For example, a plurality of elements refers to two elements or more.
The term "and/or" herein is an association relationship describing an associated object, and means that there may be three relationships, for example, a display panel and/or a backlight, which may mean: there are three cases of a display panel alone, a display panel and a backlight at the same time, and a backlight alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, input/output denotes input or output.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "such as" in an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The embodiment of the invention provides a method for positioning a separable camera module and electronic equipment, wherein when a user needs to find the separable camera module, the separable camera module can be wirelessly charged through an equipment body, so that the electronic equipment can directly determine target position information between the equipment body and the separable camera module according to a first charging parameter, and the user does not need to remember the placement position of the separable camera module, and therefore, the time consumed for the user to find the separable camera module can be shortened.
The method for positioning the separable camera module and the electronic device provided by the embodiment of the invention can be applied to the process of determining the position information between the device body and the separable camera module by the electronic device. Specifically, the method can be applied to the process that the electronic equipment determines the position information between the equipment body and the separable camera module according to the charging parameters of the equipment body for wirelessly charging the separable camera module.
The electronic device in the embodiment of the present invention may be an electronic device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment applied to the separable camera module positioning method provided by the embodiment of the present invention, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the separable camera module positioning method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the separable camera module positioning method may operate based on the android operating system shown in fig. 1. Namely, the processor or the electronic device can realize the separable camera module positioning method provided by the embodiment of the invention by running the software program in the android operating system.
The electronic device in the embodiment of the present invention may be a mobile electronic device, and may also be a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
The following describes a method for positioning a detachable camera module and an electronic device provided by the embodiments of the present invention in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
In the embodiment of the invention, when a user needs to take a picture (for example, take a full body picture) through the separable camera, the user can separate the separable camera from the device body, place the separable camera at a position where the whole part of the body of the user can be taken, and input the electronic device, so that the electronic device is wirelessly connected with the separable camera, and the separable camera can send (for example, periodically send) the positioning information of the separable camera to the electronic device, so that the electronic device can store the positioning information in the device body, and then the user can take a picture and input the electronic device, so that the electronic device can control the separable camera to take a picture at the position, and the full body picture required by the user can be obtained.
Under the condition that the user forgets to recover the separable camera, the user does not need to recall the placement position of the separable camera according to a traditional mode, but can input a camera recovery icon in a desktop of the electronic equipment, so that the electronic equipment can switch the desktop to the camera recovery interface and acquire positioning information sent by the separable camera from the equipment body, and therefore the electronic equipment can determine the position range of the separable camera according to the positioning information and display the position range in an electronic map in the camera recovery interface. The user can be according to the position scope that electronic equipment shows, move to this position within range, and input "the accurate option of looking for" in the camera is given for "interface, so that electronic equipment can send the pairing information to detachable camera, so that under the condition that detachable camera received this pairing information, detachable camera sent indicating information (for example detachable camera's serial number), so that electronic equipment can detect whether this serial number is the same with the preset serial number in the equipment body, and under the same condition of this serial number and preset serial number, electronic equipment can send radio signal to detachable camera, for detachable camera carries out wireless charging. In the process of wireless charging, the detachable camera can detect the parameter value of the radio signal received by the wireless charging coil of the detachable camera in real time (for example, the signal intensity value of the radio signal, and/or the charging current value generated by the wireless charging coil), and send the parameter value to the electronic device, so that the electronic device can determine the relative position information (for example, the distance) between the electronic device and the detachable camera according to the parameter value, and display the distance on the display screen, then the user can move towards a certain direction through the handheld device body by the distance, the electronic device can update the distance between the device body and the detachable camera in real time according to the distance moved by the user (after the handheld device body of the user moves, the parameter value of the received radio signal of the detachable camera changes, the distance between the determined device body of the electronic device and the separable camera also changes), so that the user can determine whether the certain direction is the direction towards the separable camera, and under the condition that the distance between the device body and the separable camera is smaller and smaller, the user can continue to move along the certain direction until the separable camera is found.
Through this scheme, the user need not to recall the position of placing of detachable camera, and can look for detachable camera according to the relative position information between the definite equipment body that electronic equipment confirmed and the detachable camera, consequently can shorten the consuming time that the user looked for detachable camera module.
Optionally, in the embodiment of the present invention, the electronic device may specifically be an electronic device with a detachable camera, or may specifically be a wireless charging device.
It should be noted that the above "detachable camera" can be understood as follows: when the camera and the electronic equipment body are in a fixed connection state, a user can input (for example, pull input) to the camera so that the camera and the electronic equipment body are in a separation state; alternatively, in a case where the camera and the electronic apparatus body are in a separated state, the user may perform an input (e.g., a press input) on the camera, so that the camera and the electronic apparatus body are in a fixed connection state. Wherein, the fixed connection state means: the camera is fixedly connected with the electronic equipment body and is electrically connected with the electronic equipment, so that the electronic equipment can acquire images through the camera; the separated state means: the camera is not connected with the electronic equipment body, and the camera is in wireless connection with the electronic equipment, so that the electronic equipment can acquire images through the camera.
Optionally, in the embodiment of the present invention, when the electronic device is an electronic device with a detachable camera, the electronic device may include a device body and a detachable camera, where one end of the device body is provided with a groove, and an inner diameter of the groove is matched with an outer diameter of the detachable camera, so that when the detachable camera is in a separated state from the device body, a user may press the detachable camera for inputting, so that the detachable camera is fixedly connected to the device body through the groove (i.e., the detachable camera is fixedly connected to the device body); or, under the condition that detachable camera and equipment body are in fixed connection state, the user can drag the input to detachable camera to make detachable camera and this recess separation (detachable camera and equipment body are in the disconnect-type promptly).
It is understood that, in the case where the electronic device is an electronic device having a detachable camera, a wireless charging coil may be included in the device body.
For example, an electronic device with a detachable camera is taken as a mobile phone for description. As shown in fig. 2, the mobile phone 10 includes a body 11 and a detachable camera 12, a groove 13 is formed at one end of the body 11, and an inner diameter of the groove 13 matches with an outer diameter of the detachable camera 12, so that when the detachable camera 12 and the body 11 are in a separated state, a user can input a pressing operation to the detachable camera 12, so that the detachable camera 12 is fixedly connected to the body 11 through the groove 13.
Optionally, in an embodiment of the present invention, the wireless charging device may specifically be a wireless charging device with a display screen, where the wireless charging device includes a mobile power supply and a wireless charging coil, so that a user can send a radio signal to the detachable camera through the wireless charging coil, and display parameters of the radio signal sent by the detachable camera (i.e., a radio signal received by the detachable camera) on the display screen.
For example, the wireless charging device is taken as a wireless charging device with a display screen. As shown in fig. 3, the wireless charging device 14 includes a display screen 15, and the user can transmit a radio signal to the detachable camera through the wireless charging device 14 and display parameters of the radio signal transmitted by the detachable camera on the display screen 15.
Fig. 4 shows a schematic structural diagram of a detachable camera module according to an embodiment of the present invention, and as shown in fig. 4, the detachable camera module 16 includes a camera body 17 and a first wireless charging coil 18.
In the embodiment of the present invention, the first wireless charging coil 18 is disposed on the outer surface of the camera body 17; the camera body 17 includes a voltage adjustment module, a first power supply, and a first processing unit; the first end of the voltage adjusting module is connected with the first wireless charging coil, the second end of the voltage adjusting module is connected with the first end of the first power supply, the second end of the first power supply is connected with the first end of the first processing unit, and the second end of the first processing unit is connected with the first wireless charging coil.
It should be noted that, in order to more clearly illustrate the structure of the camera body 17, fig. 5 illustrates a schematic structural diagram of the camera body 17 provided in the embodiment of the present invention, and as shown in fig. 5, the camera body 17 includes a camera 19 and a housing 20.
It can be understood that can carry out wireless connection with detachable camera module 16 through electronic equipment to the user can shoot the input to electronic equipment, so that electronic equipment can send to first wireless charging coil 18 and shoot instruction information through electronic equipment's wireless charging coil, so that detachable camera module 16 can gather the image through camera 19 according to this shooting instruction information.
It should be noted that, in order to more clearly illustrate the structure of the camera body 17, fig. 6 shows a schematic diagram of a circuit connection relationship of each element of the camera body 17 according to an embodiment of the present invention, and as shown in fig. 6, the camera body 17 includes a first wireless charging coil 18, a voltage adjusting module 21, a first power supply 22, and a first processing unit 23.
Optionally, in the embodiment of the present invention, the voltage adjusting module 21 may specifically be a DC-DC charging module; the first power source 22 may be a lithium battery; the first processing unit 23 may be a Micro Controller Unit (MCU).
In the embodiment of the present invention, when the electronic device wirelessly charges the detachable camera module, the voltage adjustment module 21 may adjust a voltage value of the induced voltage generated by the first wireless charging coil 18, so that the adjusted voltage value of the induced voltage matches with a charging voltage of the first power supply 22, so as to charge the first power supply 22.
In the embodiment of the present invention, when the electronic device is a detachable camera module for wireless charging, the first processing unit 23 of the detachable camera module 16 may detect the first wireless charging coil 18 to obtain a first charging parameter, so as to send the first charging parameter to the electronic device through the first wireless charging coil 18.
In this embodiment of the present invention, the first processing unit 23 may detect the first wireless charging coil 18 to obtain the first pairing information sent by the electronic device, so that the first processing unit 23 may determine whether the first pairing information is the same as the preset pairing information, so as to determine whether to send the indication information to the electronic device through the first wireless charging coil 18.
Optionally, in the embodiment of the present invention, as shown in fig. 7 in combination with fig. 6, the first power source 22 may include a lithium battery 221, a button battery 222, and a diode 223. The first end of the lithium battery 221 is connected to the second end of the voltage adjustment module 21, the second end of the lithium battery 221 is connected to the anode of the diode 223, the cathode of the diode 223 is connected to the first end of the button cell 222, and the cathode of the diode 223 and the second end of the button cell 222 are both connected to the first end of the first processing unit 23.
In the embodiment of the present invention, in a scene that the detachable camera module 16 is lost indoors (for example, in a dark corner), if the detachable camera module 16 is lost for a long time, the electric quantity of the lithium battery 221 may be exhausted, so that the first processing unit 23 may be powered by the button battery 222 and operate in a low power consumption mode (i.e., periodically scan the first wireless charging coil 18) to obtain the first pairing information sent by the electronic device.
The embodiment of the invention provides a separable camera module, which comprises a camera body and a first wireless charging coil arranged on the outer surface of the camera body, wherein the camera body comprises a voltage adjusting module, a first power supply and a first processing unit. Because the user can carry out wireless charging for detachable camera module through electronic equipment when the detachable camera module is given back to the demand, so that first processing unit can detect this first wireless charging coil, and send the first parameter of charging of this first wireless charging coil to electronic equipment, thereby electronic equipment can be according to first parameter of charging, directly confirm the target distance between electronic equipment and the detachable camera module, and need not the user and recall the position of placing of detachable camera module, consequently can shorten the consuming time that the user gave back detachable camera module.
Optionally, in the embodiment of the present invention, with reference to fig. 4 and as shown in fig. 8, the separable camera module 16 further includes: a photovoltaic charging layer 24 and a transparent material layer 25.
In the embodiment of the present invention, the photovoltaic charging layer 24 is attached to the outer surface of the first wireless charging coil 18, and the transparent material layer 25 is attached to the outer surface of the photovoltaic charging layer 24.
It is understood that solar energy may be converted to electrical energy by the photovoltaic charging layer 24 to charge the first power source 22.
Optionally, in this embodiment of the present invention, the photovoltaic charging layer 24 may be specifically a thin-film photovoltaic material layer.
Optionally, in the embodiment of the present invention, the transparent material layer 25 may specifically be a transparent glass layer, or may be a transparent plastic layer.
Optionally, in the embodiment of the present invention, the photovoltaic charging layer 24 may be further electrically connected to the voltage adjusting module 21 through a combiner.
Optionally, in an embodiment of the present invention, the first end of the photovoltaic rechargeable battery 24 and the first end of the first wireless charging coil 18 are both connected to the first end of the voltage adjusting module 21 through a combiner.
It should be noted that, in order to illustrate the structure of the camera body 17 more clearly, fig. 9 shows a schematic diagram of a circuit connection relationship of each element of the camera body 17 according to an embodiment of the present invention, and as shown in fig. 9, the camera body 17 includes a first wireless charging coil 18, a voltage adjusting module 21, a first power supply 22, a first processing unit 23, a photovoltaic charging layer 24, and a combiner 26.
In the embodiment of the present invention, in a scene where the detachable camera module 16 is lost outdoors, due to the existence of the photovoltaic charging layer 24, the first power source 22 may be in a charging state (for example, in a daytime) to improve the cruising ability of the detachable camera module 16, so that the detachable camera module 16 may periodically send the positioning information of the detachable camera module 16 to the electronic device.
Fig. 10 shows a flowchart of a method for positioning a detachable camera module according to an embodiment of the present invention, where the method is applicable to an electronic device having an android operating system shown in fig. 1. As shown in fig. 10, the method for positioning a detachable camera module according to an embodiment of the present invention may include the following steps 201 and 202.
Step 201, in the case that the device body wirelessly charges for the detachable camera module, the electronic device receives a first charging parameter sent by the detachable camera module.
In the embodiment of the invention, the electronic equipment comprises an equipment body; above-mentioned detachable camera module includes camera body and first wireless charging coil.
In an embodiment of the present invention, the first charging parameter includes at least one of: the first signal intensity value is the signal intensity value of a radio signal received by the separable camera module, and the first current value is the charging current value generated by the first wireless charging coil when the separable camera module receives the radio signal.
Optionally, in the embodiment of the present invention, when the electronic device displays the "camera retrieving" interface, the user may input the "accurate search" option in the "camera retrieving" interface, so that the electronic device may wirelessly charge the detachable camera module, and the electronic device may receive the first charging parameter sent by the detachable camera module.
Optionally, in the embodiment of the present invention, the electronic device may control the power supply of the device body to supply ac power to the wireless charging coil of the electronic device, so that the wireless charging coil may send a radio signal to the detachable camera module, and the first wireless charging coil of the detachable camera module may receive the radio signal and generate a charging current corresponding to the radio signal, so as to wirelessly charge the power supply of the detachable camera module.
Optionally, in this embodiment of the present invention, the detachable camera module may send a coil parameter (for example, a first resonant frequency) of the first wireless charging coil to the electronic device, so that the electronic device may adjust the resonant frequency of the wireless charging coil of the device body to a second resonant frequency according to the first resonant frequency, so as to send a radio signal of a target frequency to the detachable camera module, so as to wirelessly charge the detachable camera module, where the target frequency is a frequency corresponding to the second resonant frequency, and the first resonant frequency may be the same as the second resonant frequency.
In the embodiment of the invention, the equipment body can be used for carrying out magnetic field resonance type wireless charging on the separable camera module so as to improve the charging distance of the wireless charging.
It can be understood that the first signal strength value may be a real-time signal strength value of a radio signal received by the detachable camera module; the detachable camera module can detect the first wireless charging coil in real time so as to acquire the charging parameters of the first wireless charging coil in real time and send the charging parameters of the first wireless charging coil to the electronic equipment in real time.
Optionally, in the embodiment of the present invention, the electronic device may obtain, according to the input of the user, the positioning information of the detachable camera module from the device body, so as to determine the position range of the detachable camera module. Specifically, before the step 201, the method for positioning a detachable camera module according to the embodiment of the present invention may further include the following steps 401 to 403.
Step 401, the electronic device receives a second input of the user.
Optionally, in the embodiment of the present invention, when the electronic device displays a desktop, a user may perform a second input (for example, click input) on the "camera retrieving" icon, so that the electronic device may display the "camera retrieving" interface, and obtain the positioning information of the detachable camera module from the device body, so as to determine the position range of the detachable camera module according to the positioning information.
Step 402, the electronic device responds to the second input and obtains first positioning information from the device body.
In an embodiment of the present invention, the first positioning information is used to indicate a position range where the separable camera module is located.
Optionally, in this embodiment of the present invention, when a user takes a picture through the detachable camera module, the user may perform an input on the detachable camera module, so that the detachable camera module is in a separated state from the device body, and the detachable camera module is wirelessly connected to the device body, so that the detachable camera module may send positioning information of the camera module to the device body in a periodic sending manner, so that the electronic device may store at least one piece of positioning information in the device body, and the electronic device may determine, in response to the second input, the first positioning information from the at least one piece of positioning information.
Optionally, in the embodiment of the present invention, for each piece of positioning information in the at least one piece of positioning information, when the device body receives one piece of positioning information sent by the detachable camera module, one time (that is, the system time of the electronic device that receives the one piece of positioning information) may be obtained, so that the device body may correspondingly store the one piece of positioning information and the one time to obtain a second corresponding relationship, so as to obtain at least one second corresponding relationship.
Optionally, in this embodiment of the present invention, the electronic device may determine the target time from at least one time in at least one second mapping relationship, so as to determine one second mapping relationship corresponding to the target time as a third mapping relationship, so that the electronic device may determine one positioning information in the third mapping relationship as the first positioning information, and thus the electronic device may obtain the first positioning information from the device body. And the target time is the time with the minimum time interval with the current system time of the equipment body in at least one time.
For example, it is assumed that three first corresponding relationships are stored in the device body, wherein the first second corresponding relationship is a corresponding relationship between one positioning information (e.g. positioning information a) and one time (e.g. 8:02), the second corresponding relationship is a corresponding relationship between one positioning information (e.g. positioning information b) and one time (e.g. 12:15), and the third second corresponding relationship is a corresponding relationship between one positioning information (e.g. positioning information c) and one time (e.g. 9:30), so that the electronic device can determine the time (i.e. 12:15) with the minimum time interval with the current system time (e.g. 16:40) of the device body from at least one time (i.e. 8:02, 12:15 and 9:30), and determining the positioning information b corresponding to 12:15 as first positioning information, so that the electronic equipment can acquire the positioning information b.
It can be understood that the electronic device can determine the positioning information sent to the device body by the separable camera module for the last time as the first positioning information, so that the electronic device can acquire the first positioning information from the device body.
Optionally, in this embodiment of the present invention, the first positioning information may specifically be any one of the following items: geographic location information and latitude and longitude information.
And step 403, the electronic equipment determines the position range of the separable camera module according to the first positioning information.
Optionally, in the embodiment of the present invention, after the electronic device determines the location range where the detachable camera module is located, the electronic device may display the location range in an electronic map in a "camera retrieving" interface.
It can be understood that, after the electronic device determines the position range where the detachable camera module is located, the user may perform a movement input on the device body to enable the device body to be within the position range, so that the detachable camera module may receive a radio signal transmitted by the electronic device to transmit the first charging parameter to the electronic device.
The above "input of movement to the apparatus body" can be understood as: the user holds the device body to move the device body, so that the displacement of the device body is changed.
In the embodiment of the invention, the electronic equipment can acquire the positioning information of the separable camera module from the equipment body according to the second input of the user, and determine the position range of the separable camera module according to the positioning information, so that the user can directly search for the separable camera module according to the position range, and the time consumed by the user for finding the separable camera module can be shortened.
Optionally, in the embodiment of the present invention, with reference to fig. 10, as shown in fig. 11, before step 201, the method for positioning a detachable camera module according to the embodiment of the present invention may further include the following steps 301 to 303.
Step 301, the electronic device receives a first input of a user.
Optionally, the user may perform a first input (e.g., a pressing input) on the "precise search" option in the "camera retrieving" interface, so that the electronic device may be paired with the detachable camera module (e.g., whether the first pairing information is the same as the preset pairing information), and the device body is controlled to send the radio signal to the detachable camera module when the electronic device is successfully paired with the detachable camera module.
Step 302, the electronic device sends first pairing information to the detachable camera module in response to the first input.
In an embodiment of the present invention, the first pairing information is used to instruct the separable camera module to send instruction information.
Optionally, in this embodiment of the present invention, in response to the first input, the electronic device may send the first pairing information to the detachable camera module in a periodic sending manner through a wireless charging coil of the device body.
The "periodic transmission method" may be understood as: the electronic equipment can send the first pairing information to the separable camera module once every preset time.
Step 303, the electronic device receives the indication information sent by the camera module, and sends a radio signal to the detachable camera module to wirelessly charge the detachable camera module when the indication information meets a first preset condition.
Optionally, in the embodiment of the present invention, the indication information may specifically be at least one of the following information: the name of detachable camera module, the serial number of detachable camera module and the manufacturer's sign etc. of detachable camera module.
Optionally, in this embodiment of the present invention, the first preset condition may specifically be that the indication information matches preset information in the device body.
Optionally, in this embodiment of the present invention, the preset information may specifically be at least one of the following: the name of the electronic device, the serial number of the electronic device, the manufacturer identification of the electronic device, and the like.
In the embodiment of the invention, the electronic equipment can send the first pairing information to the separable camera module according to the first input of the user, so that the separable camera module can send the indication information to the electronic equipment according to the first pairing information, and the electronic equipment can quickly send the radio signal to the separable camera module under the condition that the indication information meets the first preset condition so as to wirelessly charge the separable camera module.
Step 202, the electronic device obtains target position information according to the first charging parameter.
In an embodiment of the present invention, the target position information is relative position information between the device body and the detachable camera module.
In an embodiment of the present invention, the target position information may include a target distance, where the target distance is a distance between the device body and the separable camera module.
It should be noted that, for the description of determining the target distance according to the first charging parameter by the electronic device, details will be described in the following embodiments, which are not repeated herein.
The embodiment of the invention provides a method for positioning a separable camera module, which is characterized in that under the condition that an equipment body is wirelessly charged for the separable camera module, electronic equipment can receive a first charging parameter sent by the separable camera module and acquire target position information between the equipment body and the separable camera module according to the first charging parameter. Because the user can carry out wireless charging for detachable camera module through the equipment body when the detachable camera module is retrieved to the demand to make electronic equipment can directly confirm the target location information between equipment body and the detachable camera module according to first charging parameter, and need not the user and recall the position of placing of detachable camera module, consequently can shorten the consuming time that the user retrieved detachable camera module.
Alternatively, in the embodiment of the present invention, the step 202 may be specifically implemented by the following step 202a and step 202 b.
Step 202a, the electronic device determines a target distance relationship corresponding to the first charging parameter from a preset corresponding relationship table in the device body.
In the embodiment of the invention, each charging parameter corresponds to a distance relationship, and one distance relationship corresponds to one distance.
Optionally, in the embodiment of the present invention, the preset correspondence table includes at least one correspondence, and one correspondence is a correspondence between one charging parameter and one distance.
In the embodiment of the present invention, the electronic device may store at least one corresponding relationship in the device body in advance to obtain the preset corresponding relationship table, so that the electronic device may determine the target distance relationship corresponding to the first charging parameter from the preset corresponding relationship table.
Optionally, in this embodiment of the present invention, the electronic device may determine, according to the first charging parameter, a charging parameter matched with the first charging parameter from at least one charging parameter in the preset correspondence table, so as to determine a distance relationship corresponding to the charging parameter as a target distance relationship.
Step 202b, the electronic device determines a target distance corresponding to the first charging parameter according to the target distance relationship.
In the embodiment of the present invention, the electronic device may determine a distance corresponding to the target distance relationship as the target distance.
In the embodiment of the invention, after the electronic device determines the target distance, the electronic device can determine the target position information according to the target distance to acquire the target position information.
In the embodiment of the invention, the electronic device can determine the target distance relationship corresponding to the first charging parameter from the preset corresponding relationship table in the electronic device according to the first charging parameter, so as to quickly determine the target distance between the device body and the separable camera module according to the target distance relationship.
It should be noted that, after the electronic device determines the target distance, the user may perform a movement input on the device body to change the distance between the device body and the detachable camera module, so that the electronic device may perform step 201 and step 202 again to determine the first distance (i.e., the distance between the device body and the detachable camera module after performing the movement input), so that the user may determine the position of the detachable camera module according to the first distance.
Optionally, in the embodiment of the present invention, if the first distance is greater than the target distance, it may be considered that the input direction of the user performing the movement input on the device body is a direction away from the position of the separable camera module; or, if the first distance is less than or equal to the target distance, it may be determined that the input direction of the user performing the movement input on the device body is a direction toward the position of the detachable camera module.
It can be understood that the user can move the input to the equipment body along the direction towards the position of detachable camera module to shorten the distance between equipment body and the detachable camera module after moving the input, in order to retrieve detachable camera module.
Optionally, in the embodiment of the present invention, with reference to fig. 10, as shown in fig. 12, after the step 202, the method for positioning a separable camera module according to the embodiment of the present invention may further include the following step 203.
Step 203, the electronic device displays the target position information or the first information on a display screen of the device body.
In an embodiment of the present invention, the first information includes target location information and second information, and the second information includes at least one of the following: the first charging parameter and the electric quantity information of the separable camera module (such as the residual electric quantity of the separable camera module and the charged electric quantity of the separable camera module).
It should be noted that the "remaining power of the separable camera module" may be understood as: the proportion of the available electric quantity in the first power supply of the separable camera module to the nominal capacity is determined; the above-mentioned "the electric quantity that charges of detachable camera module" can understand: the charging capacity of the electronic equipment to the first power supply accounts for the proportion of the nominal capacity.
Optionally, in the embodiment of the present invention, after determining the target location information, the electronic device may display the target distance on the display screen of the device body, so as to prompt the user of the distance between the device body and the detachable camera module, so that the user may find back the detachable camera module according to the target distance; certainly, the equipment body can also show the second information on the display screen to the electric quantity information of separable camera module is indicateed to the user.
Optionally, in the embodiment of the present invention, the electronic device may display the target position information or the first information in the form of a floating frame on the "camera retrieving" interface; or, the electronic device may update the "camera recovery" interface to be the first interface to display the target location information or the first information in the first interface.
The electronic device is taken as an example of a wireless charging device for explanation. As shown in fig. 13, the wireless charging device 27 may display the first information on the display 28 of the wireless charging device 27, that is, the target location information (e.g., distance 3m), the first charging parameter (e.g., signal strength 29), and the remaining power 30 of the detachable camera module may be displayed on the display 28 of the wireless charging device 27.
In the embodiment of the invention, the electronic device can display the target position information (or the first information) on the display screen of the device body so as to prompt the user of the distance between the device body and the separable camera module (or prompt the user of the distance between the device body and the separable camera module and the electric quantity information of the separable camera module), so that the user can quickly find the separable camera module according to the position information (or the position information and the electric quantity information).
Fig. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device includes a device body, and the detachable camera module includes a camera body and a first wireless charging coil. As shown in fig. 14, the electronic device 60 may include: a receiving module 61 and an obtaining module 62.
The receiving module 61 is configured to receive a first charging parameter sent by the detachable camera module when the device body wirelessly charges the detachable camera module; wherein the first charging parameter comprises at least one of: the first signal intensity value is the signal intensity value of a radio signal received by the separable camera module, and the first current value is the charging current value generated by the first wireless charging coil when the separable camera module receives the radio signal. And the obtaining module 62 is configured to obtain target position information according to the first charging parameter received by the receiving module 61, where the target position information is relative position information between the device body and the separable camera module.
In a possible implementation manner, the receiving module 61 is further configured to receive a first input of a user before receiving a first charging parameter sent by the detachable camera module when the device body wirelessly charges the detachable camera module. With reference to fig. 14, as shown in fig. 15, the electronic device 60 provided in the embodiment of the present invention may further include: a sending module 63. The sending module 63 is configured to send, in response to the first input received by the receiving module 61, first pairing information to the detachable camera module, where the first pairing information is used to instruct the detachable camera module to send instruction information. The receiving module 61 is further configured to receive indication information. The sending module 63 is further configured to send a radio signal to the detachable camera module when the indication information received by the receiving module 61 meets a first preset condition, so as to wirelessly charge the detachable camera module.
In a possible implementation manner, the receiving module 61 is further configured to receive a second input of the user before receiving the first charging parameter sent by the detachable camera module when the device body wirelessly charges the detachable camera module. The obtaining module 62 is further configured to, in response to the second input received by the receiving module 61, obtain first positioning information from the device body, where the first positioning information is used to indicate a position range where the detachable camera module is located; and determining the position range of the separable camera module according to the acquired first positioning information.
In a possible implementation manner, the obtaining module 62 is specifically configured to determine a target distance relationship corresponding to the first charging parameter from a preset corresponding relationship table in the device body, and determine a target distance corresponding to the first charging parameter according to the target distance relationship; wherein each charging parameter corresponds to a distance relationship, respectively.
In a possible implementation manner, referring to fig. 14, as shown in fig. 16, an electronic device 60 provided in an embodiment of the present invention may further include: a display module 64. The display module 64 is configured to display target location information or first information on a display screen of the device body after the obtaining module 62 obtains the target location information according to the first charging parameter, where the first information includes the target location information and second information, and the second information includes at least one of the following: the first charging parameter and the electric quantity information of the separable camera module.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and for avoiding repetition, detailed description is not repeated here.
The embodiment of the invention provides electronic equipment, which can wirelessly charge a camera module through the electronic equipment when a user needs to retrieve the camera module, so that the electronic equipment can directly determine a target distance between the electronic equipment and the camera module according to a first charging parameter without requiring the user to recall the placement position of the camera module, and thus, the time consumption of retrieving the camera module by the user can be shortened.
Fig. 17 is a hardware schematic diagram of an electronic device implementing various embodiments of the invention. As shown in fig. 17, electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111.
It should be noted that the electronic device structure shown in fig. 17 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown in fig. 17, or combine some components, or arrange different components, as will be understood by those skilled in the art. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 110 is configured to control the user input unit 107 to receive a first charging parameter sent by the detachable camera module when the device body is wirelessly charged by the detachable camera module; wherein the first charging parameter comprises at least one of: the wireless charging device comprises a first signal intensity value and a first current value, wherein the first signal intensity value is a signal intensity value of a radio signal received by the separable camera module, and the first current value is a charging current value generated by a first wireless charging coil when the separable camera module receives the radio signal; and acquiring target position information according to the first charging parameter, wherein the target position information is relative position information between the equipment body and the separable camera module.
The embodiment of the invention provides electronic equipment, which can wirelessly charge a separable camera module through an equipment body when a user needs to find the separable camera module, so that the electronic equipment can directly determine target position information between the equipment body and the separable camera module according to a first charging parameter, and the user does not need to remember the placement position of the separable camera module, and thus the time consumed by the user for finding the separable camera module can be shortened.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The electronic device 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the electronic device 100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 17, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the electronic apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 100 or may be used to transmit data between the electronic apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the electronic device. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The electronic device 100 may further include a power supply 111 (e.g., a battery) for supplying power to each component, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 100 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes the processor 110 shown in fig. 17, the memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program, when executed by the processor 110, implements the processes of the foregoing method embodiment, and can achieve the same technical effects, and details are not described here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. A separable camera module positioning method is applied to electronic equipment, the electronic equipment comprises an equipment body, the separable camera module is characterized by comprising a camera body and a first wireless charging coil, and the method comprises the following steps:
receiving a first charging parameter sent by the separable camera module under the condition that the equipment body wirelessly charges the separable camera module; wherein the first charging parameter comprises at least one of: the first signal intensity value is the signal intensity value of a radio signal received by the separable camera module, and the first current value is a charging current value generated by the first wireless charging coil when the separable camera module receives the radio signal;
acquiring target position information according to the first charging parameter, wherein the target position information is relative position information between the equipment body and the separable camera module, the target position information comprises a target distance, and the target distance is a distance between the equipment body and the separable camera module;
and finding back the separable camera module according to the target distance.
2. The method according to claim 1, wherein before the receiving the first charging parameter sent by the detachable camera module when the camera module is wirelessly charged by the device body, the method further comprises:
receiving a first input of a user;
responding to the first input, and sending first pairing information to the separable camera module, wherein the first pairing information is used for indicating the separable camera module to send indication information;
receiving the indication information, and sending a radio signal to the separable camera module to wirelessly charge the separable camera module under the condition that the indication information meets a first preset condition.
3. The method according to claim 1 or 2, wherein before receiving the first charging parameter sent by the detachable camera module when the device body wirelessly charges the detachable camera module, the method further comprises:
receiving a second input of the user;
responding to the second input, and acquiring first positioning information from the equipment body, wherein the first positioning information is used for indicating the position range of the separable camera module;
and determining the position range of the separable camera module according to the first positioning information.
4. The method of claim 1, wherein determining target location information based on the first charging parameter comprises:
determining a target distance relation corresponding to the first charging parameter from a preset corresponding relation table in the equipment body;
determining a target distance corresponding to the first charging parameter according to the target distance relationship;
wherein each charging parameter corresponds to a distance relationship, respectively.
5. The method of claim 1, wherein after obtaining the target location information according to the first charging parameter, the method further comprises:
displaying the target position information or first information on a display screen of the device body, wherein the first information comprises the target position information and second information, and the second information comprises at least one of the following items: the first charging parameter and the electric quantity information of the separable camera module.
6. The utility model provides an electronic equipment, electronic equipment includes the equipment body, its characterized in that, detachable camera module includes camera body and first wireless charging coil, electronic equipment still includes: the device comprises a receiving module and an obtaining module;
the receiving module is used for receiving a first charging parameter sent by the separable camera module under the condition that the equipment body wirelessly charges the separable camera module; wherein the first charging parameter comprises at least one of: the first signal intensity value is the signal intensity value of a radio signal received by the separable camera module, and the first current value is a charging current value generated by the first wireless charging coil when the separable camera module receives the radio signal;
the acquisition module is configured to acquire target position information according to the first charging parameter received by the receiving module, where the target position information is relative position information between the device body and the detachable camera module, the target position information includes a target distance, and the target distance is a distance between the device body and the detachable camera module;
the acquisition module is further used for finding the separable camera module according to the target distance.
7. The electronic device according to claim 6, wherein the receiving module is further configured to receive a first input of a user before receiving a first charging parameter sent by the detachable camera module when the device body wirelessly charges the detachable camera module;
the electronic device further includes: a sending module;
the sending module is configured to send, in response to the first input received by the receiving module, first pairing information to the detachable camera module, where the first pairing information is used to instruct the detachable camera module to send instruction information;
the receiving module is further configured to receive the indication information;
the sending module is further configured to send a radio signal to the separable camera module under the condition that the indication information received by the receiving module meets a first preset condition, so as to wirelessly charge the separable camera module.
8. The electronic device according to claim 6 or 7, wherein the receiving module is further configured to receive a second input of a user before receiving the first charging parameter sent by the detachable camera module when the device body wirelessly charges the detachable camera module;
the obtaining module is further configured to obtain, in response to the second input received by the receiving module, first positioning information from the device body, where the first positioning information is used to indicate a position range where the detachable camera module is located; and determining the position range of the separable camera module according to the acquired first positioning information.
9. The electronic device according to claim 6, wherein the obtaining module is specifically configured to determine a target distance relationship corresponding to the first charging parameter from a preset correspondence table in the device body; determining the target distance corresponding to the first charging parameter according to the target distance relationship; wherein each charging parameter corresponds to a distance relationship, respectively.
10. The electronic device of claim 6, further comprising: a display module;
the display module is configured to display target location information or first information on a display screen of the device body after the obtaining module obtains the target location information according to the first charging parameter, where the first information includes the target location information and second information, and the second information includes at least one of the following: the first charging parameter and the electric quantity information of the separable camera module.
11. An electronic device comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the detachable camera module positioning method according to any one of claims 1 to 5.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the detachable camera module positioning method according to any one of claims 1 to 5.
CN202010296993.7A 2020-04-15 2020-04-15 Separable camera module positioning method and electronic equipment Active CN111601018B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010296993.7A CN111601018B (en) 2020-04-15 2020-04-15 Separable camera module positioning method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010296993.7A CN111601018B (en) 2020-04-15 2020-04-15 Separable camera module positioning method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111601018A CN111601018A (en) 2020-08-28
CN111601018B true CN111601018B (en) 2022-05-10

Family

ID=72185001

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010296993.7A Active CN111601018B (en) 2020-04-15 2020-04-15 Separable camera module positioning method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111601018B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915747B (en) * 2021-02-09 2024-05-03 华为技术有限公司 Video call method, electronic device and readable storage medium
CN113114815B (en) * 2021-04-12 2023-08-08 维沃移动通信有限公司 Electronic equipment
CN114143444A (en) * 2021-09-30 2022-03-04 北京空间飞行器总体设计部 Separable wireless networking imaging system and method suitable for extraterrestrial celestial body detection
CN114554591B (en) * 2022-02-24 2024-05-14 赵德双 Desktop-level multi-target dynamic optical wireless energy transmission device and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333625A (en) * 2014-11-06 2015-02-04 广东欧珀移动通信有限公司 Mobile terminal
CN104410781A (en) * 2014-11-06 2015-03-11 广东欧珀移动通信有限公司 Start control method of separated mobile terminal camera and mobile terminal
CN206728014U (en) * 2017-05-10 2017-12-08 歌尔科技有限公司 Bluetooth earphone
CN109068227A (en) * 2018-10-12 2018-12-21 歌尔科技有限公司 A kind of earphone localization method and earphone
CN110649719A (en) * 2019-08-23 2020-01-03 华为技术有限公司 Wireless charging method and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105958658A (en) * 2016-05-20 2016-09-21 联想(北京)有限公司 Charging position prompt method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333625A (en) * 2014-11-06 2015-02-04 广东欧珀移动通信有限公司 Mobile terminal
CN104410781A (en) * 2014-11-06 2015-03-11 广东欧珀移动通信有限公司 Start control method of separated mobile terminal camera and mobile terminal
CN206728014U (en) * 2017-05-10 2017-12-08 歌尔科技有限公司 Bluetooth earphone
CN109068227A (en) * 2018-10-12 2018-12-21 歌尔科技有限公司 A kind of earphone localization method and earphone
CN110649719A (en) * 2019-08-23 2020-01-03 华为技术有限公司 Wireless charging method and electronic equipment

Also Published As

Publication number Publication date
CN111601018A (en) 2020-08-28

Similar Documents

Publication Publication Date Title
CN111601018B (en) Separable camera module positioning method and electronic equipment
CN109743498B (en) Shooting parameter adjusting method and terminal equipment
EP4047922A1 (en) Object tracking method and electronic device
CN110891144B (en) Image display method and electronic equipment
CN109862504B (en) Display method and terminal equipment
CN108174103B (en) Shooting prompting method and mobile terminal
CN108337368B (en) Method for updating positioning data and mobile terminal
CN111142991A (en) Application function page display method and electronic equipment
CN109739394B (en) SAR value processing method and mobile terminal
CN108984066B (en) Application icon display method and mobile terminal
CN110881212B (en) Method and device for saving power of equipment, electronic equipment and medium
CN109257505B (en) Screen control method and mobile terminal
CN110944139B (en) Display control method and electronic equipment
CN110944374A (en) Communication mode selection method and device, electronic equipment and medium
CN109888928B (en) Terminal and wireless charging control method
EP4068750A1 (en) Object display method and electronic device
CN108551525B (en) State determination method of movement track and mobile terminal
CN108174109B (en) Photographing method and mobile terminal
CN110602387B (en) Shooting method and electronic equipment
CN116871982A (en) Device and method for detecting spindle of numerical control machine tool and terminal equipment
CN111221602A (en) Interface display method and electronic equipment
CN111753606A (en) Intelligent model upgrading method and device
CN110958387B (en) Content updating method and electronic equipment
CN109068276B (en) Message conversion method and terminal
CN108988413B (en) Mobile terminal charging method and mobile terminal

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
GR01 Patent grant
GR01 Patent grant