CN114336998A - 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
CN114336998A
CN114336998A CN202011055885.7A CN202011055885A CN114336998A CN 114336998 A CN114336998 A CN 114336998A CN 202011055885 A CN202011055885 A CN 202011055885A CN 114336998 A CN114336998 A CN 114336998A
Authority
CN
China
Prior art keywords
charging
target
optical
determining
module
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
CN202011055885.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 CN202011055885.7A priority Critical patent/CN114336998A/en
Publication of CN114336998A publication Critical patent/CN114336998A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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

  • Telephone Function (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 an optical charging anchor point; the method comprises the following steps: establishing a communication connection between the charging device and an electronic device, wherein the electronic device comprises a second UWB module and an optical charging module; determining, by the first UWB module and the second UWB module, a target relative position parameter between the charging apparatus and the electronic device; determining target working parameters of the optical charging anchor points according to the target relative positions; and controlling the optical charging anchor point to charge the optical charging module according to the target working parameter. By adopting the embodiment of the application, the positioning precision characteristic of the UWB technology at the centimeter level can be utilized to realize accurate positioning of the electronic equipment so as to determine the working parameters of the corresponding optical charging anchor point, so that the optical charging module is 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 centimeter-level positioning accuracy characteristic of an Ultra Wide Band (UWB) technology to realize the accurate positioning of an optical charging module of electronic equipment, and accurate charging parameters so as to charge the electronic equipment in an optical charging mode, and can improve the wireless charging efficiency.
In a first aspect, an embodiment of the present application provides a charging control method applied to a charging device, where the charging device includes
A first UWB module and an optical charging anchor point; the method comprises the following steps:
establishing a communication connection between the charging device and an electronic device, wherein the electronic device comprises a second UWB module and an optical charging module;
determining, by the first UWB module and the second UWB module, a target relative position parameter between the charging apparatus and the electronic device;
determining target working parameters of the optical charging anchor points according to the target relative positions;
and controlling the optical charging anchor point to charge the optical charging module according to the target working parameter.
In a second aspect, an embodiment of the present application provides a charging control device, which is applied to a charging device, where the charging device includes a first UWB module and an optical charging anchor point; the charge control device includes: a communication unit, a determination unit and a control unit, wherein,
the communication unit is used for establishing communication connection between the charging device and electronic equipment, and the electronic equipment comprises a second UWB module and an optical charging module;
the determining unit is used for determining a target relative position parameter between the charging device and the electronic equipment through the first UWB module and the second UWB module; determining target working parameters of the optical charging anchor points according to the target relative positions;
the control unit is used for controlling the optical charging anchor point to charge the optical charging module according to the target working parameter.
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, apparatus, and storage medium described in the embodiments of the present application apply to a charging apparatus, the charging apparatus includes a first UWB module and an optical charging anchor, establishes a communication connection between the charging apparatus and an electronic device, the electronic device includes a second UWB module and an optical charging module, determining a target relative position parameter between the charging device and the electronic equipment through the first UWB module and the second UWB module, determining a target working parameter of the optical charging anchor point according to the target relative position, controlling the optical charging anchor point to charge the optical charging module according to the target working parameter, thus, the accurate positioning of the electronic equipment can be realized by utilizing the centimeter-level positioning accuracy characteristic of the UWB technology, the working parameters of the corresponding optical charging anchor points are determined, so that the optical charging module is charged, and the wireless charging efficiency can be improved.
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. 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. 6 is a block diagram of functional units of a charging control device 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 disclosure, and is applied to a charging device, where the charging device includes a first UWB module and an optical charging anchor point; as shown in the figure, the charging control method includes:
301. and establishing communication connection between the charging device and the electronic equipment, wherein the electronic equipment comprises a second UWB module and an optical charging module.
In this embodiment, the charging device may include a first UWB module and an optical charging anchor, the number of the optical charging anchors is 1 or more, the electronic device may include a second UWB module and an optical charging module, the charging device may charge one or more electronic devices, the optical charging anchor may send light energy to the optical charging module, and the optical charging module charges the electronic device through the light energy after receiving the light energy. As shown in fig. 3B, a communication connection may be established between the charging apparatus and the electronic device. The charging device and the electronic equipment can establish communication connection in at least one of the following modes: a bluetooth communication method, an infrared communication method, a wireless fidelity (wifi) communication method, a mobile network (2G, 3G, 4G, 5G, 6G, etc.) communication method, a visible light communication method, etc., which are not limited herein. The electronic equipment can be charged through the optical charging module, and can also be charged in a wired mode or in a wireless mode in other modes.
In a possible example, the following steps may be further included between the above steps 301 to 302:
a1, detecting whether the optical charging module is blocked;
a2, if the optical charging module is not blocked, executing step 302.
The charging device can send a detection instruction to the electronic equipment, and the detection instruction is used for indicating the electronic equipment to detect whether the optical charging module of the electronic equipment is shielded or not. The electronic device may include a distance sensor by which to detect whether an area within a certain range of the optical charging module is blocked. If the optical charging module is not shielded, step 302 may be executed, otherwise, the optical charging module cannot be charged.
302. Determining, by the first UWB module and the second UWB module, a target relative position parameter between the charging apparatus and the electronic device.
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, and the relative distance may be a linear distance.
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 BDA0002710363670000071
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.
303. And determining target working parameters of the optical charging anchor point according to the target relative position.
In the embodiment of the present application, the target operating parameter may be at least one of the following: the working current of the optical charging anchor point, the working voltage of the optical charging anchor point, the working power of the optical charging anchor point, the emission direction of the optical charging anchor point, the number of charging objects of the optical charging anchor point, the emission frequency of the optical charging anchor point, the emission wavelength of the optical charging anchor point, the light intensity of the optical charging anchor point, the color of the light of the optical charging anchor point, and the like, which are not limited herein.
In one possible example, the target relative position parameters include a target relative angle and a target relative distance, the target operating parameters include a target emission angle and a target emission power, and the step 303 of determining the target operating parameters of the optical charging anchor point according to the target relative position may include the following steps:
31. determining the target emission angle according to the target relative angle, wherein the target emission angle is used for guiding the emission light of the optical charging anchor point to be capable of facing the optical charging module;
32. determining an effective radiation area of the charging device for charging an optical charging module of the electronic equipment according to the target relative angle and the target relative distance, wherein the effective radiation area is a radiation area of an optical charging anchor point of the charging device irradiated on the optical charging module;
33. and determining the target transmitting power of the optical charging anchor point according to the target relative distance and the effective radiation area.
The target relative position parameters may include a target relative angle and a target relative distance, and the target operating parameters may include a target transmission angle and a target transmission power. In a specific implementation, the charging device may determine the target emission angle according to the target relative angle, that is, the target relative angle may be used as the target emission angle, and the target emission angle is used to guide the emission light of the optical charging anchor point to be able to face the optical charging module. Furthermore, the electronic device can determine the effective radiation area of the charging device for charging the optical charging module of the electronic device according to the relative angle and the relative distance of the target, the effective radiation area is the radiation area of the optical charging anchor point of the charging device irradiating the optical charging module, that is, based on the target emission angle, the optical charging anchor is guided to irradiate the optical charging module, and further, the effective radiation area can be obtained, the effective radiation area is the radiation area of the charging photoelectric module which can receive the light of the optical charging anchor point to realize charging, the electronic device may then determine the target transmit power of the optical charging anchor based on the target relative distance and the effective radiating area, and, as such, the optimal charging angle and the optimal charging power can be realized, the energy consumption of the charging device is saved, and the optimal charging effect of the electronic equipment can be realized.
Further, in a possible example, the step 32, determining an effective radiation area of the charging device for charging the optical charging module of the electronic device according to the target relative angle and the target relative distance, may include the following steps:
321. determining a target refraction angle of a diffusion sheet of the optical charging anchor point according to the target relative angle;
322. modeling according to the target refraction angle and the attribute information of the light source of the optical charging anchor point to obtain a target model;
323. and determining the effective radiation area of the charging device for charging an optical charging module of the electronic equipment according to the target model.
Wherein the attribute information of the light source may include at least one of: the type of the light source, the wavelength of the light source, the power of the light source, the color of the light source, the brightness of the light source, etc., are not limited herein.
In the specific implementation, the charging device can determine a target refraction angle of a diffusion sheet of the optical charging anchor point according to the target relative angle, the direction of the light source can be adjusted to be the target relative angle direction through the target refraction angle, further, the electronic equipment can be modeled according to the target refraction angle and attribute information of the light source of the optical charging anchor point, a target model is obtained, which is equivalent to simulating a light source and a space environment between the light source and the electronic equipment, real scene simulation is performed through the target model, so that the direction of the light source can be consistent with the target relative angle direction based on the target model, and further, the electronic equipment can determine an effective radiation area of the charging device for charging an optical charging module of the electronic equipment according to the target model.
Further, in a possible example, the step 33 of determining the target transmission power of the optical charging anchor point according to the target relative distance and the effective radiation area may include the following steps:
331. determining first transmitting power corresponding to the relative distance of the target according to a mapping relation between a preset distance and the transmitting power, wherein the first transmitting power corresponds to a preset radiation area;
332. determining a target adjusting coefficient according to the preset radiation area and the effective radiation area;
333. and adjusting the first transmitting power according to the target adjusting coefficient to obtain the target transmitting power.
Wherein, the preset radiation area can be set by the user or defaulted by the system. The charging device can pre-store a mapping relation between a preset distance and transmitting power, and then the electronic device can determine first transmitting power corresponding to a target relative distance according to the mapping relation between the preset distance and the transmitting power, the first transmitting power corresponds to a preset radiation area, and then the electronic device can determine a target adjusting coefficient according to the preset radiation area and an effective radiation area, the target adjusting coefficient is equal to the effective radiation area/the preset radiation area, and finally the first transmitting power can be adjusted according to the target adjusting coefficient to obtain the target transmitting power, and the method can be specifically realized in the following mode:
target transmission power (first transmission power) target regulation coefficient
In a possible example, between the step 301 and the step 302, the following steps may be further included:
b1, when the target relative position parameter is smaller than a first distance, determining the target signal strength between the charging device and the electronic equipment;
b2, when the target signal intensity is larger than a preset threshold value, executing the step of determining the target working parameter of the optical charging anchor point according to the target relative position.
Wherein the preset distance may be set by a user or by default. In a specific implementation, when the target relative position parameter is smaller than the first distance, it indicates that the distance between the charging device and the electronic device is short, the target signal strength between the charging device and the electronic device is determined, and when the target signal strength is greater than a preset threshold, it may be understood that there is no shielding between the charging device and the electronic device, step 304 may be performed, otherwise, step 304 may not be performed.
Further, in a possible example, the step B1, determining the target signal strength value between the charging device and the electronic device, includes:
b11, determining a first signal strength value of the electronic equipment detected by the charging device relative to the charging device;
b12, acquiring a second signal intensity value of the charging device relative to the electronic equipment, which is detected by the electronic equipment;
b13, determining the target signal strength value according to the first signal strength value and the second signal strength value.
In a specific implementation, the signal detected by the device a is different from the signal detected by the device B by the device a because the detected signals are different between different devices. Therefore, the electronic device may determine a first signal strength value of the electronic device detected by the charging device with respect to the charging device, obtain a second signal strength value of the charging device detected by the electronic device with respect to the electronic device, and further determine a target signal strength value according to the first signal strength value and the second signal strength value, for example, a mean value of the first signal strength value and the second signal strength value may be used as the target signal strength value, or a weight value pair corresponding to the first signal strength value and the second signal strength value may be obtained, and a weighting operation may be performed according to the first signal strength value, the second signal strength value, and the weight value pair, so as to obtain the target signal strength value.
304. And controlling the optical charging anchor point to charge the optical charging module according to the target working parameter.
In specific implementation, the charging device may adjust a refraction angle of the diffusion sheet of the optical charging anchor point according to the target working parameter to adjust an emission direction of the light source, so that the light source charges toward the optical charging module, as shown in fig. 3D, the optical charging anchor point may charge toward the optical charging module.
In one possible example, before or after the above steps 301 to 304, the following steps may be further included:
and when the second distance between the charging device and the electronic equipment is greater than the preset distance, the electronic equipment is not charged.
Wherein, the preset distance can be set by the user or the default of the system. 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 preset distance, the electronic device may not be charged, so that charging validity may be ensured. The second distance may be greater than the first distance.
In one possible example, the following steps may be further included:
c1, 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;
c2, 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;
c3, 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 C4, calculating according to the target first influence factor, the target second influence factor and the default charging prohibition distance to obtain the 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 the target second influence factor and the default forbidden charging distance to obtain a preset distance, wherein the specific calculation formula is as follows:
default charging prohibition distance (1+ target first influence factor) × (1-target second influence 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 a possible example, before the step 101, the following steps may be further included:
d1, receiving a charging request sent by the electronic equipment;
d2, acquiring target identity information of the electronic equipment;
d3, when the target identity information is verified, executing the step of establishing the communication connection between the charging device and the electronic equipment.
In this embodiment of the present application, the target identity information may be at least one of the following: character strings, touch parameters, face images, fingerprint images, palm print images, vein images, brain waves, voice prints, and the like, which are not limited herein.
In a specific implementation, the charging apparatus may receive a charging request sent by the electronic device, send authentication information to the electronic device, obtain target identity information of the electronic device, and execute step 301 when the target identity information is authenticated, otherwise, not execute the subsequent steps.
Further, when the target identity information is a target face image, between the step D2 and the step D3, the following steps may be further included:
d4, determining a target image quality evaluation value of the target face image;
d5, when the target image quality evaluation value is larger than a preset image quality evaluation value, matching the target face image with a preset face template to obtain a target matching value;
d6, when the target matching value is larger than the preset matching threshold value, confirming that the target identity information is verified.
The preset face template can be stored in the charging device in advance, and the preset image quality evaluation value and the preset matching threshold can be set by the user or default by the system. In a specific implementation, the charging device may perform image quality evaluation on the target face image by using at least one image quality evaluation index to obtain a target image quality evaluation value, where the image quality evaluation index may be at least one of the following: information entropy, average gradient, average gray scale, contrast, etc., and are not limited herein. When the target image quality evaluation value is greater than the preset image quality evaluation value, matching the target face image with the preset face template to obtain a target matching value, otherwise, requiring the electronic equipment to perform identity authentication again.
Further, the step D4 of determining the target image quality evaluation value of the target face image may include the following steps:
d41, determining the distribution density of the target characteristic points and the target signal-to-noise ratio of the target face image;
d42, determining a first image quality evaluation value corresponding to the target feature point distribution density according to a preset mapping relation between the feature point distribution density and the image quality evaluation value;
d43, determining a target image quality deviation value corresponding to the target signal-to-noise ratio according to a mapping relation between a preset signal-to-noise ratio and the image quality deviation value;
d44, acquiring a first shooting parameter of the target face image;
d45, determining a target optimization coefficient corresponding to the first shooting parameter according to a preset mapping relation between the shooting parameter and the optimization coefficient;
d46, adjusting the first image quality evaluation value according to the target optimization coefficient and the target image quality deviation value to obtain the target image quality evaluation value.
In a specific implementation, a memory in the charging device may pre-store a mapping relationship between a preset feature point distribution density and an image quality evaluation value, a mapping relationship between a preset signal-to-noise ratio and an image quality deviation value, and a mapping relationship between a preset shooting parameter and an optimization coefficient, where a value range of the image quality evaluation value may be 0 to 1, or may also be 0 to 100. The image quality deviation value may be a positive real number, for example, 0 to 1, or may be greater than 1. The value range of the optimization coefficient can be-1 to 1, for example, the optimization coefficient can be-0.1 to 0.1. In the embodiment of the present application, the shooting parameter may be at least one of the following: exposure time, shooting mode, sensitivity ISO, white balance parameters, focal length, focus, region of interest, etc., without limitation.
In specific implementation, the charging device may determine a target feature point distribution density and a target signal-to-noise ratio of the first original image data, and determine a first image quality evaluation value corresponding to the target feature point distribution density according to a mapping relationship between a preset feature point distribution density and an image quality evaluation value, where the feature point distribution density reflects image quality to a certain extent, and the feature point distribution density may be understood as a ratio between a total number of feature points of the target face image and an image area of the target face image. Furthermore, the charging device can determine a target image quality deviation value corresponding to the target signal-to-noise ratio according to a mapping relation between a preset signal-to-noise ratio and the image quality deviation value, and since some noises are generated due to external (weather, light, angle, jitter, and the like) or internal (system, GPU) reasons when an image is generated and the noises can bring some influences on the image quality, the image quality can be adjusted to a certain extent to ensure that the image quality is objectively evaluated.
Further, the charging device may further obtain a first shooting parameter of the first original image data, determine a target optimization coefficient corresponding to the first shooting parameter according to a mapping relationship between preset shooting parameters and optimization coefficients, where the shooting parameter setting may also bring a certain influence on image quality evaluation, and therefore, an influence component of the shooting parameter on image quality needs to be determined, and finally, adjust the first image quality evaluation value according to the target optimization coefficient and a target image quality deviation value to obtain a target image quality evaluation value, where the target image quality evaluation value may be obtained according to the following formula:
when the image quality evaluation value is a percentile system, the specific calculation formula is as follows:
target image quality evaluation value (first image quality evaluation value + target image quality deviation value) ((1 + target optimization coefficient))
In the case where the image quality evaluation value is a percentage, the specific calculation formula is as follows:
target image quality evaluation value (first image quality evaluation value) (1+ target image quality deviation value) (1+ target optimization coefficient)
Therefore, the image quality can be objectively evaluated by combining the influences of internal and external environment factors, shooting setting factors and the like, and the image quality evaluation accuracy is improved.
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 an optical charging anchor, establishes a communication connection between the charging device and an electronic device, and the electronic device includes a second UWB module and an optical charging module, determines a target relative position parameter between the charging device and the electronic device through the first UWB module and the second UWB module, determines a target working parameter of the optical charging anchor according to the target relative position, and controls the optical charging anchor to charge the optical charging module according to the target working parameter.
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 an optical charging anchor point; as shown in the figure, the charging control method includes:
401. and establishing communication connection between the charging device and the electronic equipment, wherein the electronic equipment comprises a second UWB module and an optical charging module.
402. Determining, by the first UWB module and the second UWB module, a target relative position parameter between the charging apparatus and the electronic device.
403. When the target relative position parameter is smaller than a first distance, determining a target signal strength value between the charging device and the electronic equipment.
404. And when the target signal intensity value is larger than a preset threshold value, determining the target working parameters of the optical charging anchor point according to the target relative position.
405. And controlling the optical charging anchor point to charge the optical charging module according to the target working parameter.
For the detailed description of the steps 401 to 405, 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 a 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 optical charging anchor point, so as to charge an optical charging module of the electronic device, and improve the wireless charging efficiency.
In keeping with the above embodiments, please refer to fig. 5, fig. 5 is a schematic structural diagram of a charging device according to an embodiment of the present application, and as shown in the drawing, the charging device includes a processor, a memory, a communication interface, a first UWB module, an optical charging anchor point, 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:
establishing a communication connection between the charging device and an electronic device, wherein the electronic device comprises a second UWB module and an optical charging module;
determining, by the first UWB module and the second UWB module, a target relative position parameter between the charging apparatus and the electronic device;
determining target working parameters of the optical charging anchor points according to the target relative positions;
and controlling the optical charging anchor point to charge the optical charging module according to the target working parameter.
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 an optical charging anchor, and establishes a communication connection between the charging device and the electronic device, and the electronic device includes a second UWB module and an optical charging module, and determines a target relative position parameter between the charging device and the electronic device through the first UWB module and the second UWB module, and determines a target working parameter of the optical charging anchor according to the target relative position, and controls the optical charging anchor to charge the optical charging module according to the target working parameter.
In one possible example, the target relative position parameters include a target relative angle and a target relative distance, the target operating parameters include a target emission angle and a target emission power, and in determining the target operating parameters of the optical charging anchor point according to the target relative position, the program includes instructions for performing the following steps:
determining the target emission angle according to the target relative angle, wherein the target emission angle is used for guiding the emission light of the optical charging anchor point to be capable of facing the optical charging module;
determining an effective radiation area of the charging device for charging an optical charging module of the electronic equipment according to the target relative angle and the target relative distance, wherein the effective radiation area is a radiation area of an optical charging anchor point of the charging device irradiated on the optical charging module;
and determining the target transmitting power of the optical charging anchor point according to the target relative distance and the effective radiation area.
In one possible example, in terms of determining the effective radiation area for the charging device to charge the optical charging module of the electronic device according to the target relative angle and the target relative distance, the program includes instructions for performing the following steps:
determining a target refraction angle of a diffusion sheet of the optical charging anchor point according to the target relative angle;
modeling according to the target refraction angle and the attribute information of the light source of the optical charging anchor point to obtain a target model;
and determining the effective radiation area of the charging device for charging an optical charging module of the electronic equipment according to the target model.
In one possible example, in said determining the target transmit power of the optical charge anchor from the target relative distance and the effective radiation area, the above procedure comprises instructions for performing the following steps:
determining first transmitting power corresponding to the relative distance of the target according to a mapping relation between a preset distance and the transmitting power, wherein the first transmitting power corresponds to a preset radiation area;
determining a target adjusting coefficient according to the preset radiation area and the effective radiation area;
and adjusting the first transmitting power according to the target adjusting coefficient to obtain the target transmitting power.
In one possible example, the program further includes instructions for performing the steps of:
when the target relative position parameter is smaller than a first distance, determining a target signal intensity value between the charging device and the electronic equipment;
and when the target signal intensity value is larger than a preset threshold value, executing the step of determining the target working parameters of the optical charging anchor point according to the target relative position.
In one possible example, in the determining the target signal strength value between the charging apparatus and the electronic device, the program includes instructions for:
determining a first signal strength value of the electronic device detected by the charging device relative to the charging device;
acquiring a second signal strength value of the charging device detected by the electronic equipment relative to the electronic equipment;
and determining the target signal strength value according to the first signal strength value and the second signal strength value.
In one possible example, the program further includes instructions for performing the steps of:
receiving a charging request sent by the electronic device;
acquiring target identity information of the electronic equipment;
and when the target identity information is verified, executing the step of establishing the communication connection between the charging device and 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. 6 is a block diagram showing 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 which comprises a first UWB module and an optical charging anchor point; the charge control device 600 includes: a communication unit 601, a determination unit 602, and a control unit 603, wherein,
the communication unit 601 is configured to establish a communication connection between the charging apparatus and an electronic device, where the electronic device includes a second UWB module and an optical charging module;
the determining unit 602 is configured to determine a target relative position parameter between the charging apparatus and the electronic device through the first UWB module and the second UWB module; determining target working parameters of the optical charging anchor points according to the target relative positions;
the control unit 603 is configured to control the optical charging anchor to charge the optical charging module according to the target operating parameter.
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 an optical charging anchor, establishes a communication connection between the charging device and an electronic device, and the electronic device includes a second UWB module and an optical charging module, determines a target relative position parameter between the charging device and the electronic device through the first UWB module and the second UWB module, determines a target working parameter of the optical charging anchor according to the target relative position, and controls the optical charging anchor to charge the optical charging module according to the target working parameter.
In one possible example, the target relative position parameter includes a target relative angle and a target relative distance, the target operating parameter includes a target emission angle and a target emission power, and in the determining the target operating parameter of the optical charging anchor point according to the target relative position, the determining unit 602 is specifically configured to:
determining the target emission angle according to the target relative angle, wherein the target emission angle is used for guiding the emission light of the optical charging anchor point to be capable of facing the optical charging module;
determining an effective radiation area of the charging device for charging an optical charging module of the electronic equipment according to the target relative angle and the target relative distance, wherein the effective radiation area is a radiation area of an optical charging anchor point of the charging device irradiated on the optical charging module;
and determining the target transmitting power of the optical charging anchor point according to the target relative distance and the effective radiation area.
In a possible example, in terms of determining the effective radiation area of the charging device for charging the optical charging module of the electronic device according to the target relative angle and the target relative distance, the determining unit 602 is specifically configured to:
determining a target refraction angle of a diffusion sheet of the optical charging anchor point according to the target relative angle;
modeling according to the target refraction angle and the attribute information of the light source of the optical charging anchor point to obtain a target model;
and determining the effective radiation area of the charging device for charging an optical charging module of the electronic equipment according to the target model.
In one possible example, in the aspect of determining the target transmission power of the optical charging anchor point according to the target relative distance and the effective radiation area, the determining unit 602 is specifically configured to:
determining first transmitting power corresponding to the relative distance of the target according to a mapping relation between a preset distance and the transmitting power, wherein the first transmitting power corresponds to a preset radiation area;
determining a target adjusting coefficient according to the preset radiation area and the effective radiation area;
and adjusting the first transmitting power according to the target adjusting coefficient to obtain the target transmitting power.
In one possible example, the charge control device 600 is further configured to implement the following functions:
the determining unit 602 is specifically configured to determine a target signal strength value between the charging apparatus and the electronic device when the target relative position parameter is smaller than a first distance; and when the target signal intensity value is larger than a preset threshold value, executing the step of determining the target working parameters of the optical charging anchor point according to the target relative position.
In one possible example, in terms of the determining the target signal strength value between the charging apparatus and the electronic device, the determining unit 602 is specifically configured to:
determining a first signal strength value of the electronic device detected by the charging device relative to the charging device;
acquiring a second signal strength value of the charging device detected by the electronic equipment relative to the electronic equipment;
and determining the target signal strength value according to the first signal strength value and the second signal strength value.
In one possible example, the charge control device 600 is further configured to implement the following functions:
the communication unit 601 is specifically configured to receive a charging request sent by the electronic device; acquiring target identity information of the electronic equipment; and when the target identity information is verified, executing the step of establishing the communication connection between the charging device and the electronic equipment.
The communication unit 601 may be a communication circuit, and the determining unit 602 and the control unit 603 may be a control circuit or a processor, and based on the above unit modules, the functions or steps of any of the above methods can be implemented.
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 an optical charging anchor point; the method comprises the following steps:
establishing a communication connection between the charging device and an electronic device, wherein the electronic device comprises a second UWB module and an optical charging module;
determining, by the first UWB module and the second UWB module, a target relative position parameter between the charging apparatus and the electronic device;
determining target working parameters of the optical charging anchor points according to the target relative positions;
and controlling the optical charging anchor point to charge the optical charging module according to the target working parameter.
2. The method of claim 1, wherein the target relative position parameters comprise a target relative angle and a target relative distance, wherein the target operating parameters comprise a target emission angle and a target emission power, and wherein determining the target operating parameters of the optical charging anchor point according to the target relative position comprises:
determining the target emission angle according to the target relative angle, wherein the target emission angle is used for guiding the emission light of the optical charging anchor point to be capable of facing the optical charging module;
determining an effective radiation area of the charging device for charging an optical charging module of the electronic equipment according to the target relative angle and the target relative distance, wherein the effective radiation area is a radiation area of an optical charging anchor point of the charging device irradiated on the optical charging module;
and determining the target transmitting power of the optical charging anchor point according to the target relative distance and the effective radiation area.
3. The method of claim 2, wherein determining the effective radiation area for the charging device to charge the optical charging module of the electronic device according to the target relative angle and the target relative distance comprises:
determining a target refraction angle of a diffusion sheet of the optical charging anchor point according to the target relative angle;
modeling according to the target refraction angle and the attribute information of the light source of the optical charging anchor point to obtain a target model;
and determining the effective radiation area of the charging device for charging an optical charging module of the electronic equipment according to the target model.
4. The method of claim 2, wherein said determining a target transmit power of said optical charging anchor as a function of said target relative distance and said effective radiating area comprises:
determining first transmitting power corresponding to the relative distance of the target according to a mapping relation between a preset distance and the transmitting power, wherein the first transmitting power corresponds to a preset radiation area;
determining a target adjusting coefficient according to the preset radiation area and the effective radiation area;
and adjusting the first transmitting power according to the target adjusting coefficient to obtain the target transmitting power.
5. The method according to any one of claims 1-4, further comprising:
when the target relative position parameter is smaller than a first distance, determining a target signal intensity value between the charging device and the electronic equipment;
and when the target signal intensity value is larger than a preset threshold value, executing the step of determining the target working parameters of the optical charging anchor point according to the target relative position.
6. The method of claim 5, wherein determining a target signal strength value between the charging device and the electronic device comprises:
determining a first signal strength value of the electronic device detected by the charging device relative to the charging device;
acquiring a second signal strength value of the charging device detected by the electronic equipment relative to the electronic equipment;
and determining the target signal strength value according to the first signal strength value and the second signal strength value.
7. The method according to any one of claims 1-6, further comprising:
receiving a charging request sent by the electronic device;
acquiring target identity information of the electronic equipment;
and when the target identity information is verified, executing the step of establishing the communication connection between the charging device and the electronic equipment.
8. A charging control device is applied to a charging device, and the charging device comprises a first UWB module and an optical charging anchor point; the charge control device includes: a communication unit, a determination unit and a control unit, wherein,
the communication unit is used for establishing communication connection between the charging device and electronic equipment, and the electronic equipment comprises a second UWB module and an optical charging module;
the determining unit is used for determining a target relative position parameter between the charging device and the electronic equipment through the first UWB module and the second UWB module; determining target working parameters of the optical charging anchor points according to the target relative positions;
the control unit is used for controlling the optical charging anchor point to charge the optical charging module according to the target working parameter.
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.
CN202011055885.7A 2020-09-29 2020-09-29 Charging control method, charging control device and storage medium Pending CN114336998A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
CN114336998A true CN114336998A (en) 2022-04-12

Family

ID=81011461

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN114336998A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115955628A (en) * 2023-02-06 2023-04-11 深圳市睿禾科技有限公司 Wireless charging method and device for Bluetooth headset and Bluetooth headset

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115955628A (en) * 2023-02-06 2023-04-11 深圳市睿禾科技有限公司 Wireless charging method and device for Bluetooth headset and Bluetooth headset
CN115955628B (en) * 2023-02-06 2023-08-11 深圳市睿禾科技有限公司 Wireless charging method and device of Bluetooth headset and Bluetooth headset

Similar Documents

Publication Publication Date Title
CN112040361B (en) Earphone control method, earphone control device and storage medium
CN111835530B (en) Group joining method and device
CN111553846B (en) Super-resolution processing method and device
CN111882642B (en) Texture filling method and device for three-dimensional model
CN111783375A (en) Chip system and related device
CN111768352B (en) Image processing method and device
CN113115439A (en) Positioning method and related equipment
CN113177229A (en) Data processing method and related device
CN114336998A (en) Charging control method, charging control device and storage medium
CN114244655B (en) Signal processing method and related device
CN111836226B (en) Data transmission control method, device and storage medium
WO2022111593A1 (en) Graphical user interface display method and apparatus
CN114465852A (en) Signal processing method and related device
CN114172596A (en) Channel noise detection method and related device
CN114630152A (en) Parameter transmission method and device for image processor and storage medium
CN114519891A (en) Backlight adjusting method and device and storage medium
CN114527903A (en) Key mapping method, electronic equipment and system
CN113311380B (en) Calibration method, device and storage medium
CN111865369B (en) Antenna control method, antenna control device and storage medium
CN115175164B (en) Communication control method and related device
CN114339607B (en) Ranging method, ranging device and storage medium
CN111459271B (en) Gaze offset error determination method and device
CN114630153B (en) Parameter transmission method and device for application processor and storage medium
CN114168115B (en) Communication system, application downloading method and device
CN114172282A (en) Charging control method, charging control 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