CN114172282A - Charging control method, charging control device and storage medium - Google Patents

Charging control method, charging control device and storage medium Download PDF

Info

Publication number
CN114172282A
CN114172282A CN202010958041.7A CN202010958041A CN114172282A CN 114172282 A CN114172282 A CN 114172282A CN 202010958041 A CN202010958041 A CN 202010958041A CN 114172282 A CN114172282 A CN 114172282A
Authority
CN
China
Prior art keywords
charging
target
determining
distance
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010958041.7A
Other languages
Chinese (zh)
Inventor
肖伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010958041.7A priority Critical patent/CN114172282A/en
Publication of CN114172282A publication Critical patent/CN114172282A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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/20Circuit arrangements or systems for wireless supply or distribution of electric power using microwaves or radio frequency waves
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/007188Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B40/00Technologies aiming at improving the efficiency of home appliances, e.g. induction cooking or efficient technologies for refrigerators, freezers or dish washers

Landscapes

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

Abstract

The application discloses a charging control method, a charging control device and a storage medium, which are applied to a charging device, wherein the charging device comprises a first UWB module and a radio frequency energy transmitting device; the method comprises the following steps: determining, by the first UWB module and a second UWB module of an electronic device, a target relative position parameter between the charging apparatus and the electronic device; determining a first working parameter of the radio frequency energy transmitting device according to the target relative position parameter; and controlling the radio frequency energy sending device to send a first energy signal according to the first working parameter, wherein the first energy signal is used for charging the electronic equipment. By adopting the embodiment of the application, the accurate positioning of the electronic equipment can be realized by utilizing the centimeter-level positioning accuracy characteristic of the UWB technology, so that the working parameters of the corresponding radio frequency energy transmitting device can be determined, the electronic equipment can be charged, and the wireless charging efficiency can be improved.

Description

Charging control method, charging control device and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a charging control method and apparatus, and a storage medium.
Background
With the widespread use of electronic devices (such as mobile phones, tablet computers, smartwatches, and the like), electronic devices have increasingly supported applications and increasingly powerful functions, and the electronic devices are developed towards diversification and personalization, and become indispensable electronic products in user life.
At present, wireless charging technology is also applied to electronic equipment, but wireless charging in the prior art requires that the electronic equipment is close to the charging equipment, so that the flexibility of using the electronic equipment by a user is greatly limited when charging.
Disclosure of Invention
The embodiment of the application provides a charging control method, a charging control device and a storage medium, which can utilize the positioning precision characteristic of Ultra Wide Band (UWB) technology at the centimeter level to realize the accurate positioning and accurate charging parameters of electronic equipment so as to charge the electronic equipment, thereby improving the wireless charging efficiency and also improving the flexibility of using the electronic equipment by a user when charging.
In a first aspect, an embodiment of the present application provides a charging control method, which is applied to a charging device, where the charging device includes a first UWB module and a radio frequency energy transmitting device; the method comprises the following steps:
determining, by the first UWB module and a second UWB module of an electronic device, a target relative position parameter between the charging apparatus and the electronic device;
determining a first working parameter of the radio frequency energy transmitting device according to the target relative position parameter;
and controlling the radio frequency energy sending device to send a first energy signal according to the first working parameter, wherein the first energy signal is used for charging the electronic equipment.
In a second aspect, an embodiment of the present application provides a charging control device, which is applied to a charging device that includes a first UWB module and a radio frequency energy transmitting device; the device comprises:
a first determination unit configured to determine a target relative position parameter between the charging apparatus and the electronic device through the first UWB module and a second UWB module of the electronic device;
the second determining unit is used for determining a first working parameter of the radio frequency energy transmitting device according to the target relative position parameter;
and the charging control unit is used for controlling the radio frequency energy transmitting device to transmit a first energy signal according to the first working parameter, and the first energy signal is used for charging the electronic equipment.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory for storing one or more programs and configured to be executed by the processor, the program including instructions for performing the steps in the method according to any one of the first aspect of the claims.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in the first aspect of the embodiment of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
The embodiment of the application has the following beneficial effects:
it can be seen that the charging control method, the charging control device, and the storage medium described in the embodiments of the present application are applied to a charging device, where the charging device includes a first UWB module and a radio frequency energy transmitting device, a target relative position parameter between the charging device and an electronic device is determined through the first UWB module and a second UWB module of the electronic device, a first operating parameter of the radio frequency energy transmitting device is determined according to the target relative position parameter, the radio frequency energy transmitting device is controlled to transmit a first energy signal according to the first operating parameter, and the first energy signal is used to charge the electronic device.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present application;
fig. 3A is a schematic flowchart of a charging control method according to an embodiment of the present disclosure;
fig. 3B is a schematic illustration showing a communication connection established between a charging device and an electronic device according to an embodiment of the present application;
FIG. 3C is a schematic illustration of an exemplary embodiment of the present application for demonstrating the determination of relative position parameters;
fig. 3D is another schematic illustration of a charging apparatus and an electronic device provided in an embodiment of the present application for demonstrating communication connection therebetween;
fig. 3E is a schematic illustration showing a communication between a charging device and an electronic device according to an embodiment of the present application;
fig. 3F is another schematic illustration of a communication between a charging device and an electronic device according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another charging control method provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of a charging device according to an embodiment of the present disclosure;
fig. 6A is a block diagram illustrating functional units of a charging control apparatus according to an embodiment of the present disclosure;
fig. 6B is a block diagram of functional units of another charging control apparatus according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
In order to better understand the scheme of the embodiments of the present application, the following first introduces the related terms and concepts that may be involved in the embodiments of the present application.
The electronic device may include various Ultra Wide Band (UWB) module devices, such as a smart phone, a vehicle-mounted device, a wearable device, a charging device (e.g., a power bank), a smart watch, smart glasses, a wireless bluetooth headset, a computing device or other processing device connected to a wireless modem, and various forms of User Equipment (UE), a Mobile Station (MS), a virtual reality/augmented reality device, a terminal device (terminal device), and the like, and may also be a base Station or a server. In the embodiment of the present application, the electronic device may also serve as a charging device.
The electronic device may further include an intelligent home device, and the intelligent home device may be at least one of: intelligent audio amplifier, intelligent camera, intelligent electric rice cooker, intelligent wheelchair, intelligent massage armchair, intelligent furniture, intelligent dish washer, intelligent TV set, intelligent refrigerator, intelligent electric fan, intelligent room heater, intelligent clothes hanger that dries in the air, intelligent lamp, intelligent router, intelligent switch, intelligent flush mounting plate, intelligent humidifier, intelligent air conditioner, intelligent door, intelligent window, intelligent top of a kitchen range, intelligent sterilizer, intelligent closestool, the robot etc. of sweeping the floor do not restrict here.
In a first section, the software and hardware operating environment of the technical solution disclosed in the present application is described as follows.
As shown, fig. 1 shows a schematic structural diagram of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a compass 190, a motor 191, a pointer 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an application processor AP, a modem processor, a graphics processor GPU, an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural network processor NPU, among others. Wherein the different processing units may be separate components or may be integrated in one or more processors. In some embodiments, the electronic device 101 may also include one or more processors 110. The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to complete the control of instruction fetching and instruction execution. In other embodiments, a memory may also be provided in processor 110 for storing instructions and data. Illustratively, the memory in the processor 110 may be a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from memory. This avoids repeated accesses and reduces the latency of the processor 110, thereby increasing the efficiency with which the electronic device 101 processes data or executes instructions.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a SIM card interface, a USB interface, and/or the like. The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 101, and may also be used to transmit data between the electronic device 101 and peripheral devices. The USB interface 130 may also be used to connect to a headset to play audio through the headset.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including wireless communication of 2G/3G/4G/5G/6G, etc. applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (blue tooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, videos, and the like. The display screen 194 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a mini light-emitting diode (mini-light-emitting diode, mini), a Micro-o led, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or more display screens 194.
The electronic device 100 may implement a photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or more cameras 193.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
Internal memory 121 may be used to store one or more computer programs, including instructions. The processor 110 may execute the above-mentioned instructions stored in the internal memory 121, so as to enable the electronic device 101 to execute the method for displaying page elements provided in some embodiments of the present application, and various applications and data processing. The internal memory 121 may include a program storage area and a data storage area. Wherein, the storage program area can store an operating system; the storage program area may also store one or more applications (e.g., gallery, contacts, etc.), and the like. The storage data area may store data (such as photos, contacts, etc.) created during use of the electronic device 101, and the like. Further, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage components, flash memory components, Universal Flash Storage (UFS), and the like. In some embodiments, the processor 110 may cause the electronic device 101 to execute the method for displaying page elements provided in the embodiments of the present application, and other applications and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110. The electronic device 100 may implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. Such as music playing, recording, etc.
The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., X, Y and the Z axis) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
Fig. 2 shows a block diagram of a software structure of the electronic device 100. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom. The application layer may include a series of application packages.
As shown in fig. 2, the application layer may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
In the second section, the charging control method and apparatus disclosed in the embodiments of the present application are introduced as follows.
Referring to fig. 3A, fig. 3A is a schematic flowchart of a charging control method according to an embodiment of the present application, and is applied to a charging device, where the charging device includes a first UWB module and a radio frequency energy transmitting device; as shown in the figure, the charging control method includes:
301. determining, by the first UWB module and a second UWB module of an electronic device, a target relative position parameter between the charging apparatus and the electronic device.
In the embodiment of the present application, the charging apparatus may include a first UWB module, the electronic device may include a second UWB module, the charging apparatus may charge one or more electronic devices, and the charging apparatus may also serve as a base station for implementing UWB positioning. In this embodiment, the target relative position parameter may include at least one of the following: relative distance, relative angle, etc., and are not limited herein. The relative angle may be a two-dimensional angle or a three-dimensional angle. As shown in fig. 3B, a communication connection may be established between the charging apparatus and the electronic device. When the electronic device is charged, the charging device may not directly contact or directly contact the electronic device.
In a specific implementation, the charging apparatus may determine the target relative position parameter between the charging apparatus and the electronic device through the first UWB module and the second UWB module of the electronic device. In specific implementation, the positioning and ranging technology by UWB may include: two-way Ranging (TWR) technique, time Difference of Arrival (TDOA) technique, Phase Difference of Arrival (PDOA) technique, etc., which are not limited herein.
Further, in the embodiment of the present application, the first UWB module may include 2 antennas, a first UWB antenna and a second UWB antenna, and the electronic device may include a third UWB antenna, and referring to fig. 3C, a first tangential angle of the first UWB antenna with respect to the electronic device may be determined based on a UWB signal received by the first UWB antenna and transmitted by the third UWB antenna and a UWB signal received by the second UWB antenna, and specifically, a first distance difference between the UWB signal arriving at the first UWB antenna and arriving at the second UWB antenna may be determined based on a UWB signal received by the first UWB antenna and a UWB signal received by the second UWB antenna; a first chamfer angle of the first UWB antenna relative to the electronic device is determined based on the first distance difference and a first separation distance between the first UWB antenna and the second UWB antenna.
Wherein, a first tangent angle of the first UWB antenna with respect to the earphone box or the mobile phone is determined according to the first distance difference and the first separation distance between the first UWB antenna and the second UWB antenna, and specifically, a distance y from the earphone box or the mobile phone to a connection line of the first UWB antenna of the first wireless earphone and the second UWB antenna of the second wireless earphone may be determined according to the following formula:
Figure BDA0002678230400000071
wherein, as shown in fig. 3C, d is a first separation distance between the first UWB antenna and the second UWB antenna, r is a first distance between the first UWB antenna and the electronic device, and p is a first distance difference (r-p) between a distance from which the UWB signal reaches the first UWB antenna and a distance from which the UWB signal reaches the second UWB antenna; further, a first chamfer angle may be determined based on the distances y and r being a first distance between the first UWB antenna and the electronic device, wherein, as shown in fig. 3C, a right triangle may be constructed based on the distances y and r, x being one leg of the right triangle, the other leg of the right triangle being y, the hypotenuse of the right triangle being the first distance r between the first UWB antenna and the electronic device, and the sine of the first chamfer angle α being y/r.
302. And determining a first working parameter of the radio frequency energy transmitting device according to the target relative position parameter.
In this embodiment of the present application, the first operating parameter may be at least one of the following: the operating current of the rf energy transmitting device, the operating voltage of the rf energy transmitting device, the operating power of the rf energy transmitting device, the transmitting power of the rf energy transmitting device, the signal transmitting direction of the rf energy transmitting device, the number of charging objects of the rf energy transmitting device, the transmitting frequency of the rf energy transmitting device, the transmitting wavelength of the rf energy transmitting device, and the like, which are not limited herein. The different relative position parameters may correspond to different operating parameters of the rf energy transmitting device.
In one possible example, the target relative position parameter includes a target distance and a target relative angle, and the first operating parameter includes a target transmission power and a target signal transmission direction;
the step 302 of determining the first operating parameter of the rf energy transmitting device according to the target relative position parameter may include the following steps:
21. determining the target transmitting power corresponding to the target distance according to a mapping relation between a preset distance and transmitting power;
22. and determining the target signal transmitting direction of the radio frequency energy transmitting device according to the target relative angle.
In this embodiment of the present application, a mapping relationship between a preset distance and a transmission power may be pre-stored in the electronic device, and then, a target transmission power corresponding to a target distance may be determined according to the mapping relationship, and a target signal transmission direction of the radio frequency energy transmission device may be determined according to a target relative angle, where the target signal transmission direction is pointed to a receiving antenna of the electronic device by a transmitting antenna of the charging device, so that a corresponding transmission power may be set for the distance, and the transmission direction may be adjusted to a direction pointing to the electronic device, so as to achieve an optimal charging effect.
303. And controlling the radio frequency energy sending device to send a first energy signal according to the first working parameter, wherein the first energy signal is used for charging the electronic equipment.
The charging device can control the radio frequency energy transmitting device to work according to the first working parameter so as to transmit a first energy signal, and the first energy signal is used for charging the electronic equipment.
In a specific implementation, as shown in fig. 3D, the charging device may include a controller Module (MCU), a radio frequency energy transmitting device (RF), and a UWB communication module (a first UWB module), where the first UWB module may be externally connected with two antennas, and the charging device may further include the following modules: the motor is controlled, and the holder device is rotated by 360 degrees, which is not limited herein. The electronic device may be configured with a UWB communication module (second UWB module) and an energy receiving device (wireless charging receiving module), wherein the wireless charging receiving module may be located at a side position of the electronic device with respect to a receiving surface of the charging radio frequency signal. Further, the charging device may also include an energy receiving device, which is used for enabling other devices to charge the charging device through the energy receiving device. The electronic device may also include a radio frequency energy transmission device for enabling charging of other devices by the radio frequency energy transmission device.
In the embodiment of the application, the MCU of the charging device can control the UWB communication module to be connected with the UWB communication module of the equipment to be charged, the distance and angle information of the charging device relative to the charging device can be obtained in real time through a TWR algorithm and a PDOA algorithm, and the positioning precision of the centimeter level can be achieved.
Secondly, in this embodiment of the application, the MCU can dynamically adjust the transmission power of the rf energy transmitter according to the real-time distance information between the charging device and the electronic device, thereby saving the power consumption of the charging device while ensuring the charging efficiency.
For example, in a specific implementation, the embodiments of the present application may be implemented according to the following steps 1 to 6:
1. the position of the charging device is fixed, for example, the charging device can be hung on a ceiling or attached to a wall;
2. when the electronic equipment enters the range covered by the wireless charging of the charging device and starts to wirelessly charge, starting a UWB module of the charging device and sending a Probe frame connected by the UWB to inquire whether the other side supports the mobile charging, if a positive response of a UWB signal of the electronic equipment of the other side is received, the electronic equipment of the other side supports the mobile charging function in the application, turning to the step 3, otherwise, closing the UWB charging module and carrying out the wireless charging in a common mode;
3. the charging device starts a UWB TWR ranging mode first, and the base station can calculate the distance between itself and the electronic device through the interaction of the frame shown in fig. 3E;
4. after the charging device finishes the TWR ranging, the MCU controls the UWB to enter a PDOA ranging mode, and turns on the dual antennas of the UWB module (specifically, it may be determined whether the UWB is turned on by itself or the MCU is turned on according to the specification of the UWB chip used), and finishes the PDOA according to the interaction of the frame as shown in fig. 3F, and calculates the angle between the base station and the electronic device at this time;
5. the transmitting power of the base station radio frequency signal is dynamically adjusted according to the distance information obtained by calculation in the step 3, an empirical formula with optimal power/efficiency matching can be preset specifically, and the MCU dynamically calculates the optimal power value to be output at the moment according to the formula and the distance information obtained in real time; according to the angle information obtained by calculation in the step 4, the MCU calculates the rotation direction and the rotation angle required by the holder at the moment according to the current position state of the motor and the angle information of the electronic equipment measured in real time, so that the output voltage, the phase and the duration of the motor are calculated, the rotation of the holder is controlled, the real-time positioning and tracking of the electronic equipment are finished, the radio frequency signal of the base station is ensured to cover the energy receiving device of the electronic equipment all the time, and the wireless charging in the movement is ensured not to be interrupted;
6. when the user stops wireless charging or the UWB heartbeat package does not receive the response of the electronic equipment within the preset time period, the electronic equipment is indicated to leave the wireless charging range or the electronic equipment closes the UWB function, at the moment, the MCU controls the UWB module to enter a dormant state and controls the cradle head to return to the initial state position, so that the power consumption of the charging device is reduced.
In a possible example, before the step 301, the following steps may be further included:
a1, determining a first distance between the charging device and the electronic equipment;
a2, when the first distance is smaller than a first preset distance, sending a charging inquiry request to the electronic equipment, wherein the charging inquiry request is used for asking the electronic equipment whether to charge;
a3, receiving a charging confirmation response message sent by the electronic device, and executing the step of determining the target relative position parameter between the charging device and the electronic device through the first UWB module and the second UWB module of the electronic device.
In a specific implementation, the first preset distance may be set by a user or default by a system. The charging apparatus may determine the first distance between the charging apparatus and the electronic device through a designation module, which may be at least one of: a bluetooth module, a wireless fidelity (Wi-Fi) module, a UWB module, etc., which are not limited herein.
In a specific implementation, the charging device may determine a first distance between the charging device and the electronic device, and when the first distance is less than a first preset distance, send a charging inquiry request to the electronic device, where the charging inquiry request is used to ask the electronic device whether to charge, receive a charging confirmation response message sent by the electronic device, and execute step 301, otherwise, not execute step 301, that is, only if the distance between the electronic device and the charging device is within a certain range, the charging device may initiate a charging inquiry to remind the user to charge.
In one possible example, the step a1, determining the first distance between the charging device and the electronic device, may include the steps of:
a11, acquiring a signal intensity change curve of the electronic equipment in a preset time period, wherein the horizontal axis of the signal intensity change curve is time, and the vertical axis of the signal intensity change curve is a signal intensity value;
a12, sampling the signal intensity change curve to obtain a plurality of signal intensity values;
a13, determining a target mean value according to the signal intensity values;
a14, performing mean square error operation according to the signal intensity values to obtain a target mean square error;
a15, determining a target adjusting coefficient corresponding to the target mean square error according to a mapping relation between a preset mean square error and an adjusting coefficient;
a16, adjusting the target mean value according to the target adjusting coefficient to obtain a first signal intensity value of the electronic equipment;
a17, determining the first distance corresponding to the first signal strength value according to a preset mapping relation between the signal strength value and the distance.
The preset time period may be preset or default, and the preset time period may be a time period before the current time. The charging device may further store a mapping relationship between a preset mean square error and an adjustment coefficient in advance.
In a specific implementation, the charging device may obtain a signal intensity variation curve of the electronic device detected by the charging device in a preset time period, where a horizontal axis of the signal intensity variation curve is time and a vertical axis of the signal intensity variation curve is signal intensity value, perform uniform sampling on the signal intensity variation curve to obtain a plurality of signal intensity values, determine a target mean value according to the plurality of signal intensity values, perform mean square error operation according to the plurality of signal intensity values to obtain a target mean square error, determine a target adjustment coefficient corresponding to the target mean square error according to a mapping relationship between the preset mean square error and the adjustment coefficient, and adjust the target mean value according to the target adjustment coefficient to obtain a first signal intensity of the second wireless headset.
In this embodiment of the application, the value range may also be set by the user or the system may update itself, for example, the value range of the adjustment coefficient may be-0.15 to 0.15, and certainly, further, the charging device may adjust the target mean value according to the target adjustment coefficient to obtain the first signal intensity value, and the specific calculation mode of the first signal intensity value may refer to the following formula:
first signal strength value (1+ target adjustment coefficient) target mean value
Therefore, the mean value reflects the change condition of the signal within a period of time, the mean square error reflects the stability of the signal, and further the signal strength of the electronic equipment can be accurately detected, further, the mapping relation between the preset signal strength value and the distance can be prestored in the electronic equipment, and the first distance corresponding to the first signal strength value can be determined according to the mapping relation.
In one possible example, before or after the above steps 301 to 303, the following steps may be further included:
when a second distance between the charging device and the electronic equipment is greater than a second preset distance, the electronic equipment is not charged, and the second preset distance is greater than or equal to the first preset distance.
Wherein, the second preset distance can be set by the user or the system defaults. In specific implementation, the charging device may determine a second distance between the charging device and the electronic device, and when the second distance is greater than a second preset distance, the electronic device may not be charged, and the second preset distance is greater than or equal to the first preset distance, so that charging validity may be ensured.
In one possible example, the following steps may be further included:
b1, determining the number of target charging objects corresponding to the charging device, the target magnetic field interference strength of the charging device and a default charging prohibition distance;
b2, determining a target first influence factor corresponding to the target magnetic field interference strength according to a mapping relation between preset magnetic field interference strength and the first influence factor;
b3, determining a target second influence factor corresponding to the target charging object number according to a mapping relation between the preset charging object number and the second influence factor;
and B4, calculating according to the target first influence factor, the target second influence factor and the default charging prohibition distance to obtain the second preset distance.
In this embodiment, the charging device may determine the number of target charging objects corresponding to the charging device, the target magnetic field interference strength of the charging device, and a default charging prohibition distance. The charging device can also pre-store a mapping relation between preset magnetic field interference strength and a first influence factor and a mapping relation between the preset number of the charging objects and a second influence factor, and further, the charging device can determine a target first influence factor corresponding to the target magnetic field interference strength according to the mapping relation between the preset magnetic field interference strength and the first influence factor, wherein the value range of the first influence factor can be-1, for example, -0.015, and then, according to the mapping relation between the preset number of the charging objects and the second influence factor, a target second influence factor corresponding to the target number of the charging objects can be determined, the value range of the second influence factor is 0-1, the larger the number of the charging objects is, the larger the second influence factor is, and finally, the target first influence factor can be determined according to the target first influence factor, And calculating a target second influence factor and the default forbidden charging distance to obtain a second preset distance, wherein the specific calculation formula is as follows:
the second predetermined distance is the default forbidden charging distance (1+ target first influencing factor) × (1-target second influencing factor)
Therefore, the default forbidden charging distance can be dynamically adjusted according to the number of the charging objects and the magnetic field interference strength, and the charging efficiency of the charging device can be improved.
In one possible example, the charging device further comprises a driving device; after the step 303, the following steps may be further included:
c1, acquiring target movement parameters of the electronic equipment;
c2, determining a target position change parameter between the charging device and the electronic equipment;
c3, determining a target adjusting parameter of the first working parameter according to the target position change parameter;
c4, adjusting the first working parameter according to the target adjusting parameter to obtain a second working parameter;
c5, determining target driving parameters of the driving device according to preset target movement parameters;
and C6, controlling the driving device to work according to the target driving parameters, and controlling the radio frequency energy transmitting device to transmit a second energy signal according to the second working parameters, wherein the second energy signal is used for charging the electronic equipment.
In this embodiment of the application, the charging device may maintain communication with the electronic device, and may further obtain a target movement parameter of the electronic device, where the target movement parameter may be at least one of the following: a moving speed, a moving direction, a moving angle, a moving position, and the like, which are not limited herein. The drive means may be at least one of: pan, tilt, motor, etc., without limitation.
In a specific implementation, the charging device may obtain a target movement parameter of the electronic device, and further, the charging device may determine a target position change parameter of the charging device and the electronic device, where the target position change parameter is used to indicate a movement condition of the electronic device, and the target position change parameter may be at least one of the following parameters: a distance variation parameter, an angle variation parameter, etc., and are not limited herein. The charging device can also pre-store the mapping relation between the position change parameters and the adjustment parameters, further determine target adjustment parameters corresponding to the target position change parameters according to the mapping relation, determine target driving parameters corresponding to the target moving parameters according to the mapping relation between the preset moving parameters and the driving parameters, control the driving device to work according to the target driving parameters, control the radio frequency energy transmitting device to transmit second energy signals according to the second working parameters, wherein the second energy signals are used for charging the electronic equipment, so that the working parameters of the charging device can be correspondingly adjusted according to the moving condition of the electronic equipment, and charging stability and charging efficiency are guaranteed.
In the embodiment of the application, the positioning accuracy characteristic of the UWB technology at the centimeter level is utilized, and the high-freedom holder base station equipment is carried to assist electronic equipment such as a mobile phone to carry out wireless charging, so that the problem that the mobile phone cannot move freely in the wireless charging process is solved.
In addition, in the implementation of the present application, in order to save the number of base stations, PDOA and TWR algorithms may be adopted, in which a UWB chip is required to support PDOA functions, or two UWB chips are used to support PDOA through hardware design. In the embodiment of the application, the TDOA algorithm can be further used to accurately position the coordinates of the electronic device, and then the coverage direction of the wireless charging transmitting module of the charging device is controlled according to the coordinate information of the electronic device, in this way, 4 base stations need to be simultaneously arranged in space, the coordinate information of the base stations is preset, and when the electronic device enters the coverage range of the base stations, the electronic device can be accurately positioned.
It can be seen that the charging control method described in the embodiment of the present application is applied to a charging device, where the charging device includes a first UWB module and a radio frequency energy transmitting device, a target relative position parameter between the charging device and an electronic device is determined by the first UWB module and a second UWB module of the electronic device, a first operating parameter of the radio frequency energy transmitting device is determined according to the target relative position parameter, and the radio frequency energy transmitting device is controlled to transmit a first energy signal according to the first operating parameter, where the first energy signal is used to charge the electronic device.
Referring to fig. 4, fig. 4 is a schematic flowchart of a charging control method according to an embodiment of the present application, and the charging control method is applied to a charging device, where the charging device includes a first UWB module and a radio frequency energy transmitting device; as shown in the figure, the charging control method includes:
401. a first distance between the charging apparatus and the electronic device is determined.
402. And when the first distance is smaller than a first preset distance, sending a charging inquiry request to the electronic equipment, wherein the charging inquiry request is used for asking the electronic equipment whether to charge.
403. And receiving a charging confirmation response message sent by the electronic equipment, and determining a target relative position parameter between the charging device and the electronic equipment through the first UWB module and a second UWB module of the electronic equipment.
404. And determining a first working parameter of the radio frequency energy transmitting device according to the target relative position parameter.
405. And controlling the radio frequency energy sending device to send a first energy signal according to the first working parameter, wherein the first energy signal is used for charging the electronic equipment.
406. When a second distance between the charging device and the electronic equipment is greater than a second preset distance, the electronic equipment is not charged, and the second preset distance is greater than or equal to the first preset distance.
For the detailed description of the steps 401 to 406, reference may be made to the related description of the charging control method described in fig. 3A, and details are not repeated here.
It can be seen that, the charging control method described in the embodiment of the present application is applied to a charging device, and can not only initiate a charging operation within a certain distance range, but also not perform the charging operation within another distance range, and can further utilize the positioning accuracy characteristic of the UWB technology at the centimeter level to achieve accurate positioning of an electronic device, so as to determine the working parameters of a corresponding radio frequency energy transmitting device, so as to charge the electronic device, and improve the wireless charging efficiency.
Referring to fig. 5 in keeping with the above embodiments, fig. 5 is a schematic structural diagram of a charging device according to an embodiment of the present application, where as shown, the charging device includes a processor, a memory, a communication interface, a first UWB module, a radio frequency energy transmitting device, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and in an embodiment of the present application, the programs include instructions for performing the following steps:
determining, by the first UWB module and a second UWB module of an electronic device, a target relative position parameter between the charging apparatus and the electronic device;
determining a first working parameter of the radio frequency energy transmitting device according to the target relative position parameter;
and controlling the radio frequency energy sending device to send a first energy signal according to the first working parameter, wherein the first energy signal is used for charging the electronic equipment.
It can be seen that, in the charging device described in this embodiment of the present application, the charging device includes a first UWB module and a radio frequency energy transmitting device, a target relative position parameter between the charging device and the electronic device is determined by the first UWB module and a second UWB module of the electronic device, a first operating parameter of the radio frequency energy transmitting device is determined according to the target relative position parameter, the radio frequency energy transmitting device is controlled according to the first operating parameter to transmit a first energy signal, and the first energy signal is used to charge the electronic device.
In one possible example, the target relative position parameter includes a target distance and a target relative angle, and the first operating parameter includes a target transmission power and a target signal transmission direction;
in said determining a first operating parameter of said rf energy transmitting device based on said target relative position parameter, the program includes instructions for:
determining the target transmitting power corresponding to the target distance according to a mapping relation between a preset distance and transmitting power;
and determining the target signal transmitting direction of the radio frequency energy transmitting device according to the target relative angle.
In one possible example, the program further includes instructions for performing the steps of:
determining a first distance between the charging device and the electronic device;
when the first distance is smaller than a first preset distance, sending a charging inquiry request to the electronic equipment, wherein the charging inquiry request is used for asking the electronic equipment whether to charge;
receiving a confirmation charging response message sent by the electronic device, and executing the step of determining the target relative position parameter between the charging device and the electronic device through the first UWB module and a second UWB module of the electronic device.
In one possible example, in the determining the first distance between the charging device and the electronic device, the program includes instructions for:
acquiring a signal intensity change curve of the electronic equipment in a preset time period, wherein the horizontal axis of the signal intensity change curve is time, and the vertical axis of the signal intensity change curve is a signal intensity value;
sampling the signal intensity change curve to obtain a plurality of signal intensity values;
determining a target mean value according to the signal intensity values;
performing mean square error operation according to the plurality of signal strength values to obtain a target mean square error;
determining a target adjusting coefficient corresponding to the target mean square error according to a mapping relation between a preset mean square error and an adjusting coefficient;
adjusting the target mean value according to the target adjusting coefficient to obtain a first signal intensity value of the electronic equipment;
and determining the first distance corresponding to the first signal strength value according to a preset mapping relation between the signal strength value and the distance.
In one possible example, the program further includes instructions for performing the steps of:
when a second distance between the charging device and the electronic equipment is greater than a second preset distance, the electronic equipment is not charged, and the second preset distance is greater than or equal to the first preset distance.
In one possible example, the method further comprises:
determining the number of target charging objects corresponding to the charging device, the target magnetic field interference strength of the charging device and a default charging prohibition distance;
determining a target first influence factor corresponding to the target magnetic field interference strength according to a mapping relation between preset magnetic field interference strength and the first influence factor;
determining a target second influence factor corresponding to the target charging object number according to a mapping relation between the preset charging object number and the second influence factor;
and calculating according to the target first influence factor, the target second influence factor and the default forbidden charging distance to obtain the second preset distance.
In one possible example, the charging device further comprises a driving device;
the program further includes instructions for performing the steps of:
acquiring target movement parameters of the electronic equipment;
determining a target position change parameter between the charging device and the electronic equipment;
determining a target adjusting parameter of the first working parameter according to the target position change parameter;
adjusting the first working parameter according to the target adjusting parameter to obtain a second working parameter;
determining target driving parameters of the driving device according to preset target moving parameters;
and controlling the driving device to work according to the target driving parameter, and controlling the radio frequency energy transmitting device to transmit a second energy signal according to the second working parameter, wherein the second energy signal is used for charging the electronic equipment.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 6A is a block diagram of functional units of a charge control device 600 according to an embodiment of the present application. The charging control device 600 is applied to a charging device including a first UWB module and a radio frequency energy transmitting device; the apparatus 600 comprises: a first determination unit 601, a second determination unit 602, and a charging control unit 603, wherein,
the first determining unit 601 is configured to determine a target relative position parameter between the charging apparatus and the electronic device through the first UWB module and a second UWB module of the electronic device;
the second determining unit 602 is configured to determine a first operating parameter of the radio frequency energy transmitting apparatus according to the target relative position parameter;
the charging control unit 603 is configured to control the radio frequency energy transmitting device to transmit a first energy signal according to the first working parameter, where the first energy signal is used to charge the electronic device.
It can be seen that, the charging control device described in the embodiment of the present application is applied to a charging device, where the charging device includes a first UWB module and a radio frequency energy transmitting device, a target relative position parameter between the charging device and an electronic device is determined by the first UWB module and a second UWB module of the electronic device, a first operating parameter of the radio frequency energy transmitting device is determined according to the target relative position parameter, and the radio frequency energy transmitting device is controlled to transmit a first energy signal according to the first operating parameter, where the first energy signal is used to charge the electronic device.
In one possible example, the target relative position parameter includes a target distance and a target relative angle, and the first operating parameter includes a target transmission power and a target signal transmission direction;
in the aspect of determining the first operating parameter of the rf energy transmitting device according to the target relative position parameter, the second determining unit 602 is specifically configured to:
determining the target transmitting power corresponding to the target distance according to a mapping relation between a preset distance and transmitting power;
and determining the target signal transmitting direction of the radio frequency energy transmitting device according to the target relative angle.
In one possible example, as shown in fig. 6B, fig. 6B is a further modified structure of the charging control apparatus shown in fig. 6A, which may further include, compared with fig. 6A: the transceiver 604 is specifically as follows:
the first determining unit 601 is further configured to determine a first distance between the charging apparatus and the electronic device;
the transceiver 604 is configured to send a charging query request to the electronic device when the first distance is smaller than a first preset distance, where the charging query request is used to request the electronic device to perform charging; and receiving a confirmation charging response message transmitted by the electronic device, the step of determining a target relative position parameter between the charging apparatus and the electronic device by the first UWB module and a second UWB module of the electronic device being executed by the first determination unit 601.
In one possible example, in terms of the determining the first distance between the charging apparatus and the electronic device, the first determining unit 601 is specifically configured to:
acquiring a signal intensity change curve of the electronic equipment in a preset time period, wherein the horizontal axis of the signal intensity change curve is time, and the vertical axis of the signal intensity change curve is a signal intensity value;
sampling the signal intensity change curve to obtain a plurality of signal intensity values;
determining a target mean value according to the signal intensity values;
performing mean square error operation according to the plurality of signal strength values to obtain a target mean square error;
determining a target adjusting coefficient corresponding to the target mean square error according to a mapping relation between a preset mean square error and an adjusting coefficient;
adjusting the target mean value according to the target adjusting coefficient to obtain a first signal intensity value of the electronic equipment;
and determining the first distance corresponding to the first signal strength value according to a preset mapping relation between the signal strength value and the distance.
In one possible example, the apparatus 600 is further configured to perform the following functions, specifically:
the charging control unit 603 is further configured to not charge the electronic device when a second distance between the charging device and the electronic device is greater than a second preset distance, where the second preset distance is greater than or equal to the first preset distance.
In one possible example, the apparatus 600 is further configured to perform the following functions, specifically:
the first determining unit 601 is configured to perform the following steps:
determining the number of target charging objects corresponding to the charging device, the target magnetic field interference strength of the charging device and a default charging prohibition distance;
determining a target first influence factor corresponding to the target magnetic field interference strength according to a mapping relation between preset magnetic field interference strength and the first influence factor;
determining a target second influence factor corresponding to the target charging object number according to a mapping relation between the preset charging object number and the second influence factor;
and calculating according to the target first influence factor, the target second influence factor and the default forbidden charging distance to obtain the second preset distance.
In one possible example, the charging device further comprises a driving device; the apparatus 600 is configured to perform the following functions:
the first determining unit 601 is further configured to obtain a target movement parameter of the electronic device; determining a target position change parameter between the charging device and the electronic equipment;
the second determining unit 602 is further configured to determine a target adjustment parameter of the first operating parameter according to the target position variation parameter; adjusting the first working parameter according to the target adjusting parameter to obtain a second working parameter; determining target driving parameters of the driving device according to preset target moving parameters;
the charging control unit 603 is further configured to control the driving device to operate according to the target driving parameter, and control the radio frequency energy transmitting device to transmit a second energy signal according to the second operating parameter, where the second energy signal is used to charge the electronic device.
It should be noted that the electronic device described in the embodiments of the present application is presented in the form of a functional unit. The term "unit" as used herein is to be understood in its broadest possible sense, and objects used to implement the functions described by the respective "unit" may be, for example, an integrated circuit ASIC, a single circuit, a processor (shared, dedicated, or chipset) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that provide the described functionality.
The first determining unit 601, the second determining unit 602, the charging control unit 603, and the transceiver unit 604 may be one or more of a control circuit, a processor, or a communication circuit, and the functions or steps of any of the above methods can be implemented based on the above unit modules.
The present embodiment also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the embodiments of the present application to implement any one of the methods in the embodiments.
The present embodiment also provides a computer program product, which when run on a computer causes the computer to execute the relevant steps described above to implement any of the methods in the above embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip can execute any one of the methods in the above method embodiments.
The electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the electronic device, the computer storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the description of the above embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the above functional modules is used as an example, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module or a unit may be divided into only one logic function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A charging control method is applied to a charging device, wherein the charging device comprises a first UWB module and a radio frequency energy transmitting device; the method comprises the following steps:
determining, by the first UWB module and a second UWB module of an electronic device, a target relative position parameter between the charging apparatus and the electronic device;
determining a first working parameter of the radio frequency energy transmitting device according to the target relative position parameter;
and controlling the radio frequency energy sending device to send a first energy signal according to the first working parameter, wherein the first energy signal is used for charging the electronic equipment.
2. The method of claim 1, wherein the target relative position parameters include a target distance and a target relative angle, and the first operating parameters include a target transmit power and a target signal transmit direction;
the determining a first operating parameter of the rf energy transmitting device according to the target relative position parameter includes:
determining the target transmitting power corresponding to the target distance according to a mapping relation between a preset distance and transmitting power;
and determining the target signal transmitting direction of the radio frequency energy transmitting device according to the target relative angle.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
determining a first distance between the charging device and the electronic device;
when the first distance is smaller than a first preset distance, sending a charging inquiry request to the electronic equipment, wherein the charging inquiry request is used for asking the electronic equipment whether to charge;
receiving a confirmation charging response message sent by the electronic device, and executing the step of determining the target relative position parameter between the charging device and the electronic device through the first UWB module and a second UWB module of the electronic device.
4. The method of claim 3, wherein the determining the first distance between the charging device and the electronic device comprises:
acquiring a signal intensity change curve of the electronic equipment in a preset time period, wherein the horizontal axis of the signal intensity change curve is time, and the vertical axis of the signal intensity change curve is a signal intensity value;
sampling the signal intensity change curve to obtain a plurality of signal intensity values;
determining a target mean value according to the signal intensity values;
performing mean square error operation according to the plurality of signal strength values to obtain a target mean square error;
determining a target adjusting coefficient corresponding to the target mean square error according to a mapping relation between a preset mean square error and an adjusting coefficient;
adjusting the target mean value according to the target adjusting coefficient to obtain a first signal intensity value of the electronic equipment;
and determining the first distance corresponding to the first signal strength value according to a preset mapping relation between the signal strength value and the distance.
5. The method according to claim 3 or 4, characterized in that the method further comprises:
when a second distance between the charging device and the electronic equipment is greater than a second preset distance, the electronic equipment is not charged, and the second preset distance is greater than or equal to the first preset distance.
6. The method of claim 5, further comprising:
determining the number of target charging objects corresponding to the charging device, the target magnetic field interference strength of the charging device and a default charging prohibition distance;
determining a target first influence factor corresponding to the target magnetic field interference strength according to a mapping relation between preset magnetic field interference strength and the first influence factor;
determining a target second influence factor corresponding to the target charging object number according to a mapping relation between the preset charging object number and the second influence factor;
and calculating according to the target first influence factor, the target second influence factor and the default forbidden charging distance to obtain the second preset distance.
7. The method of any one of claims 1-6, wherein the charging device further comprises a drive device; the method further comprises the following steps:
acquiring target movement parameters of the electronic equipment;
determining a target position change parameter between the charging device and the electronic equipment;
determining a target adjusting parameter of the first working parameter according to the target position change parameter;
adjusting the first working parameter according to the target adjusting parameter to obtain a second working parameter;
determining target driving parameters of the driving device according to preset target moving parameters;
and controlling the driving device to work according to the target driving parameter, and controlling the radio frequency energy transmitting device to transmit a second energy signal according to the second working parameter, wherein the second energy signal is used for charging the electronic equipment.
8. A charging control device is applied to a charging device, and the charging device comprises a first UWB module and a radio frequency energy transmitting device; the device comprises:
a first determination unit configured to determine a target relative position parameter between the charging apparatus and the electronic device through the first UWB module and a second UWB module of the electronic device;
the second determining unit is used for determining a first working parameter of the radio frequency energy transmitting device according to the target relative position parameter;
and the charging control unit is used for controlling the radio frequency energy transmitting device to transmit a first energy signal according to the first working parameter, and the first energy signal is used for charging the electronic equipment.
9. A charging apparatus, comprising a processor, a memory for storing one or more programs and configured for execution by the processor, the programs comprising instructions for performing the steps of the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-7.
CN202010958041.7A 2020-09-11 2020-09-11 Charging control method, charging control device and storage medium Pending CN114172282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010958041.7A CN114172282A (en) 2020-09-11 2020-09-11 Charging control method, charging control device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010958041.7A CN114172282A (en) 2020-09-11 2020-09-11 Charging control method, charging control device and storage medium

Publications (1)

Publication Number Publication Date
CN114172282A true CN114172282A (en) 2022-03-11

Family

ID=80476245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010958041.7A Pending CN114172282A (en) 2020-09-11 2020-09-11 Charging control method, charging control device and storage medium

Country Status (1)

Country Link
CN (1) CN114172282A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115087133A (en) * 2022-06-10 2022-09-20 深圳奇迹智慧网络有限公司 Wireless communication control method, electronic device, and computer storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115087133A (en) * 2022-06-10 2022-09-20 深圳奇迹智慧网络有限公司 Wireless communication control method, electronic device, and computer storage medium

Similar Documents

Publication Publication Date Title
CN112040361B (en) Earphone control method, earphone control device and storage medium
WO2021213164A1 (en) Application interface interaction method, electronic device, and computer readable storage medium
CN114513847B (en) Positioning method, device, system, electronic equipment and storage medium
CN111983559A (en) Indoor positioning navigation method and device
CN111882642B (en) Texture filling method and device for three-dimensional model
CN111783375A (en) Chip system and related device
CN111555825B (en) Radio frequency resource allocation method and device
US20230117194A1 (en) Communication Service Status Control Method, Terminal Device, and Readable Storage Medium
CN113676238B (en) Arrival angle determining method and related product
CN113115439A (en) Positioning method and related equipment
CN111835530A (en) Group joining method and device
CN114500732B (en) Interface display method, electronic equipment and storage medium
CN114237646A (en) Game trial playing method and related device
CN114384465A (en) Azimuth angle determination method and device
CN114172282A (en) Charging control method, charging control device and storage medium
CN111836226B (en) Data transmission control method, device and storage medium
CN111865369B (en) Antenna control method, antenna control device and storage medium
CN114828263A (en) Communication control method and related device
CN114336998A (en) Charging control method, charging control device and storage medium
CN114244655A (en) Signal processing method and related device
CN114465852A (en) Signal processing method and related device
CN116110363A (en) Noise reduction method and related product
CN113311380B (en) Calibration method, device and storage medium
CN113419627A (en) Equipment control method, device and storage medium
CN114339607B (en) Ranging method, ranging device and storage medium

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